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

Commit 8ae47ac5 authored by Julia Reynolds's avatar Julia Reynolds Committed by Automerger Merge Worker
Browse files

Move service initialization am: d262fa6a

parents bbef4c09 d262fa6a
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -2045,7 +2045,6 @@ public class NotificationManagerService extends SystemService {
        }
    }

    private LockPatternUtils mLockPatternUtils;
    private StrongAuthTracker mStrongAuthTracker;

    public NotificationManagerService(Context context) {
@@ -2262,7 +2261,6 @@ public class NotificationManagerService extends SystemService {
                ServiceManager.getService(Context.PLATFORM_COMPAT_SERVICE));

        mUiHandler = new Handler(UiThread.get().getLooper());
        mLockPatternUtils = new LockPatternUtils(getContext());
        mStrongAuthTracker = new StrongAuthTracker(getContext());
        String[] extractorNames;
        try {
@@ -2746,7 +2744,7 @@ public class NotificationManagerService extends SystemService {
                bubbsExtractor.setShortcutHelper(mShortcutHelper);
            }
            registerNotificationPreferencesPullers();
            mLockPatternUtils.registerStrongAuthTracker(mStrongAuthTracker);
            new LockPatternUtils(getContext()).registerStrongAuthTracker(mStrongAuthTracker);
        } else if (phase == SystemService.PHASE_THIRD_PARTY_APPS_CAN_START) {
            // This observer will force an update when observe is called, causing us to
            // bind to listener services.