Merge "Remove redundant lockscreen shown check" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
90c3489525
@@ -2212,11 +2212,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user