Skip home related tests if no home screen.
ARC++ does not have home activity and therefore CTS tests using home
screen for verification will fail. Adding capability detection in these
tests make the test pass.
Bug: 35323412
Test: cts -m CtsServicesHostTestCases --test android.server.cts.ActivityManagerActivityVisiblityTests
Change-Id: I86525a73a32eae2d40c516d0630d3d0cb346f9c1
diff --git a/hostsidetests/services/activitymanager/app/AndroidManifest.xml b/hostsidetests/services/activitymanager/app/AndroidManifest.xml
index ee922ff..8af5ede 100755
--- a/hostsidetests/services/activitymanager/app/AndroidManifest.xml
+++ b/hostsidetests/services/activitymanager/app/AndroidManifest.xml
@@ -167,6 +167,9 @@
android:resizeableActivity="true"
android:exported="true"
/>
+ <activity android:name=".NoHomeScreenObserver"
+ android:exported="true"
+ />
<activity-alias android:enabled="true"
android:exported="true"
android:name=".EntryPointAliasActivity"