summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeremy Joslin <jjoslin@google.com>2016-12-20 16:59:26 -0800
committerJeremy Joslin <jjoslin@google.com>2016-12-21 13:44:53 -0800
commitb1365852cccc0d15bd2b278b929f952e75417f2d (patch)
tree6007ebb5fecd61f340ddf72f23c87ce471bcdb8f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent29ed4a99bf3fae207f2359de34d3b37edf15e3dc (diff)
Stay bound to the most current active scorer.
This fixes the following issue: 1) Scorer A is active and bound. 2) A change occurs to Scorer A such that it is no longer the selected scorer. 3) Scorer B is selected as the scorer and returned whenever getActiveScorer() is queried. 4) Scorer A is never unbound because it isn't seen as the active scorer. 5) Scorer B is never bound until its package changes in some way (or the feature is disabled/enabled). Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest + manual testing. Change-Id: I40f055df472e2b9e7b07e6979a841dd4c0b794ce Merged-In: I468a8c02a72f089f1fb778d150d945efe5485b88
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions