Move service initialization am: d262fa6af7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18589618 Change-Id: I476dc635c496be524d46e61dc58a19f39c4534b7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2045,7 +2045,6 @@ public class NotificationManagerService extends SystemService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private LockPatternUtils mLockPatternUtils;
|
|
||||||
private StrongAuthTracker mStrongAuthTracker;
|
private StrongAuthTracker mStrongAuthTracker;
|
||||||
|
|
||||||
public NotificationManagerService(Context context) {
|
public NotificationManagerService(Context context) {
|
||||||
@@ -2262,7 +2261,6 @@ public class NotificationManagerService extends SystemService {
|
|||||||
ServiceManager.getService(Context.PLATFORM_COMPAT_SERVICE));
|
ServiceManager.getService(Context.PLATFORM_COMPAT_SERVICE));
|
||||||
|
|
||||||
mUiHandler = new Handler(UiThread.get().getLooper());
|
mUiHandler = new Handler(UiThread.get().getLooper());
|
||||||
mLockPatternUtils = new LockPatternUtils(getContext());
|
|
||||||
mStrongAuthTracker = new StrongAuthTracker(getContext());
|
mStrongAuthTracker = new StrongAuthTracker(getContext());
|
||||||
String[] extractorNames;
|
String[] extractorNames;
|
||||||
try {
|
try {
|
||||||
@@ -2746,7 +2744,7 @@ public class NotificationManagerService extends SystemService {
|
|||||||
bubbsExtractor.setShortcutHelper(mShortcutHelper);
|
bubbsExtractor.setShortcutHelper(mShortcutHelper);
|
||||||
}
|
}
|
||||||
registerNotificationPreferencesPullers();
|
registerNotificationPreferencesPullers();
|
||||||
mLockPatternUtils.registerStrongAuthTracker(mStrongAuthTracker);
|
new LockPatternUtils(getContext()).registerStrongAuthTracker(mStrongAuthTracker);
|
||||||
} else if (phase == SystemService.PHASE_THIRD_PARTY_APPS_CAN_START) {
|
} else if (phase == SystemService.PHASE_THIRD_PARTY_APPS_CAN_START) {
|
||||||
// This observer will force an update when observe is called, causing us to
|
// This observer will force an update when observe is called, causing us to
|
||||||
// bind to listener services.
|
// bind to listener services.
|
||||||
|
|||||||
Reference in New Issue
Block a user