summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeremy Joslin <jjoslin@google.com>2016-12-20 16:59:26 -0800
committerJeremy Joslin <jjoslin@google.com>2016-12-20 16:59:26 -0800
commit82d72075300bee9d5341f44f081dac5ae740f28b (patch)
treea277c30954533206b7e5827b8cbd18380d9b4b32 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent8f5521aa679f21bc106dec90ecf21cd2283747a7 (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: I468a8c02a72f089f1fb778d150d945efe5485b88
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions