summaryrefslogtreecommitdiffstats
path: root/policy
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2013-05-21 17:19:53 -0400
committerJohn Spurlock <jspurlock@google.com>2013-05-28 13:09:23 -0400
commitdcf4f2146097eeae6991e6131e5ae96b33fbeda9 (patch)
tree65b4e52a12595dd7678a92ec91888ad52f70469e /policy
parentdadfb9c9bfe17eb99a4891af0fe4eed7166f0b86 (diff)
downloadframeworks_base-dcf4f2146097eeae6991e6131e5ae96b33fbeda9.zip
frameworks_base-dcf4f2146097eeae6991e6131e5ae96b33fbeda9.tar.gz
frameworks_base-dcf4f2146097eeae6991e6131e5ae96b33fbeda9.tar.bz2
Hideybars feature confirmation toast bar.
Enhance Toast to support new standard toast bar style, similar to the undo bar in Gmail. Toast bars can be interactive, and can have a single action. Add a new toast duration to indicate persistent toasts (no auto-hide delay). Use the new toast bar to implement a feature hint when hiding the navigation bar in hideybars mode. Per UX, the feature confirmation bar can also be dismissed on any outside touch as long as the user confirmed it using the OK button at least once globally. Bug: 8754108 Change-Id: Iaa85d3b4da7ada1952a562f1e31de04380f5d587
Diffstat (limited to 'policy')
-rw-r--r--policy/src/com/android/internal/policy/impl/PhoneWindowManager.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
index 85121fe..dae195a 100644
--- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
+++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
@@ -1345,7 +1345,6 @@ public class PhoneWindowManager implements WindowManagerPolicy {
switch (attrs.type) {
case TYPE_SYSTEM_OVERLAY:
case TYPE_SECURE_SYSTEM_OVERLAY:
- case TYPE_TOAST:
// These types of windows can't receive input events.
attrs.flags |= WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
| WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;