commit | 058f1e4468bd54d0ac39fdf81b4df7221b28721a | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Wed Nov 02 17:18:35 2016 -0700 |
committer | Dianne Hackborn <hackbod@google.com> | Fri Nov 04 17:05:27 2016 -0700 |
tree | ca2dba1d6c0b79baf679c1ad206c2fd9575e63fc | |
parent | 3e8431f1f223cb688f66da30816515d87f846d5b [diff] |
Implement system API for monitoring uid importance changes. Changed the permission for registerUidObserver to be PACKAGE_USAGE_STATS, which better matches the semantics of this API and is accessible to system apps. Test: Added testUidImportanceListener() Change-Id: Ib47d02bd654fbe399a9c92550c89ecbd38f928dc