Remove the call to getIntentSenderResult()
As of ag/11955202, this call is no longer needed. Bug: 136260017 Test: atest StagedRollbackTest Change-Id: Idd02f1ed40e8bd0630d049ca4e5309726f9ef136
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user