Loading core/java/android/app/TaskStackBuilder.java +5 −1 Original line number Original line Diff line number Diff line Loading @@ -128,7 +128,11 @@ public class TaskStackBuilder { if (parent != null) { if (parent != null) { // We have the actual parent intent, build the rest from static metadata // We have the actual parent intent, build the rest from static metadata // then add the direct parent intent to the end. // 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); addNextIntent(parent); } } return this; return this; Loading Loading
core/java/android/app/TaskStackBuilder.java +5 −1 Original line number Original line Diff line number Diff line Loading @@ -128,7 +128,11 @@ public class TaskStackBuilder { if (parent != null) { if (parent != null) { // We have the actual parent intent, build the rest from static metadata // We have the actual parent intent, build the rest from static metadata // then add the direct parent intent to the end. // 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); addNextIntent(parent); } } return this; return this; Loading