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

Commit 1d99d23c authored by Lianchao Song's avatar Lianchao Song Committed by Chenjie Luo
Browse files

DO NOT MERGE ANYWHERE Add missing null pointer check inside HeadSetClientService.stop()



Bug: 28664857

Change-Id: I62abc4eb4127db2d4f0cde44eca618996f099b49
Signed-off-by: default avatarLianchao Song <songlianchao@huawei.com>
parent a7d8743a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -80,7 +80,9 @@ public class HeadsetClientService extends ProfileService {
        } catch (Exception e) {
            Log.w(TAG, "Unable to unregister broadcast receiver", e);
        }
        if (mStateMachine != null) {
            mStateMachine.doQuit();
        }
        return true;
    }