commit | 6b94ea477f8f6c29fee301ebbb8e3a3231c3332e | [log] [tgz] |
---|---|---|
author | Felipe Leme <felipeal@google.com> | Tue Nov 03 14:10:03 2020 -0800 |
committer | Felipe Leme <felipeal@google.com> | Wed Nov 11 11:04:36 2020 -0800 |
tree | 23dcc32112260133ab7937e797e3dfb40f13250b | |
parent | 7df723dd698b8bfb4d79d7dfab7a76c0691244e3 [diff] |
Initial definition of DevicePolicySafetyChecker. This object will be used to fail DevicePolicyManagers that cannot be executed on automotive when it's not safe to (for example, because the vehicle is moving). Test: atest CarDevicePolicyManagerTest#testLockNow_safe \ CarDevicePolicyManagerTest#testLockNow_unsafe Bug: 172376923 Change-Id: I7f910a7ee5efc7d647525db1687bd27e68cb7c0a