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
5 files changed