Don't post notification with lock held
Fixes: 233034364 Test: CtsDevicePolicyTestCases Change-Id: I3b7a6b0306f45eb57729bb483333dd34785acca4
This commit is contained in:
@@ -12517,8 +12517,8 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
|
||||
.setContentIntent(locationSettingsIntent)
|
||||
.setAutoCancel(true)
|
||||
.build();
|
||||
mInjector.getNotificationManager().notify(SystemMessage.NOTE_LOCATION_CHANGED,
|
||||
notification);
|
||||
mHandler.post(() -> mInjector.getNotificationManager().notify(
|
||||
SystemMessage.NOTE_LOCATION_CHANGED, notification));
|
||||
}
|
||||
|
||||
private String getLocationChangedTitle() {
|
||||
|
||||
Reference in New Issue
Block a user