AVRCP Controller Media Controller not ready

Flip two lines of code to ensure that the media controller is set before
updating the available actions.  Prevents a race condition where a media
player responds to a media state change before the controller is
available.

Bug: 147469352
Test: Inspection (And many on off cycles)
Change-Id: I2aad90c1028ab0ca81da09233e7fb49bf18d89c9
(cherry picked from commit af37bf1378977fde701d70daa3100923674a78d6)

Merged-In: I2aad90c1028ab0ca81da09233e7fb49bf18d89c9
Change-Id: Ieac01f46658d8e426666b8b316caf69d31fc4c5a
diff --git a/android/app/src/com/android/bluetooth/avrcpcontroller/AvrcpControllerStateMachine.java b/android/app/src/com/android/bluetooth/avrcpcontroller/AvrcpControllerStateMachine.java
index 8704b07..c319364 100644
--- a/android/app/src/com/android/bluetooth/avrcpcontroller/AvrcpControllerStateMachine.java
+++ b/android/app/src/com/android/bluetooth/avrcpcontroller/AvrcpControllerStateMachine.java
@@ -296,9 +296,9 @@
         @Override
         public void enter() {
             if (mMostRecentState == BluetoothProfile.STATE_CONNECTING) {
+                BluetoothMediaBrowserService.addressedPlayerChanged(mSessionCallbacks);
                 BluetoothMediaBrowserService.notifyChanged(mAddressedPlayer.getPlaybackState());
                 broadcastConnectionStateChanged(BluetoothProfile.STATE_CONNECTED);
-                BluetoothMediaBrowserService.addressedPlayerChanged(mSessionCallbacks);
             } else {
                 logD("ReEnteringConnected");
             }