am aecf9ba8: am ff21279e: Merge "Fixed issue with not finding existing activity for background user" into mnc-dev
* commit 'aecf9ba839d440fb89055bcb8454cf72d0afaf41': Fixed issue with not finding existing activity for background user
This commit is contained in:
@@ -617,12 +617,9 @@ final class ActivityStack {
|
||||
for (int activityNdx = activities.size() - 1; activityNdx >= 0; --activityNdx) {
|
||||
ActivityRecord r = activities.get(activityNdx);
|
||||
if (notCurrentUserTask && (r.info.flags & FLAG_SHOW_FOR_ALL_USERS) == 0) {
|
||||
return null;
|
||||
continue;
|
||||
}
|
||||
if (!r.finishing && r.intent.getComponent().equals(cls) && r.userId == userId) {
|
||||
//Slog.i(TAG, "Found matching class!");
|
||||
//dump();
|
||||
//Slog.i(TAG, "For Intent " + intent + " bringing to top: " + r.intent);
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user