summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAmin Shaikh <ashaikh@google.com>2017-01-05 14:28:47 -0800
committerAmin Shaikh <ashaikh@google.com>2017-01-05 14:28:47 -0800
commit2cd918a63ec87dd4e13bd803626f2742a0f35fab (patch)
treed93c4930c54c97e84876443967467c229a4b38bd /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta54d76a81f2d16c3e9d35fa87abc6f6d725d8bd2 (diff)
Fix NetworkScorerAppManager#isCallerActiveScorer.
The current implementation checks whether the caller's uid has the SCORE_NETWORKS permission instead of checking the passed in callingUid. I removed this check entirely because the getActiveScorer method already checks whether the scorer's package has the SCORE_NETWORKS permission. There is no way callingUid can equal the active scoring package's uid without also having the SCORE_NETWORKS permission. Bug: 34107721 Test: runtest --path core/tests/coretests/src/android/net/NetworkScorerAppManagerTest.java Change-Id: Ifd427792169837c84a10a76b208c76137db06ae9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions