diff options
| author | Andrii Kulian <akulian@google.com> | 2019-03-01 22:50:28 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-03-01 22:50:28 +0000 |
| commit | ddecd74c635acb7a6bc9a20a9cc0b4c61795e99b (patch) | |
| tree | ddf1d6d5681bd6a0534d14966efd6565b2657e8d /core/java/android/view/Display.java | |
| parent | ff6fd9b1e7240a5944fb1a82a0abaa8f256af016 (diff) | |
| parent | 643bf13f602373a34271371088bf4d39373a099a (diff) | |
Merge changes from topic "wm_decor_status"
* changes:
Notify the WMS when the display content is ready.
Read system decor support status from WM
Diffstat (limited to 'core/java/android/view/Display.java')
| -rw-r--r-- | core/java/android/view/Display.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/core/java/android/view/Display.java b/core/java/android/view/Display.java index 91c85e79c9ec..dbb207196f15 100644 --- a/core/java/android/view/Display.java +++ b/core/java/android/view/Display.java @@ -21,7 +21,6 @@ import static android.Manifest.permission.CONFIGURE_DISPLAY_COLOR_MODE; import android.annotation.IntDef; import android.annotation.Nullable; import android.annotation.RequiresPermission; -import android.annotation.TestApi; import android.annotation.UnsupportedAppUsage; import android.app.KeyguardManager; import android.content.res.CompatibilityInfo; @@ -231,7 +230,6 @@ public final class Display { * bar, navigation bar, home activity or IME. * </p> * - * @see #supportsSystemDecorations * @hide */ // TODO (b/114338689): Remove the flag and use IWindowManager#setShouldShowSystemDecors @@ -907,18 +905,6 @@ public final class Display { } /** - * Returns whether this display should support showing system decorations. - * - * @see #FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS - * @hide - */ - @TestApi - // TODO (b/114338689): Remove the method and use IWindowManager#shouldShowSystemDecors - public boolean supportsSystemDecorations() { - return (mDisplayInfo.flags & FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS) != 0; - } - - /** * Returns the display's HDR capabilities. * * @see #isHdr() |
