Commit 9fdc424
Fix CtsAppSecurityHostTestCases test cases
Launch another activity instead of home activity since on targets like
car UI portrait, launching home intent does not make the current
activity go into background.
Bug: 292053153
Test: atest -s 3a5a86ec android.appsecurity.cts.OverlayHostTest#testOverlayEnabled_activityWithServiceInBackground_toForeground android.appsecurity.cts.OverlayHostTest#testOverlayEnabled_activityInBackground_toForeground
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6f852603be8370d5e10d9346f49fb2dae49fdf01)
Merged-In: I2a0d4804ba943a7ecbd718774250d313f07622ef
Change-Id: I2a0d4804ba943a7ecbd718774250d313f07622ef1 parent a871a35 commit 9fdc424
3 files changed
Lines changed: 32 additions & 4 deletions
File tree
- hostsidetests/appsecurity/test-apps/rro/OverlayTarget
- src/com/android/cts/overlay/target
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
142 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
| |||
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments