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

Commit efdf869b authored by Siim Sammul's avatar Siim Sammul Committed by Automerger Merge Worker
Browse files

Merge "Change settings observer for other processes to not pass a userhandle." am: b0f9a11a

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1718235

Change-Id: Icfe212d6929b6127493d24ff65acc560acbaec5a
parents aa535537 b0f9a11a
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -933,11 +933,10 @@ public class BinderCallsStats implements BinderInternal.Observer {
        private final int mProcessSource;

        public SettingsObserver(Context context, BinderCallsStats binderCallsStats,
                    int processSource, int userHandle) {
                    int processSource) {
            super(BackgroundThread.getHandler());
            mContext = context;
            context.getContentResolver().registerContentObserver(mUri, false, this,
                    userHandle);
            context.getContentResolver().registerContentObserver(mUri, false, this);
            mBinderCallsStats = binderCallsStats;
            mProcessSource = processSource;
            // Always kick once to ensure that we match current state