Merge "Check task visibility vs. root task visibility" into rvc-dev am: ae6d49183e am: efb5561878
Change-Id: I0b48e568be9adf07ee6c9e12661c351d260a63dc
This commit is contained in:
@@ -4712,7 +4712,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
|
|||||||
*/
|
*/
|
||||||
private boolean shouldBeResumed(ActivityRecord activeActivity) {
|
private boolean shouldBeResumed(ActivityRecord activeActivity) {
|
||||||
return shouldMakeActive(activeActivity) && isFocusable()
|
return shouldMakeActive(activeActivity) && isFocusable()
|
||||||
&& getRootTask().getVisibility(activeActivity) == STACK_VISIBILITY_VISIBLE
|
&& getTask().getVisibility(activeActivity) == STACK_VISIBILITY_VISIBLE
|
||||||
&& canResumeByCompat();
|
&& canResumeByCompat();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user