Google Play Music no longer appears in the "Complete action using" list for the INTENT_ACTION_MEDIA_PLAY_FROM_SEARCH
intent. I know this used to work on 2.3 and Pandora and Spotify still show up. Has anyone faced this issue before?
Intent intent = new Intent(MediaStore.INTENT_ACTION_MEDIA_PLAY_FROM_SEARCH);
intent.putExtra(SearchManager.QUERY, artistName);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent);
Peeking into the music apk, I can still that the activity is still there with the correct action in the intent-filter, but it looks like they're missing the Category Default that was original posted in the blog post announcing this feature
<activity android:name="com.google.android.music.VoiceActionsActivity" android:exported="true" android:process=":ui" android:launchMode="singleTask">
<intent-filter>
<action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH" />
</intent-filter>
</activity>