summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2019-05-23 13:55:47 -0700
committerJosh Gao <jmgao@google.com>2019-05-23 14:31:50 -0700
commitd044dba50bdd21bb4cf26747a5fb5544948be475 (patch)
tree7328e3d3d8e30e23abe842516793ad0d04e03c34 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9a7f304d2f7457eeea316f38da4dbb45a59e0890 (diff)
Set permissions on adb key file after write.
We're using AtomicFile to atomically update the key file, but that does so by creating a new file with 0600 permissions, and then moving it into place, which results in adbd not being able to read the file when not root. Manually set the permissions after we write to the file to prevent this. Also, while we're at it, delete the explicit creation of the file, since FileOutputStream does so automatically. Bug: http://b/132774621 Test: manual Change-Id: I286b90adfdc591c5e7d7e417ef06be287d77261e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions