Commit 3218617
[RESTRICT AUTOMERGE] Trim the activity info of another uid if no privilege
The activity info could be from another uid which is different
from the app that hosts the task. The information should be
trimmed if the caller app doesn't have the privilege.
Bug: 243130512
Test: verified locally
Test: atest RecentTasksTest
Change-Id: Ia343ac70e5bb9aeae718fca6674e1ca491a14512
Merged-In: Ia343ac70e5bb9aeae718fca6674e1ca491a14512
(cherry picked from commit fa8d636)
Merged-In: Ia343ac70e5bb9aeae718fca6674e1ca491a145121 parent fd3e1a6 commit 3218617
5 files changed
Lines changed: 54 additions & 8 deletions
File tree
- services
- core/java/com/android/server/wm
- tests/wmtests/src/com/android/server/wm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
974 | 974 | | |
975 | 975 | | |
976 | 976 | | |
977 | | - | |
| 977 | + | |
978 | 978 | | |
979 | 979 | | |
980 | 980 | | |
| |||
1890 | 1890 | | |
1891 | 1891 | | |
1892 | 1892 | | |
1893 | | - | |
| 1893 | + | |
| 1894 | + | |
1894 | 1895 | | |
1895 | 1896 | | |
1896 | 1897 | | |
| |||
1902 | 1903 | | |
1903 | 1904 | | |
1904 | 1905 | | |
| 1906 | + | |
| 1907 | + | |
| 1908 | + | |
1905 | 1909 | | |
1906 | 1910 | | |
1907 | 1911 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
153 | 157 | | |
154 | 158 | | |
155 | 159 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3484 | 3484 | | |
3485 | 3485 | | |
3486 | 3486 | | |
| 3487 | + | |
| 3488 | + | |
| 3489 | + | |
| 3490 | + | |
| 3491 | + | |
| 3492 | + | |
| 3493 | + | |
| 3494 | + | |
| 3495 | + | |
| 3496 | + | |
| 3497 | + | |
| 3498 | + | |
| 3499 | + | |
| 3500 | + | |
| 3501 | + | |
| 3502 | + | |
| 3503 | + | |
| 3504 | + | |
| 3505 | + | |
| 3506 | + | |
| 3507 | + | |
3487 | 3508 | | |
3488 | 3509 | | |
3489 | 3510 | | |
| |||
Lines changed: 22 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
1195 | 1196 | | |
1196 | 1197 | | |
1197 | 1198 | | |
1198 | | - | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
1199 | 1205 | | |
1200 | 1206 | | |
1201 | 1207 | | |
1202 | 1208 | | |
1203 | 1209 | | |
1204 | | - | |
| 1210 | + | |
| 1211 | + | |
1205 | 1212 | | |
1206 | 1213 | | |
1207 | 1214 | | |
1208 | 1215 | | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
1209 | 1223 | | |
1210 | 1224 | | |
1211 | 1225 | | |
1212 | | - | |
| 1226 | + | |
| 1227 | + | |
1213 | 1228 | | |
1214 | 1229 | | |
1215 | 1230 | | |
| |||
1219 | 1234 | | |
1220 | 1235 | | |
1221 | 1236 | | |
1222 | | - | |
| 1237 | + | |
| 1238 | + | |
1223 | 1239 | | |
1224 | 1240 | | |
1225 | 1241 | | |
| |||
1228 | 1244 | | |
1229 | 1245 | | |
1230 | 1246 | | |
1231 | | - | |
| 1247 | + | |
| 1248 | + | |
1232 | 1249 | | |
1233 | 1250 | | |
1234 | 1251 | | |
| |||
0 commit comments