Commit b481410
Lockdown AM.getRunningAppProcesses API with permission.REAL_GET_TASKS
* Applications must now have ...permission.REAL_GET_TASKS to
be able to get process information for all applications.
* Only the process information for the calling application will be
returned if the app doesn't have the permission.
* Privilages apps will temporarily be able to get process information
for all applications if they don't have the new permission, but have
deprecated ...permission.GET_TASKS.
Bug: 20034603
Change-Id: I67ae9491f65d2280adb6a81593693d499714a216
(cherry picked from commit 9dbaa54)1 parent b7a79bd commit b481410
File tree
1 file changed
+13
-6
lines changed- services/core/java/com/android/server/am
1 file changed
+13
-6
lines changedLines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8122 | 8122 | | |
8123 | 8123 | | |
8124 | 8124 | | |
8125 | | - | |
| 8125 | + | |
8126 | 8126 | | |
8127 | 8127 | | |
8128 | 8128 | | |
| |||
12241 | 12241 | | |
12242 | 12242 | | |
12243 | 12243 | | |
| 12244 | + | |
| 12245 | + | |
| 12246 | + | |
12244 | 12247 | | |
12245 | 12248 | | |
12246 | 12249 | | |
12247 | | - | |
12248 | | - | |
| 12250 | + | |
| 12251 | + | |
| 12252 | + | |
| 12253 | + | |
| 12254 | + | |
12249 | 12255 | | |
12250 | 12256 | | |
12251 | | - | |
| 12257 | + | |
12252 | 12258 | | |
12253 | | - | |
| 12259 | + | |
| 12260 | + | |
12254 | 12261 | | |
12255 | 12262 | | |
12256 | 12263 | | |
| |||
12274 | 12281 | | |
12275 | 12282 | | |
12276 | 12283 | | |
12277 | | - | |
| 12284 | + | |
12278 | 12285 | | |
12279 | 12286 | | |
12280 | 12287 | | |
| |||
0 commit comments