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

Commit a97f4160 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Don't post notification with lock held

Fixes: 233034364
Test: CtsDevicePolicyTestCases
Change-Id: I3b7a6b0306f45eb57729bb483333dd34785acca4
parent f2c4edde
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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() {