diff options
author | Daniel Sandler <dsandler@android.com> | 2010-06-21 13:46:39 -0400 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2010-06-22 12:30:12 -0400 |
commit | 613dde4aa651e11dac3db859723cc6faf8fc0a82 (patch) | |
tree | 8a2d010ff13c104c675ea157c4f677bfa55da231 /api | |
parent | aaf39f84063b8fee51bcdb0731d68c328b6a3c3d (diff) | |
download | frameworks_base-613dde4aa651e11dac3db859723cc6faf8fc0a82.zip frameworks_base-613dde4aa651e11dac3db859723cc6faf8fc0a82.tar.gz frameworks_base-613dde4aa651e11dac3db859723cc6faf8fc0a82.tar.bz2 |
Revised "immersive mode" API.
No longer a window bit, FLAG_IMMERSIVE is now set on
ActivityInfo.flags and in the Activity's manifest as
android:immersive="true" (ActivityInfo).
[An "immersive" activity is one that wishes to avoid being
paused by full-screen notifications (like an incoming call).
An activity that sets FLAG_IMMERSIVE/android:immersive 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.]
[Originally: change Ie290c2e.]
Change-Id: I967bb10b930b8f0772b10f81f2957a03fa3f1736
Diffstat (limited to 'api')
-rw-r--r-- | api/current.xml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/api/current.xml b/api/current.xml index 78e0e40..a21f42b 100644 --- a/api/current.xml +++ b/api/current.xml @@ -45952,6 +45952,17 @@ visibility="public" > </field> +<field name="FLAG_IMMERSIVE" + type="int" + transient="false" + volatile="false" + value="512" + static="true" + final="true" + deprecated="not deprecated" + visibility="public" +> +</field> <field name="FLAG_MULTIPROCESS" type="int" transient="false" @@ -188188,17 +188199,6 @@ 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" transient="false" |