diff options
author | Joe Onorato <joeo@google.com> | 2011-01-23 17:53:23 -0800 |
---|---|---|
committer | Joe Onorato <joeo@google.com> | 2011-01-23 19:22:52 -0800 |
commit | 664644d9e012aa2a28ac96f305b1ce6499ec8806 (patch) | |
tree | d8db43b09de516fefd82adf4fc4ec22417dda648 /tools | |
parent | fac86056b285bf59c1c3e774f1cb9f6de0be59ba (diff) | |
download | frameworks_base-664644d9e012aa2a28ac96f305b1ce6499ec8806.zip frameworks_base-664644d9e012aa2a28ac96f305b1ce6499ec8806.tar.gz frameworks_base-664644d9e012aa2a28ac96f305b1ce6499ec8806.tar.bz2 |
visibility ("lights out") API.
1. Views may setSystemUiVisibility() to recommend that
the system chrome (status bar or other UI) show or hide
itself. (This functionality was previously available only
via the FLAG_FULLSCREEN window flag for some SystemUI
implementations.)
2. Views may register a OnSystemUiVisibilityChangedListener
on a view, and find out when the system UI actually
appears or disappears, allowing apps to coordinate the
appearance of their own UI if desired.
Bug: 3241144
Change-Id: Ia1758d94099182d49a1e3688ea2738ae4995b829
Diffstat (limited to 'tools')
-rw-r--r-- | tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java index 4a7ab58..a8da377 100644 --- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java +++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindow.java @@ -86,6 +86,10 @@ public final class BridgeWindow implements IWindow { // pass for now. } + public void dispatchSystemUiVisibilityChanged(int visibility) { + // pass for now. + } + public IBinder asBinder() { // pass for now. return null; |