Merge "Remove redundant lockscreen shown check" into oc-dev am: 90c3489525

am: 9af8f27ef9

Change-Id: I510e2df0d5f55df6f2f3864273fec2b07844ba45
This commit is contained in:
lei.xa.liu
2017-04-25 04:42:12 +00:00
committed by android-build-merger

View File

@@ -2219,11 +2219,6 @@ final class TaskRecord extends ConfigurationContainer implements TaskWindowConta
/** Returns the bounds that should be used to launch this task. */
Rect getLaunchBounds() {
// If we're over lockscreen, forget about stack bounds and use fullscreen.
if (mService.mStackSupervisor.mKeyguardController.isKeyguardShowing()) {
return null;
}
if (mStack == null) {
return null;
}