Catch BadParcelableException when checking extras
The extras found in CustomAction are provided by user apps when they want to add custom commands to the session with extra information. To avoid unneeded updates the actions compared to the currently known actions, along with their extras, but those may not have a Parcelable implementation thus will fail to be un-parcelled. Simply catch the exception when comparing the extras as those aren't used anywhere else in code and only sent back to the user-side session. Test: m; media 3 app Change-Id: I5f755d6a09266372ea724b08c97a11e3ca913569
Loading
Please register or sign in to comment