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

Commit 2975c219 authored by Pavlin Radoslavov's avatar Pavlin Radoslavov Committed by android-build-merger
Browse files

Merge "Add a missing null-pointer check in HeadsetService.stop()" am: 7f0f52c9 am: 21440455

am: bad5778c

* commit 'bad5778c':
  Add a missing null-pointer check in HeadsetService.stop()

Change-Id: Iecb00c70319413a3002e1d8a9177b63865fe85f7
parents de253eca bad5778c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -78,7 +78,9 @@ public class HeadsetService extends ProfileService {
        } catch (Exception e) {
            Log.w(TAG,"Unable to unregister headset receiver",e);
        }
        if (mStateMachine != null) {
            mStateMachine.doQuit();
        }
        return true;
    }