aboutsummaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothHealthAppConfiguration.java
diff options
context:
space:
mode:
authorCheney Ni <cheneyni@google.com>2018-08-21 12:17:42 +0800
committerCheney Ni <cheneyni@google.com>2018-08-22 14:37:01 +0800
commitcb5aa1266854dcdb1d54f3c3089f2ae4d5e1a7f6 (patch)
tree010111aa2501ef202043a265b6c6e6e72d636f85 /framework/java/android/bluetooth/BluetoothHealthAppConfiguration.java
parent608179c7709fd4476235d8c1d2a9691251c3c606 (diff)
Be the current user to get A2DP proxy
After user switched, Bluetooth process will be restarted to run as secondary user and some system process like AudioService keeps as primary user. When BluetoothA2dp did rebind, it still used primary UID for those system process and caused they could not invoke A2DP APIs. This changes to use current user ID when rebinding to A2dpService and system process can get correct A2DP proxy after user switched. Bug: 112469503 Test: manual Change-Id: If5ee945b0dcf2044ef2baedd762751fa6ef3d09a (cherry picked from commit 167334ff4b73ddefdb9eb671758cca7a0f388f2a)
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothHealthAppConfiguration.java')
0 files changed, 0 insertions, 0 deletions