@@ -1714,7 +1714,7 @@ final int startActivityUncheckedLocked(ActivityRecord r,
17141714 // the activity based on affinity... now that we
17151715 // are actually launching it, we can assign the
17161716 // base intent.
1717- intentActivity .task .setIntent (intent , r . info );
1717+ intentActivity .task .setIntent (r );
17181718 }
17191719 // If the target task is not in the front, then we need
17201720 // to bring it to the front... except... well, with
@@ -1771,7 +1771,7 @@ final int startActivityUncheckedLocked(ActivityRecord r,
17711771 // not be too hard...
17721772 reuseTask = intentActivity .task ;
17731773 reuseTask .performClearTaskLocked ();
1774- reuseTask .setIntent (r . intent , r . info );
1774+ reuseTask .setIntent (r );
17751775 } else if ((launchFlags &Intent .FLAG_ACTIVITY_CLEAR_TOP ) != 0
17761776 || launchSingleInstance || launchSingleTask ) {
17771777 // In this situation we want to remove all activities
@@ -1786,7 +1786,7 @@ final int startActivityUncheckedLocked(ActivityRecord r,
17861786 // intents for the top activity, so make sure
17871787 // the task now has the identity of the new
17881788 // intent.
1789- top .task .setIntent (r . intent , r . info );
1789+ top .task .setIntent (r );
17901790 }
17911791 ActivityStack .logStartActivity (EventLogTags .AM_NEW_INTENT ,
17921792 r , top .task );
@@ -1815,7 +1815,7 @@ final int startActivityUncheckedLocked(ActivityRecord r,
18151815 ActivityStack .logStartActivity (EventLogTags .AM_NEW_INTENT , r ,
18161816 intentActivity .task );
18171817 if (intentActivity .frontOfTask ) {
1818- intentActivity .task .setIntent (r . intent , r . info );
1818+ intentActivity .task .setIntent (r );
18191819 }
18201820 intentActivity .deliverNewIntentLocked (callingUid , r .intent );
18211821 } else if (!r .intent .filterEquals (intentActivity .task .intent )) {
@@ -1841,7 +1841,7 @@ final int startActivityUncheckedLocked(ActivityRecord r,
18411841 // at the bottom of its stack, but that's a little hard
18421842 // to do with the current organization of the code so
18431843 // for now we'll just drop it.
1844- intentActivity .task .setIntent (r . intent , r . info );
1844+ intentActivity .task .setIntent (r );
18451845 }
18461846 if (!addingToTask && reuseTask == null ) {
18471847 // We didn't do anything... but it was needed (a.k.a., client
0 commit comments