+263
−291
File changed.
Preview size limit exceeded, changes collapsed.
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Previously in case when the personal apps are suspended as a result of work profile off timeout, ACTION_CHECK_POLICY_COMPLIANCE would only be triggered if the user taps on the notificaiton. With this change it is triggered also when the user uses any other way to turn the profile on. Instead of attempting to invoke policy compliance check, the notification now turns the profile on. And once it is unlocked, policy compliance check is triggered. Also, made "apps suspended" notification non-dismissable. Bug: 151439078 Bug: 149075510 Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest Change-Id: I84e5a13995af78992f22568a3a87e7d96af1a3be
File changed.
Preview size limit exceeded, changes collapsed.