summaryrefslogtreecommitdiffstats
path: root/tests/AndroidManifest-common.xml
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2018-10-05 16:19:38 -0700
committerSunny Goyal <sunnygoyal@google.com>2018-10-09 14:25:01 -0700
commit4ed58d6c03aa8e158ef3435598b5ecfd44460fbe (patch)
tree96e502d1f646bb62cd700fca6e8149f540586a1a /tests/AndroidManifest-common.xml
parent972045236311f884b61486954b4dce4f5ed7ac60 (diff)
downloadandroid_packages_apps_Trebuchet-4ed58d6c03aa8e158ef3435598b5ecfd44460fbe.tar.gz
android_packages_apps_Trebuchet-4ed58d6c03aa8e158ef3435598b5ecfd44460fbe.tar.bz2
android_packages_apps_Trebuchet-4ed58d6c03aa8e158ef3435598b5ecfd44460fbe.zip
Adding tests for fallback recents when a 3rd party launcher is installed
Change-Id: I1d4da13cc779f49832008b12b9628d01631faffe
Diffstat (limited to 'tests/AndroidManifest-common.xml')
-rw-r--r--tests/AndroidManifest-common.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/AndroidManifest-common.xml b/tests/AndroidManifest-common.xml
index 89ca7f337..439058cbd 100644
--- a/tests/AndroidManifest-common.xml
+++ b/tests/AndroidManifest-common.xml
@@ -67,5 +67,33 @@
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
+
+ <provider
+ android:name="com.android.launcher3.testcomponent.TestCommandReceiver"
+ android:authorities="${packageName}.commands"
+ android:exported="true" />
+
+ <activity
+ android:name="com.android.launcher3.testcomponent.TestLauncherActivity"
+ android:launchMode="singleTask"
+ android:clearTaskOnLaunch="true"
+ android:label="Test launcher"
+ android:stateNotNeeded="true"
+ android:theme="@android:style/Theme.DeviceDefault.Light"
+ android:windowSoftInputMode="adjustPan"
+ android:screenOrientation="unspecified"
+ android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize"
+ android:resizeableActivity="true"
+ android:taskAffinity=""
+ android:process=":testLauncherProcess"
+ android:enabled="false">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.HOME" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <category android:name="android.intent.category.MONKEY"/>
+ <category android:name="android.intent.category.LAUNCHER_APP" />
+ </intent-filter>
+ </activity>
</application>
</manifest>