Merge "resolved conflicts for merge of b4ae2f1b to gingerbread-plus-aosp" into gingerbread-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
5574453022
@@ -2139,7 +2139,7 @@ public class ActivityStack {
|
|||||||
// being started, which means not bringing it to the front
|
// being started, which means not bringing it to the front
|
||||||
// if the caller is not itself in the front.
|
// if the caller is not itself in the front.
|
||||||
ActivityRecord curTop = topRunningNonDelayedActivityLocked(notTop);
|
ActivityRecord curTop = topRunningNonDelayedActivityLocked(notTop);
|
||||||
if (curTop.task != taskTop.task) {
|
if (curTop != null && curTop.task != taskTop.task) {
|
||||||
r.intent.addFlags(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT);
|
r.intent.addFlags(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT);
|
||||||
boolean callerAtFront = sourceRecord == null
|
boolean callerAtFront = sourceRecord == null
|
||||||
|| curTop.task == sourceRecord.task;
|
|| curTop.task == sourceRecord.task;
|
||||||
|
|||||||
Reference in New Issue
Block a user