diff options
| author | 2023-05-10 19:55:53 -0500 | |
|---|---|---|
| committer | 2023-05-18 21:25:56 +0000 | |
| commit | 8a7ab0e910db436c7ff4f7d4b4195c3c8906ceb3 (patch) | |
| tree | ccb57a7f95173b7d13d9d1e945349564c5bf4210 /libs/hwui/HardwareBitmapUploader.cpp | |
| parent | 67981f61d493252a5760f587293b77d64409834f (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/hwui/HardwareBitmapUploader.cpp')
0 files changed, 0 insertions, 0 deletions