Reland "Add espresso tests for PhotoPicker"
Bug: 168001592
Test: atest
com.android.providers.media.photopicker.espresso
Change-Id: Ib593a56142ce5fff169bfef428bba9f2cf97cee9
diff --git a/tests/AndroidManifest.xml b/tests/AndroidManifest.xml
index 199f617..68b6eed 100644
--- a/tests/AndroidManifest.xml
+++ b/tests/AndroidManifest.xml
@@ -13,6 +13,14 @@
<activity android:name="com.android.providers.media.GetResultActivity" />
<activity android:name="com.android.providers.media.PermissionActivity" />
<activity android:name="com.android.providers.media.CacheClearingActivity" />
+ <activity android:name="com.android.providers.media.photopicker.PhotoPickerActivity"
+ android:theme="@style/PickerDefaultTheme"
+ android:excludeFromRecents="true">
+ <intent-filter>
+ <action android:name="android.provider.action.PICK_IMAGES" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
</application>
<instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"