Do not call notification manager with lock held
Test: None Change-Id: I3362ba3de2b0a827d09ac9685f14221c32c58403
This commit is contained in:
@@ -18435,9 +18435,9 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
|
||||
.addExtras(extras)
|
||||
.build();
|
||||
|
||||
mInjector.getNotificationManager().notifyAsUser(
|
||||
mHandler.post(() -> mInjector.getNotificationManager().notifyAsUser(
|
||||
null, SystemMessage.NOTE_PERSONAL_APPS_SUSPENDED, notification,
|
||||
UserHandle.of(getProfileParentId(profileUserId)));
|
||||
UserHandle.of(getProfileParentId(profileUserId))));
|
||||
}
|
||||
|
||||
private String getPersonalAppSuspensionButtonText() {
|
||||
|
||||
Reference in New Issue
Block a user