commit | 746e1341c389fc90efbda541ccd6b8b6a27de18f | [log] [tgz] |
---|---|---|
author | Pavel Grafov <pgrafov@google.com> | Tue Jan 21 16:56:23 2020 +0000 |
committer | Pavel Grafov <pgrafov@google.com> | Fri Jan 24 11:50:42 2020 +0000 |
tree | 091d7bc3789d99b79724bb8e2cd29e58dee6e8df | |
parent | 03e931d33024dbcfeb26e6c922bb7347f2097bbe [diff] |
Add API to limit maximum time the profile can be turned off. If this policy is set: * Whenever work profile gets turned off or system boots, timer is started, so theat unless the profile is unlocked in time, apps will be suspended. * when the user is unlocked, alarm is discharged. Currently there is no upfront warning notification, will be addressed in a follow-up. Bug: 143517719 Test: manual, using TestDPC Change-Id: Ib0f936b6d1414f65ae8c86367b7059c14862827d