diff options
| author | Daniel Sandler <dsandler@android.com> | 2012-10-19 16:44:15 -0400 |
|---|---|---|
| committer | Daniel Sandler <dsandler@android.com> | 2012-10-19 16:48:12 -0400 |
| commit | d5483c3157a28e2ebc05a0c918df8a2be0a7fc89 (patch) | |
| tree | 7dfcfb6021bd0e0caf60be9f5a275203b961c202 /core/java | |
| parent | a1f739ea83b6d770b8469ae1c2c4161f6fe96334 (diff) | |
| download | frameworks_base-d5483c3157a28e2ebc05a0c918df8a2be0a7fc89.zip frameworks_base-d5483c3157a28e2ebc05a0c918df8a2be0a7fc89.tar.gz frameworks_base-d5483c3157a28e2ebc05a0c918df8a2be0a7fc89.tar.bz2 | |
New lockscreen: allow search gesture from nav bar.
Show a lights-out pip if home is invisible but search is
still OK.
Change-Id: Ifc69c12296cc8e8cf7c89dd06173d7abf499a878
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/app/StatusBarManager.java | 4 | ||||
| -rw-r--r-- | core/java/android/view/View.java | 11 |
2 files changed, 14 insertions, 1 deletions
diff --git a/core/java/android/app/StatusBarManager.java b/core/java/android/app/StatusBarManager.java index 3d656c7..829b80c 100644 --- a/core/java/android/app/StatusBarManager.java +++ b/core/java/android/app/StatusBarManager.java @@ -45,6 +45,7 @@ public class StatusBarManager { public static final int DISABLE_RECENT = View.STATUS_BAR_DISABLE_RECENT; public static final int DISABLE_BACK = View.STATUS_BAR_DISABLE_BACK; public static final int DISABLE_CLOCK = View.STATUS_BAR_DISABLE_CLOCK; + public static final int DISABLE_SEARCH = View.STATUS_BAR_DISABLE_SEARCH; @Deprecated public static final int DISABLE_NAVIGATION = @@ -54,7 +55,8 @@ public class StatusBarManager { public static final int DISABLE_MASK = DISABLE_EXPAND | DISABLE_NOTIFICATION_ICONS | DISABLE_NOTIFICATION_ALERTS | DISABLE_NOTIFICATION_TICKER - | DISABLE_SYSTEM_INFO | DISABLE_RECENT | DISABLE_HOME | DISABLE_BACK | DISABLE_CLOCK; + | DISABLE_SYSTEM_INFO | DISABLE_RECENT | DISABLE_HOME | DISABLE_BACK | DISABLE_CLOCK + | DISABLE_SEARCH; public static final int NAVIGATION_HINT_BACK_NOP = 1 << 0; public static final int NAVIGATION_HINT_HOME_NOP = 1 << 1; diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index b36db7f..6360242 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -2452,6 +2452,17 @@ public class View implements Drawable.Callback, KeyEvent.Callback, /** * @hide + * + * NOTE: This flag may only be used in subtreeSystemUiVisibility. It is masked + * out of the public fields to keep the undefined bits out of the developer's way. + * + * Flag to disable the global search gesture. Don't use this + * unless you're a special part of the system UI (i.e., setup wizard, keyguard). + */ + public static final int STATUS_BAR_DISABLE_SEARCH = 0x02000000; + + /** + * @hide */ public static final int PUBLIC_STATUS_BAR_VISIBILITY_MASK = 0x0000FFFF; |
