AVRCP: Fix NPE on adding non-browsable player

Test: boot phone with unbrowsable app installed
Change-Id: I7131d49b4c3c5bb86f9206b4214b80de06ec025c
Fixes: 37224369
Bug: 37197672
(cherry picked from commit eb48cddfe0630c165baae581c65c1fe0c42a4842)
(cherry picked from commit 9ab3d6841511bc7d58677f13a1f9862b6daa0c01)
diff --git a/src/com/android/bluetooth/avrcp/AvrcpHelperClasses.java b/src/com/android/bluetooth/avrcp/AvrcpHelperClasses.java
index 185afac..6fb7f9c 100644
--- a/src/com/android/bluetooth/avrcp/AvrcpHelperClasses.java
+++ b/src/com/android/bluetooth/avrcp/AvrcpHelperClasses.java
@@ -215,7 +215,7 @@
 
     void setMediaController(MediaController mediaController) {
         if (mediaController != null) {
-            this.packageName = this.mediaController.getPackageName();
+            this.packageName = mediaController.getPackageName();
         }
         this.mediaController = mediaController;
     }