Moving manifest initialization to RoboApplication instead of a separate rule

This makes the behavior same as instrumentation test

Bug: 370080120
Test: Presubmit
Flag: EXEMPT test fix
Change-Id: Id4183c91f3951748b657b583fde8860abe55d3a8
This commit is contained in:
Sunny Goyal
2024-10-04 13:18:04 -07:00
parent 67ed920053
commit 6a207fc4f9
18 changed files with 46 additions and 183 deletions
@@ -37,7 +37,6 @@ import com.android.launcher3.util.LauncherModelHelper;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -48,8 +47,6 @@ import org.junit.runner.RunWith;
@RunWith(AndroidJUnit4.class)
public class PackageInstallStateChangedTaskTest {
@Rule public ModelTestRule mModelTestRule = new ModelTestRule();
private static final String PENDING_APP_1 = TEST_PACKAGE + ".pending1";
private static final String PENDING_APP_2 = TEST_PACKAGE + ".pending2";