commit | df14df341daca2c1e5ddfb9b115da39b24e7b7aa | [log] [tgz] |
---|---|---|
author | Beth Thibodeau <ethibodeau@google.com> | Mon Aug 15 16:24:29 2022 -0500 |
committer | Beth Thibodeau <ethibodeau@google.com> | Fri Aug 19 18:15:22 2022 +0000 |
tree | ad4998e2a66abb1f416b4f112891732ef3f86163 | |
parent | f02444f0b35c82ca7618d58e75dcdb2fd23a12b8 [diff] |
Improve app name handling Substitute app name requires a permission, which wasn't being checked in NotificationManagerService. Now it will be stripped out if the app isn't allowed to use it. In addition now MediaDataManager simply checks that extra when getting the app name, instead of recovering the builder to get it. Bug: 242044723 Test: atest NotificationManagerServiceTest MediaDataManagerTest Test: manual Change-Id: I2529f1a76a2bd9036899d5341f8dd47677690d1d