summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeff Davidson <jpd@google.com>2014-08-08 15:12:47 -0700
committerJeff Davidson <jpd@google.com>2014-08-11 15:46:20 -0700
commitac7285dc1e13f30d59dad30fe2ad1116e5f676cb (patch)
tree792af23f6e20b2c51567f00a54a8a96bff2c93fc /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd4c25dbe67ca1c46105d09905be7bd6fdcecf35b (diff)
Security-related cleanup for network scoring.
-Perform additional checks for the SCORE_NETWORKS permission when broadcasting scoring requests to the active scorer and when accepting score updates. In theory, these checks are unnecessary as we manually check package manager when obtaining the list of valid scorers, but they cannot hurt to add. -Fix multi-user. Since the active scorer is a global setting, we ensure that scoring can only be done by apps available to the primary user / owner of the phone, and that the request scores broadcast is sent to that user's profile. When the scorer is changed, we send that to all user profiles as it's just informational, although it's unlikely that apps outside the primary user's profile would need to respond. Bug: 14117916 Bug: 16399238 Change-Id: Iaf06bda244eec730b590a30a3f4ffab4965bde96
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions