Merge "Remove redundant lockscreen shown check" into oc-dev
am: 90c3489525
Change-Id: I77f82bcd38a0cb16226d58a5731c76a630c7e3be
This commit is contained in:
@@ -2212,11 +2212,6 @@ final class TaskRecord extends ConfigurationContainer implements TaskWindowConta
|
|||||||
|
|
||||||
/** Returns the bounds that should be used to launch this task. */
|
/** Returns the bounds that should be used to launch this task. */
|
||||||
Rect getLaunchBounds() {
|
Rect getLaunchBounds() {
|
||||||
// If we're over lockscreen, forget about stack bounds and use fullscreen.
|
|
||||||
if (mService.mStackSupervisor.mKeyguardController.isKeyguardShowing()) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (mStack == null) {
|
if (mStack == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user