summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRam Periathiruvadi <ramperry@google.com>2017-05-03 19:11:20 -0700
committerAndre Eisenbach <eisenbach@google.com>2017-05-18 00:28:54 +0000
commit88256d1a8a18ffc9f106da373dbe4891d5a72e7a (patch)
tree516f29cf02d8e8215955a8f3002f6853f794c2e2 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta40bb1ed4a7be67be61194f878d64511778a8c5f (diff)
Fix for Bluetooth not restarting on User Switch
The flag that keeps track of the Bluetooth adapter status(mEnable) is not guarded correctly and could go out of sync with the adapter status. This causes User Switch handling to not function correctly since it checks for the status of the mEnable flag before restarting Bluetooth. This fix queries the Bluetooth Adapter for the status instead of using the mEnable flag. Bug: b/37648701 Test: Tested switching users multiple times in both phone and carkit. Also tested pairing and connection for sanity. Change-Id: I17facecf8e1de90df11c11d5b0a184f48a0356e4 (cherry picked from commit 7d1203a2f4fdbafe26d33421c3cdd83f07a5fba8)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions