summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorVarun Anand <vaanand@google.com>2020-03-18 17:49:20 -0700
committerVarun Anand <vaanand@google.com>2020-03-18 17:49:20 -0700
commite3d4cf025fafe875a77f84e809da67eaec0f2ac5 (patch)
treefc841dd2ace38e58b52e9dcd840b978b841674db /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd3bd995b2ee9a039692c3d26c1d15dc9e2e122c1 (diff)
Fix NetworkScoreService#getActiveScorer.
Also fix its variant that returns package name for active scorer. These were previously returning values from cached NetworkScoreAppData that was created when ScoringServiceConnection was created. Which means it does not correctly reflects the current state of NetworkScoreAppData#mEnableUseOpenWifiActivity which could have been disabled by USE_OPEN_WIFI_PACKAGE app to hide toggles. I'm changing this to return dynamic values using NetworkScorerAppManager methods. Bug: 151160317 Bug: 150773571 Test: manual - verified that toggle is hidden if useOpenWifiActivity component is disabled by USE_OPEN_WIFI_PACKAGE app. Test: atest FrameworksNetTests Test: atest NetworkScoreManagerTest Change-Id: If76b1f03a1bf64a39063ac1fe0674be8b0131d3c
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions