[Media ML] Replace using PendingIntent hidden APIs
Replace using PendingIntent.getIntent() with the newly exposed APIs: queryIntentComponents isActivity isBroadcast isService isForegroundService Also throw IllegalArgumentException when a PendingIntent with an implicit intent that cannot be resolved to a specific component name is set as a media button receiver. Bug: 161334442 Test: atest CtsMediaTestCases:android.media.cts.MediaSessionTest Change-Id: I19ac844bedea30f4a42bd292acaf33e15e8e5d15
Loading
Please register or sign in to comment