diff options
| author | 2023-09-14 20:31:18 +0000 | |
|---|---|---|
| committer | 2023-09-18 22:35:12 +0000 | |
| commit | ff90b7077b39cac721cab11af68934f1bc429f72 (patch) | |
| tree | 1f67ec6e0634d6bb803e4e2a31e3f839f3ce682a /api/api_test.go | |
| parent | 5455a0c3e1160d8f752144f87fac9d77ebcee40e (diff) | |
[CTS][WoM]Fix isHomeActivityVisibility check
Auto introduced a task based visibility check to handle multi display on their devices.
This change also introduced checking base intent flag and doing an '&' with FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS which is causing the tests to fail on watches.
Removing this check as the assumption that main activities don't haveĀ FLAG_ACTIVITY_EXCLUDE_FROM_RECENT" is not true on all products(Eg Wear)
Replacing the same with activityType check
Bug: b/285228291
Test: atest android.app.cts.ActivityManagerTest#testHomeVisibilityListener
Tested on Auto(gcar_x86_64-userdebug), wear(cf_gwear_x86-userdebug) and phone targets(aosp_cf_x86_64_phone-trunk_staging-userdebug) to ensure
that this solution works on all of these device types.
Change-Id: Ib98c2a49e2680822857f778daa268eb2857b6b14
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions