OSDN Git Service

Fix issue #35365651: ActivityManager.getPackageImportance() doesn't...
authorDianne Hackborn <hackbod@google.com>
Thu, 2 Mar 2017 00:02:15 +0000 (16:02 -0800)
committerDianne Hackborn <hackbod@google.com>
Thu, 2 Mar 2017 18:47:24 +0000 (10:47 -0800)
commit45e69d6de9b2677b23530fe3a132f956f591c9ba
treed944e4c5b6e8dc55e3da7b8b98560d196bd07422
parent594ea5f8b031c09de090eab446209b84aa78fd37
Fix issue #35365651: ActivityManager.getPackageImportance() doesn't...

...return the highest importance of all processes

Also clean up the importance constants to correctly reflect the
current state of the system.

Test: run activity test, added new conditions to it for this.
Change-Id: I25c4351b017c4a703212f604079e13f7d4fead5b
api/current.txt
api/system-current.txt
api/test-current.txt
core/java/android/app/ActivityManager.java
services/core/java/com/android/server/am/ActivityManagerService.java