commit | 9b442faa9193173753ea2669009bb5c2bed29079 | [log] [tgz] |
---|---|---|
author | Jeremy Joslin <jjoslin@google.com> | Mon Jan 09 16:22:20 2017 -0800 |
committer | Jeremy Joslin <jjoslin@google.com> | Tue Jan 10 16:11:33 2017 -0800 |
tree | e6f04e6c179c0cc57c8271115d97e4a2b19264da | |
parent | 0b74a1dabb4829e277fd64fe3d1893fe22f02a18 [diff] |
Moved isCallerActiveScorer() to the score service. Implemented isCallerActiveScorer() in the NetworkScoreService to make it more efficient (no need to query PM). Exposed the call as a new internal API on NetworkScoreManager and deprecated the call on NetworkScorerAppManager. Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest Bug: 33781558 Change-Id: I8ad232f8ef34b6e2f155ebb232e64300303300f0 Merged-In: I0e2142af95b068d322343f7c9362ac53d46b545e