Merge "Fix mismatched parameter of font scale change" into rvc-dev am: 5580360ba8
Change-Id: I0886007c4f60821b87bff68b30654302a6e603c7
This commit is contained in:
@@ -680,7 +680,9 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onChange(boolean selfChange, Uri uri, @UserIdInt int userId) {
|
public void onChange(boolean selfChange, Iterable<Uri> uris, int flags,
|
||||||
|
@UserIdInt int userId) {
|
||||||
|
for (Uri uri : uris) {
|
||||||
if (mFontScaleUri.equals(uri)) {
|
if (mFontScaleUri.equals(uri)) {
|
||||||
updateFontScaleIfNeeded(userId);
|
updateFontScaleIfNeeded(userId);
|
||||||
} else if (mHideErrorDialogsUri.equals(uri)) {
|
} else if (mHideErrorDialogsUri.equals(uri)) {
|
||||||
@@ -690,6 +692,7 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/** Indicates that the method may be invoked frequently or is sensitive to performance. */
|
/** Indicates that the method may be invoked frequently or is sensitive to performance. */
|
||||||
@Target(ElementType.METHOD)
|
@Target(ElementType.METHOD)
|
||||||
|
|||||||
Reference in New Issue
Block a user