Merge "Derestrict Resources.getDisplayAdjustments()." am: ea01ff86d0

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If2068d4d13671f8431627c1edbd8814d590b96ad
This commit is contained in:
Mathew Inwood
2021-01-07 10:10:38 +00:00
committed by Automerger Merge Worker

View File

@@ -2057,7 +2057,7 @@ public class Resources {
} }
/** @hide */ /** @hide */
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553) @UnsupportedAppUsage(trackingBug = 176190631)
public DisplayAdjustments getDisplayAdjustments() { public DisplayAdjustments getDisplayAdjustments() {
final DisplayAdjustments overrideDisplayAdjustments = mOverrideDisplayAdjustments; final DisplayAdjustments overrideDisplayAdjustments = mOverrideDisplayAdjustments;
if (overrideDisplayAdjustments != null) { if (overrideDisplayAdjustments != null) {