diff options
| author | 2023-05-10 19:55:53 -0500 | |
|---|---|---|
| committer | 2023-05-19 00:49:53 +0000 | |
| commit | c5dc24bc1ff971cbb8e12f9f058786d7f95e5eaa (patch) | |
| tree | d710c1d9be44dd96418055f443e8d0f6578d38d7 /cmds/bootanimation/BootAnimation.cpp | |
| parent | a6cc8ca9af893d52bb8a86e7884bf0cc7e927f11 (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)
(cherry picked from commit 8a7ab0e910db436c7ff4f7d4b4195c3c8906ceb3)
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions