commit | 42b83a604f2b7940a1c2c9086aaf920644f3c92b | [log] [tgz] |
---|---|---|
author | Tony Mak <tonymak@google.com> | Wed Apr 11 12:40:08 2018 +0100 |
committer | Tony Mak <tonymak@google.com> | Wed Apr 11 13:55:57 2018 +0000 |
tree | 25b46cbd768efa844b7f31798e90a7306558c397 | |
parent | 1f02712e7a643226211fc9f7957bf4b2215fe933 [diff] |
Badge the icon properly in policy transparency dialog Following the pattern used within the Settings app to badge the icon. For location setting, the dialog is shown in work profile user. Thus ai.loadIcon badged the icon for the first time and getUserBadgedIcon baged the second time. Fixes: 77844928 Test: adb shell wm density 560 -> suspend an app -> launch the app -> observe the dialog. Repeat the test with original density. Change-Id: Ie79c3d9aa7b1a155edc74816850b1349fbd2d606