From 90598ea09b8ef799a1190ef3cf0a05e80be44173 Mon Sep 17 00:00:00 2001 From: JW Wang Date: Fri, 27 Nov 2020 15:54:29 +0800 Subject: [PATCH] Remove the call to getIntentSenderResult() As of ag/11955202, this call is no longer needed. Bug: 136260017 Test: atest StagedRollbackTest Change-Id: Idd02f1ed40e8bd0630d049ca4e5309726f9ef136 --- .../src/com/android/tests/rollback/StagedRollbackTest.java | 5 ----- 1 file changed, 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 52718bec91487..3d8deb5cfc8d4 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(); }