diff options
| author | Mathew Inwood <mathewi@google.com> | 2018-09-14 12:35:36 +0100 |
|---|---|---|
| committer | Mathew Inwood <mathewi@google.com> | 2018-09-14 13:18:34 +0100 |
| commit | 8c854f86a477fbbee38092f449333e1425e5cd7e (patch) | |
| tree | 239e7d9ab3df8fb5c663d860cb1ea4636e3afe31 /core/java/android/view/WindowManagerGlobal.java | |
| parent | d4bd94d644fbb8353ac362165963984e4c37d318 (diff) | |
Move some members to the "Q blacklist".
Based on some analysis, these fields/methods are likely false positives.
Set maxTargetSdk=P so that any apps using them are required to migrate off
them in future. See the bug for more details.
Exempted-From-Owner-Approval: Automatic changes to the codebase
affecting only @UnsupportedAppUsage annotations, themselves added
without requiring owners approval earlier.
Bug: 115609023
Test: m
Change-Id: I719b5c94e5b1f4fa562dd5d655953422958ad37e
Diffstat (limited to 'core/java/android/view/WindowManagerGlobal.java')
| -rw-r--r-- | core/java/android/view/WindowManagerGlobal.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/view/WindowManagerGlobal.java b/core/java/android/view/WindowManagerGlobal.java index d810067c38de..4ca9a141fd23 100644 --- a/core/java/android/view/WindowManagerGlobal.java +++ b/core/java/android/view/WindowManagerGlobal.java @@ -23,6 +23,7 @@ import android.content.ComponentCallbacks2; import android.content.Context; import android.content.pm.ApplicationInfo; import android.content.res.Configuration; +import android.os.Build; import android.os.IBinder; import android.os.RemoteException; import android.os.ServiceManager; @@ -213,7 +214,7 @@ public final class WindowManagerGlobal { } } - @UnsupportedAppUsage + @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 115609023) public static IWindowSession peekWindowSession() { synchronized (WindowManagerGlobal.class) { return sWindowSession; |
