AVRCP, HIDD: Fix crash if stop() is called before start()

Add a check for sInstance != null

Test: toggle airplane mode
Bug: 80193890
Change-Id: I92913858f387015791cfee9818112de81d2a5fb8
(cherry picked from commit 5f4c5ccee592a2bdaef2ac8703537afb13edb82a)
2 files changed
tree: 8220078adfc93271fe31a2f0cd6b67a82ec26ef3
  1. android/