Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22da1787 authored by Rubin Xu's avatar Rubin Xu
Browse files

Do not call notification manager with lock held

Test: None
Change-Id: I3362ba3de2b0a827d09ac9685f14221c32c58403
parent d170d07b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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() {