summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author JW Wang <wangchun@google.com> 2020-11-27 15:54:29 +0800
committer JW Wang <wangchun@google.com> 2020-11-27 15:56:22 +0800
commit90598ea09b8ef799a1190ef3cf0a05e80be44173 (patch)
tree4ef3b1fa4a3dbc8e314ef2107312c4e15d3b33bc
parent85e86853c24dd58e80c540a551ec01002275058a (diff)
Remove the call to getIntentSenderResult()
As of ag/11955202, this call is no longer needed. Bug: 136260017 Test: atest StagedRollbackTest Change-Id: Idd02f1ed40e8bd0630d049ca4e5309726f9ef136
-rw-r--r--tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/StagedRollbackTest.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/StagedRollbackTest.java b/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/StagedRollbackTest.java
index 52718bec9148..3d8deb5cfc8d 100644
--- a/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/StagedRollbackTest.java
+++ b/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/StagedRollbackTest.java
@@ -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();
}