Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54fbb053 authored by Louis Chang's avatar Louis Chang
Browse files

Refactor start activity methods

There were several startActivity* methods that looks similar, but not
entirely the same. Re-organized the code flow and remove some confused
methods, like setMayWait(), to make people easier to follow.

Bug: 139449647
Test: atest WmTests CtsWindowManagerDeviceTestCases
Change-Id: If1c3cc2bef9fbeecde9ec456515c9979b8286f97
parent 793c088a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -284,7 +284,7 @@ public class ActivityStartController {
                .setRequestCode(requestCode)
                .setStartFlags(startFlags)
                .setActivityOptions(options)
                .setMayWait(userId)
                .setUserId(userId)
                .setInTask(inTask)
                .setOriginatingPendingIntent(originatingPendingIntent)
                .setAllowBackgroundActivityStart(allowBackgroundActivityStart)
Loading