Merge "Fix doc for FLAG_DISMISS_KEYGUARD" into oc-dev am: 39608b8556

am: 11a99404ce

Change-Id: I400130c5126d718d71be7daf5e0685f44eaebd27
This commit is contained in:
Jorim Jaggi
2017-04-12 05:29:17 +00:00
committed by android-build-merger

View File

@@ -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;