summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorjackqdyulei <jackqdyulei@google.com>2018-08-27 16:18:08 -0700
committerjackqdyulei <jackqdyulei@google.com>2018-08-28 17:12:35 -0700
commit0e249a7a60ae2c6a7b37889afc71841185368c06 (patch)
tree6b317865148f9040868290a007bc8865a024f475 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent890efce117a0d2ace5484267f1b7f65205637f86 (diff)
Fix crash in CachedBluetoothDevice.
In LocalBluetoothProfileManager, we will update profiles in constructor by register service callback to bluetooth profiles. So the callback may return before this constructor, in which case mBluetoothProfileManager maybe null in LocalBluetoothMangaer. This cl moves the updateLocalProfiles() out of the constructor, to make sure we will first construct mBluetoothProfileManger and then connect to bluetooth profiles. Change-Id: I93a388cf0598555d26181a6b0da99dcb35f227dd Fixes: 113290231 Test: RunSettingsRoboTests
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions