Bluetooth: Adapterservice Cleanup and unbind conditionally
Issue: When stack cleanup is done in Bluetooth state other than Off, it causes random Bluetooth shutdown and sometimes crashes because of cleanup in-between operations. Cause: Due to very quick on-off sequence during automation testing, next turn on is queued immediately after turn off before cleanup can be processes. This causes cleanup to occur later on causing the issue. Measure: Added condition to make sure that cleanup and unbind happens only when Bluetooth is Off. CRs-fixed: 1045491 Change-Id: Ida3b3c12a97604919fbab6d7f4f34b9daa93d85a
Loading
Please register or sign in to comment