diff options
| author | 2023-09-28 14:06:14 -0400 | |
|---|---|---|
| committer | 2023-09-28 14:09:55 -0400 | |
| commit | 857ae16f1e68eed9a745cc3c0372d3191feac202 (patch) | |
| tree | acbd62bb2b3eabc3135c8ccf02290348c52d0682 /libs/androidfw/misc.cpp | |
| parent | d19378633058d16ab82ac23f833c84fef0296389 (diff) | |
Use new Icon API to restrict showing some drawables
Using the new API, we check if the Icon passed to a Tile can be loaded
by the current user and the app. If not, a default icon is shown.
Fixes: 276896619
Test: atest com.android.systemui.qs
Test: manual, using test app
Test: manual, CustomTile and dialog show correct icon
Change-Id: I25e3d390091c5fd290c83287ead3718aa7084edd
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions