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 /core/java/android/view/WindowManager.java | |
| parent | aaf39f84063b8fee51bcdb0731d68c328b6a3c3d (diff) | |
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 'core/java/android/view/WindowManager.java')
| -rw-r--r-- | core/java/android/view/WindowManager.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/core/java/android/view/WindowManager.java b/core/java/android/view/WindowManager.java index e3ed91e414ae..eebbc931d0a3 100644 --- a/core/java/android/view/WindowManager.java +++ b/core/java/android/view/WindowManager.java @@ -584,19 +584,6 @@ public interface WindowManager extends ViewManager { */ public static final int FLAG_DISMISS_KEYGUARD = 0x00400000; - /** Window flag: This window corresponds to an immersive activity - * that wishes not to be interrupted with notifications. In general, - * applications may simply hide the status bar with - * {@link #FLAG_FULLSCREEN} to suppress most notifications, but will - * still be interrupted by those with - * {@link android.app.Notification#fullScreenIntent fullScreenIntent} - * set (example: an incoming call). Setting {@link #FLAG_IMMERSIVE} - * will suppress the full-screen intent and show the status bar - * briefly for those important notifications instead. - * {@see android.app.Notification#FLAG_HIGH_PRIORITY} - */ - public static final int FLAG_IMMERSIVE = 0x00800000; - /** Window flag: *sigh* The lock screen wants to continue running its * animation while it is fading. A kind-of hack to allow this. Maybe * in the future we just make this the default behavior. |
