diff options
| author | Adrian Roos <roosa@google.com> | 2015-02-18 17:25:23 +0100 |
|---|---|---|
| committer | Adrian Roos <roosa@google.com> | 2015-02-18 20:09:42 +0100 |
| commit | cd3884dfb246855c059e15db376f0935af68d949 (patch) | |
| tree | 615549638423f997d280970d43d11e52a1725adb /core/java | |
| parent | 86a0af099e1d6c683da8b340fc86942ef20e546a (diff) | |
Set the light status flag based on right window
The flag needs to be set based on the top window that is either
reaching beneath the status bar or is dimming.
Bug: 19233606
Change-Id: I7b97f6869e3b7d5ae2b7030122b311ee9e13871f
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/view/WindowManagerPolicy.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/view/WindowManagerPolicy.java b/core/java/android/view/WindowManagerPolicy.java index 3f3561250f8c..9199af1041be 100644 --- a/core/java/android/view/WindowManagerPolicy.java +++ b/core/java/android/view/WindowManagerPolicy.java @@ -365,6 +365,11 @@ public interface WindowManagerPolicy { * @return true if window is on default display. */ public boolean isDefaultDisplay(); + + /** + * Check whether the window is currently dimming. + */ + public boolean isDimming(); } /** |
