Fix missing renaming of PerfTestActivity

1be1dd6 renamed StubActivity to PerfTestActivity.

Bug: 131727899
Test: atest PackageManagerPerfTest
      atest AutofillPerfTests:LoginTest

Change-Id: I90ad0f28ab6a3c152b16f7587c5434e6fddf18a3
This commit is contained in:
Riddle Hsu
2019-10-17 16:53:41 +08:00
parent 07ae3bec21
commit 6df7f0aca5
2 changed files with 3 additions and 2 deletions

View File

@@ -18,7 +18,7 @@
<application>
<uses-library android:name="android.test.runner" />
<activity android:name="android.perftests.utils.StubActivity">
<activity android:name="android.perftests.utils.PerfTestActivity">
<intent-filter>
<action android:name="com.android.perftests.core.PERFTEST" />
</intent-filter>

View File

@@ -38,7 +38,8 @@ public class PackageManagerPerfTest {
private static final String PERMISSION_NAME_DOESNT_EXIST =
"com.android.perftests.core.TestBadPermission";
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
public PerfStatusReporter mPerfStatusReporter = new PerfStatusReporter();