summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJin Seok Park <jinpark@google.com>2021-01-27 13:53:27 +0900
committerJin Seok Park <jinpark@google.com>2021-02-05 22:00:55 +0900
commitb2fcacab9ea88d219ac636407d026b89c3566f06 (patch)
treef6e006c47f3cb3687a046d4918496cd9f1c9ba00 /tools/aapt2/java/JavaClassGenerator.cpp
parentcf6cd1ba41ae8343474995e02df9b3d3ac0261d0 (diff)
[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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions