summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authormarkchien <markchien@google.com>2019-08-16 15:33:28 +0800
committermarkchien <markchien@google.com>2019-08-27 23:26:20 +0800
commit560c3ac1dcc2f18a0b32aa60d8eabebfeb1d0001 (patch)
tree941e8d53593e889dbee203842aceaa50fb98ddfe /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd889cb50981061b6164f194fc23ebc2351d156c3 (diff)
Passing caller package name to setBluetoothTethering
This is necessary to examine caller's permission. If caller's uid is not same as passing package name, SecurityException would be throwed. This change also clear the identity before calling BluetoothPan#setBluetoothTethering() in Tethering#setBluetoothTethering. This is fine because caller already pass permission check before in ConnectivityService. See the flow below: ConnectivityManager#startTethering -> ConnectivityService#startTethering -> Tethering#startTethering -> Tethering#setBluetoothTethering -> BluetoothPan#setBluetoothTethering Bug: 134649258 Test: -build, flash, boot -atest FrameworkNetTests -manual test with bluetooth OFF/ON Change-Id: I2140398ad3bbc8076f729c843f0515c654553aaf
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions