summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Beth Thibodeau <ethibodeau@google.com> 2023-05-10 19:55:53 -0500
committer Beth Thibodeau <ethibodeau@google.com> 2023-05-18 21:25:56 +0000
commit8a7ab0e910db436c7ff4f7d4b4195c3c8906ceb3 (patch)
treeccb57a7f95173b7d13d9d1e945349564c5bf4210 /libs/androidfw/ApkParsing.cpp
parent67981f61d493252a5760f587293b77d64409834f (diff)
Prevent media controls with no title
Apps targeting U+ will be required to include a non-empty title when posting media controls. If the title is blank, the notification will be cancelled and report an error back to the app. For apps not yet targeting U, a placeholder string with the app name will be used for the title instead. Bug: 274775190 Test: atest MediaDataManagerTest Test: manual with test app and YTM Change-Id: I2db9edd269c2b62ee7de6714875fa098567510b6 Merged-In: I2db9edd269c2b62ee7de6714875fa098567510b6 (cherry picked from commit e3a971d814f33485277dd7b25e2d21e63ca6c334)
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions