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
1 file changed
tree: adb0c982e362bd11a420e1c621132e3325f41e8e
  1. android/