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

Commit 6df7f0ac authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Fix missing renaming of PerfTestActivity

1be1dd6b renamed StubActivity to PerfTestActivity.

Bug: 131727899
Test: atest PackageManagerPerfTest
      atest AutofillPerfTests:LoginTest

Change-Id: I90ad0f28ab6a3c152b16f7587c5434e6fddf18a3
parent 07ae3bec
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -18,7 +18,7 @@


    <application>
    <application>
        <uses-library android:name="android.test.runner" />
        <uses-library android:name="android.test.runner" />
        <activity android:name="android.perftests.utils.StubActivity">
        <activity android:name="android.perftests.utils.PerfTestActivity">
          <intent-filter>
          <intent-filter>
            <action android:name="com.android.perftests.core.PERFTEST" />
            <action android:name="com.android.perftests.core.PERFTEST" />
          </intent-filter>
          </intent-filter>
+2 −1
Original line number Original line Diff line number Diff line
@@ -38,7 +38,8 @@ public class PackageManagerPerfTest {
    private static final String PERMISSION_NAME_DOESNT_EXIST =
    private static final String PERMISSION_NAME_DOESNT_EXIST =
            "com.android.perftests.core.TestBadPermission";
            "com.android.perftests.core.TestBadPermission";
    private static final ComponentName TEST_ACTIVITY =
    private static final ComponentName TEST_ACTIVITY =
            new ComponentName("com.android.perftests.core", "android.perftests.utils.StubActivity");
            new ComponentName("com.android.perftests.core",
                    "android.perftests.utils.PerfTestActivity");


    @Rule
    @Rule
    public PerfStatusReporter mPerfStatusReporter = new PerfStatusReporter();
    public PerfStatusReporter mPerfStatusReporter = new PerfStatusReporter();