Merge "Fix mismatched parameter of font scale change" into rvc-dev am: 5580360ba8 am: 2694d3ca71
Change-Id: I00b748e113635b7019c175fc138902237c6e7e89
This commit is contained in:
@@ -680,12 +680,15 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onChange(boolean selfChange, Uri uri, @UserIdInt int userId) {
|
||||
if (mFontScaleUri.equals(uri)) {
|
||||
updateFontScaleIfNeeded(userId);
|
||||
} else if (mHideErrorDialogsUri.equals(uri)) {
|
||||
synchronized (mGlobalLock) {
|
||||
updateShouldShowDialogsLocked(getGlobalConfiguration());
|
||||
public void onChange(boolean selfChange, Iterable<Uri> uris, int flags,
|
||||
@UserIdInt int userId) {
|
||||
for (Uri uri : uris) {
|
||||
if (mFontScaleUri.equals(uri)) {
|
||||
updateFontScaleIfNeeded(userId);
|
||||
} else if (mHideErrorDialogsUri.equals(uri)) {
|
||||
synchronized (mGlobalLock) {
|
||||
updateShouldShowDialogsLocked(getGlobalConfiguration());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user