summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorSatheesh Kumar Pallemoni <spallemo@codeaurora.org>2018-11-06 17:51:11 +0530
committerSatheesh Kumar Pallemoni <spallemo@codeaurora.org>2018-11-19 18:54:17 +0530
commitbb4511eb85310b65520be47e0ea06466f20c46f8 (patch)
tree579eedeca0d819d19e8cd70994094d1521e9f195 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent11028803b2c516a7bcb76ebf59e8d6b927018997 (diff)
Keep a null check before accessing the BluetoothA2dpWrapper APIs.
When switching from default user mode to guest mode from system settings, Bluetooth gets turn OFF and ON. Then, try connect to peer device which was connected previousely in the default user mode. At this point if BluetoothA2dpWrapper has not init, then its object would be null, and accessing the APIs of BluetoothA2dpWrapper in A2dpProfile, results in NPE. So keep a null check on object of BluetoothA2dpWrapper class before accessing APIs using it. CRs-Fixed: 2352196 Change-Id: Idd949bc27fec10b46a149b5db67abc6f3b5097d1
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions