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

Commit 90598ea0 authored by JW Wang's avatar JW Wang
Browse files

Remove the call to getIntentSenderResult()

As of ag/11955202, this call is no longer needed.

Bug: 136260017
Test: atest StagedRollbackTest
Change-Id: Idd02f1ed40e8bd0630d049ca4e5309726f9ef136
parent 85e86853
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -34,7 +34,6 @@ import androidx.test.platform.app.InstrumentationRegistry;

import com.android.cts.install.lib.Install;
import com.android.cts.install.lib.InstallUtils;
import com.android.cts.install.lib.LocalIntentSender;
import com.android.cts.install.lib.TestApp;
import com.android.cts.install.lib.Uninstall;
import com.android.cts.rollback.lib.Rollback;
@@ -258,10 +257,6 @@ public class StagedRollbackTest {
                .getPackageManager().getPackageInstaller();
        pi.abandonSession(sessionId);

        // Remove the first intent sender result, so that the next staged install session does not
        // erroneously think that it has itself been abandoned.
        // TODO(b/136260017): Restructure LocalIntentSender to negate the need for this step.
        LocalIntentSender.getIntentSenderResult();
        Install.single(TestApp.A2).setStaged().setEnableRollback().commit();
    }