Merge "(Take two) Do not hold lock when calling into NotificationManager" into sc-dev am: ac77fab34c am: b4dbaaf200
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15284691 Change-Id: I422795b6a13ac5c5f7d224cd39f434e52bd1463a
This commit is contained in:
@@ -15019,10 +15019,11 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
|
||||
}
|
||||
if (active) {
|
||||
if (shouldSendNotification) {
|
||||
sendNetworkLoggingNotification();
|
||||
mHandler.post(() -> sendNetworkLoggingNotification());
|
||||
}
|
||||
} else {
|
||||
mInjector.getNotificationManager().cancel(SystemMessage.NOTE_NETWORK_LOGGING);
|
||||
mHandler.post(() -> mInjector.getNotificationManager().cancel(
|
||||
SystemMessage.NOTE_NETWORK_LOGGING));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user