Files
frameworks_base/core/java/android/app
Pavel Grafov 746e1341c3 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
2020-01-24 11:50:42 +00:00
..
2020-01-22 09:27:49 -08:00
2019-11-11 16:12:46 -08:00
2020-01-22 18:30:29 -08:00
2019-10-17 14:15:07 -07:00
2020-01-22 18:30:29 -08:00