Derestrict Resources.getDisplayAdjustments().
Usage has been discovered by an app so reverting this to its previous
state. This is conceptually a partial revert of change 5d123b6775.
NoNonSdkCheck: b/170729553
Bug: 176190631
Test: Treehugger
Change-Id: I35a853360231a17aa95c4816de308c85d040ad40
This commit is contained in:
@@ -2057,7 +2057,7 @@ public class Resources {
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553)
|
||||
@UnsupportedAppUsage(trackingBug = 176190631)
|
||||
public DisplayAdjustments getDisplayAdjustments() {
|
||||
final DisplayAdjustments overrideDisplayAdjustments = mOverrideDisplayAdjustments;
|
||||
if (overrideDisplayAdjustments != null) {
|
||||
|
||||
Reference in New Issue
Block a user