diff options
| author | 2017-04-11 15:55:57 -0700 | |
|---|---|---|
| committer | 2017-04-11 15:55:57 -0700 | |
| commit | 9fc2870679188eacb26662623820c3df84d2594c (patch) | |
| tree | d4b61090613159bd9a04fb60e113ab39e2cb5b7b | |
| parent | 3f1febbedb31925d2684d07e3a2e2600088f4262 (diff) | |
Fix doc for FLAG_DISMISS_KEYGUARD
Test: n/a
Change-Id: I7e8b0e22895e5efe839dc0f73bcfda6a67f52026
Fix: 36023803
| -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; |