diff options
| author | 2017-04-12 05:10:59 +0000 | |
|---|---|---|
| committer | 2017-04-12 05:11:03 +0000 | |
| commit | 39608b85564d37d170fde5590ddf4c76c878d104 (patch) | |
| tree | 6180826d32ca238756df068671c879085525fb58 | |
| parent | a609bbc9c4e1614eca7e70cb90739486f745e5c7 (diff) | |
| parent | 9fc2870679188eacb26662623820c3df84d2594c (diff) | |
Merge "Fix doc for FLAG_DISMISS_KEYGUARD" into oc-dev
| -rw-r--r-- | core/java/android/view/WindowManager.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/view/WindowManager.java b/core/java/android/view/WindowManager.java index 666ccf486941..8445b37b8133 100644 --- a/core/java/android/view/WindowManager.java +++ b/core/java/android/view/WindowManager.java @@ -978,8 +978,9 @@ public interface WindowManager extends ViewManager { * seeing this window, unless {@link #FLAG_SHOW_WHEN_LOCKED} has * also been set. * @deprecated Use {@link #FLAG_SHOW_WHEN_LOCKED} or {@link KeyguardManager#dismissKeyguard} - * instead. The Keyguard should never be dismissed automatically repeatedly as it also - * guards against unintentional touches. + * instead. Since keyguard was dismissed all the time as long as an activity with this flag + * on its window was focused, keyguard couldn't guard against unintentional touches on the + * screen, which isn't desired. */ @Deprecated public static final int FLAG_DISMISS_KEYGUARD = 0x00400000; |