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
committerMark Chien <markchien@google.com>2019-08-29 08:53:01 +0000
commit5bacf82587f97ac4f26897318f00000d5777c9e5 (patch)
tree32b6640987def9882bb60ab37f2d532e5ed286ac /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent5e1a48a6609826ba67f92b42e01ea4a656b15b45 (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 Merged-In: I2140398ad3bbc8076f729c843f0515c654553aaf
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions