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

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

Change-Id: Icfe212d6929b6127493d24ff65acc560acbaec5a
This commit is contained in:
Siim Sammul
2021-05-26 13:17:00 +00:00
committed by Automerger Merge Worker

View File

@@ -933,11 +933,10 @@ public class BinderCallsStats implements BinderInternal.Observer {
private final int mProcessSource; private final int mProcessSource;
public SettingsObserver(Context context, BinderCallsStats binderCallsStats, public SettingsObserver(Context context, BinderCallsStats binderCallsStats,
int processSource, int userHandle) { int processSource) {
super(BackgroundThread.getHandler()); super(BackgroundThread.getHandler());
mContext = context; mContext = context;
context.getContentResolver().registerContentObserver(mUri, false, this, context.getContentResolver().registerContentObserver(mUri, false, this);
userHandle);
mBinderCallsStats = binderCallsStats; mBinderCallsStats = binderCallsStats;
mProcessSource = processSource; mProcessSource = processSource;
// Always kick once to ensure that we match current state // Always kick once to ensure that we match current state