summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2010-06-17 10:45:00 -0400
committerDaniel Sandler <dsandler@android.com>2010-06-17 11:43:35 -0400
commit611fae4c39edbeb23b53f789a0219c539cf32fa6 (patch)
tree7c291d737d47e4a2dfd115738bfb1ef0f978f2f0 /api
parente46cbd379a3c19708c7f7e5d3f35e2c596de0c46 (diff)
downloadframeworks_base-611fae4c39edbeb23b53f789a0219c539cf32fa6.zip
frameworks_base-611fae4c39edbeb23b53f789a0219c539cf32fa6.tar.gz
frameworks_base-611fae4c39edbeb23b53f789a0219c539cf32fa6.tar.bz2
New API for "immersive" activity windows.
An "immersive" activity (as indicated by the new FLAG_IMMERSIVE) is one that wishes to avoid being paused by full-screen notifications (like an incoming call). An activity that sets FLAG_IMMERSIVE on its window is sending a signal to the notification manager, status bar, etc. that they should try to find some other way to get the user's attention in high-priority situations. FLAG_IMMERSIVE should be used exclusively in conjunction with FLAG_FULL_SCREEN (that is, only activities that hide the status bar should consider themselves immersive). Change-Id: Ie290c2e92fc391bcf55edfdb1fbd626cd284e3e2
Diffstat (limited to 'api')
-rw-r--r--api/current.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml
index 9a15cfb..0db40ce 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -188146,6 +188146,16 @@
visibility="public"
>
</field>
+<field name="FLAG_IMMERSIVE"
+ type="int"
+ transient="false"
+ volatile="false"
+ value="8388608"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
</field>
<field name="FLAG_KEEP_SCREEN_ON"
type="int"