Merge into jb-mr1-dev
Change-Id: I02a0c4a7c8f66c52631f962e097c28f6a41d7a64
This commit is contained in:
@@ -128,7 +128,11 @@ public class TaskStackBuilder {
|
||||
if (parent != null) {
|
||||
// We have the actual parent intent, build the rest from static metadata
|
||||
// then add the direct parent intent to the end.
|
||||
addParentStack(parent.getComponent());
|
||||
ComponentName target = parent.getComponent();
|
||||
if (target == null) {
|
||||
target = parent.resolveActivity(mSourceContext.getPackageManager());
|
||||
}
|
||||
addParentStack(target);
|
||||
addNextIntent(parent);
|
||||
}
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user