Merge "Make activity on visible and focusable leaf tasks be resumed" into sc-dev
This commit is contained in:
@@ -6041,7 +6041,9 @@ class Task extends WindowContainer<WindowContainer> {
|
||||
mInResumeTopActivity = true;
|
||||
|
||||
if (isLeafTask()) {
|
||||
someActivityResumed = resumeTopActivityInnerLocked(prev, options);
|
||||
if (isFocusableAndVisible()) {
|
||||
someActivityResumed = resumeTopActivityInnerLocked(prev, options);
|
||||
}
|
||||
} else {
|
||||
int idx = mChildren.size() - 1;
|
||||
while (idx >= 0) {
|
||||
|
||||
Reference in New Issue
Block a user