summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2010-06-23 16:29:36 -0400
committerDaniel Sandler <dsandler@android.com>2010-06-23 16:29:36 -0400
commit69a4817e3e1e368e758ff8c238deb5ee26963c04 (patch)
tree3eaed1f053b09daabf84854acb3155216543a102 /api
parentefbe2d78ee5e26b6606c8552a5c1ac70749a5013 (diff)
downloadframeworks_base-69a4817e3e1e368e758ff8c238deb5ee26963c04.zip
frameworks_base-69a4817e3e1e368e758ff8c238deb5ee26963c04.tar.gz
frameworks_base-69a4817e3e1e368e758ff8c238deb5ee26963c04.tar.bz2
Immersive activity API.
An Activity can declare itself to be "immersive" either by setting android:immersive="true" in AndroidManifest or by calling setImmersive(true). Immersive activities "should" not be interrupted, for example by Notifications with an associated fullScreenIntent. (In the future we may even prevent any non-system application from successfully calling startActivity() if the foreground activity is immersive.) Notifications with FLAG_HIGH_PRIORITY set will be shown to the user in some less-obtrusive way if the frontmost activity is immersive. Change-Id: I8d0c25cc4e22371c27cbf2bb6372d2c95d57b2d7
Diffstat (limited to 'api')
-rw-r--r--api/current.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml
index 628cb66..37538c3 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -19543,6 +19543,17 @@
visibility="public"
>
</method>
+<method name="isImmersive"
+ return="boolean"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
<method name="isTaskRoot"
return="boolean"
abstract="false"
@@ -20496,6 +20507,19 @@
<parameter name="uri" type="android.net.Uri">
</parameter>
</method>
+<method name="setImmersive"
+ return="void"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<parameter name="i" type="boolean">
+</parameter>
+</method>
<method name="setIntent"
return="void"
abstract="false"