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

Commit c07b6d26 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Initialize content resolver in ctor" into sc-v2-dev

parents be3a345b f936d829
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -109,6 +109,7 @@ public final class NavBarHelper implements
            UserTracker userTracker,
            DumpManager dumpManager) {
        mContext = context;
        mContentResolver = mContext.getContentResolver();
        mAccessibilityManager = accessibilityManager;
        mAssistManagerLazy = assistManagerLazy;
        mStatusBarOptionalLazy = statusBarOptionalLazy;
@@ -124,7 +125,6 @@ public final class NavBarHelper implements
    }

    public void init() {
        mContentResolver = mContext.getContentResolver();
        mContentResolver.registerContentObserver(
                Settings.Secure.getUriFor(Settings.Secure.ASSISTANT),
                false /* notifyForDescendants */, mAssistContentObserver, UserHandle.USER_ALL);