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

Commit bad5778c 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

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

Change-Id: Ib80cb345580c497ae6352b80d299bb915c29c4d7
parents 35b571b2 21440455
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;
    }