AOSP Music app: Handle audio VIEW and PICK
Let Music app be the default AOSP intent handler for
- android.intent.action.PICK for vnd.android.cursor.dir/audio
- android.intent.action.VIEW for mimeType audio/* and ogg/x-ogg
In TrackBrowserActivity, use intent.getParcelableExtra() to prevent NPE
In MediaPlaybackActivity, add null check to prevent NPE
Bug: 78229083
Test: run CtsProviderTestCases
Change-Id: I42fcd31b1b16c02ad9b887d986013184daf7ef09
(cherry picked from commit 6ca14bc397b314e8c7d48988e6bcb455ac716264)
5 files changed