Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a603a932 authored by juncao's avatar juncao Committed by Linux Build Service Account
Browse files

Bluetooth: Fix to avoid native crash because sJniCallbacksField null



    A case, where BT ON/OFF is running in the loop(monkey test).
    In the monkey test, BT is enabled immediately BT enters off state, but before BT process completely died.
    BT will crash because of null value of sJniCallbacksField in com.android.bluetooth.btservice.AdapterService.initNative.
    Check null to avoid crash.

CRs-Fixed: 961597

Change-Id: I2a34298f40ac15caa225be10407a6f8907e1b042
Signed-off-by: default avatarjuncao <juncao@codeaurora.org>
parent ae939d02
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment