OSDN Git Service

Lockdown AM.getRunningAppProcesses API with permission.REAL_GET_TASKS
authorWale Ogunwale <ogunwale@google.com>
Mon, 6 Apr 2015 23:08:52 +0000 (16:08 -0700)
committerWale Ogunwale <ogunwale@google.com>
Tue, 7 Apr 2015 00:37:57 +0000 (17:37 -0700)
commit9dbaa54f6834e013a63f18bd51ace554de811d80
treed8f7209741fcb7f746faed80fd85d8bafa822ec6
parent37ff6f6402f156768ed4edeacd85423bf1eecbf4
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
services/core/java/com/android/server/am/ActivityManagerService.java