Let psApp change according to theme.
Since psApp is supposedly a system app, private space team requests that the icon changes according to theme like previous "install" icon. To do so Launcher can apply the same treatment to the bitmapInfo as for the private space app. bug: 360313403 Test: manually video in bug Flag: android.multiuser.enable_moving_content_into_private_space Change-Id: I78f0d0dbb12d5cfba2cac7e7b53714e424a49660
This commit is contained in:
1 parent
0e3de56211
commit
59ed963a06
2 files changed
+9
-5
No files matched your search
@@ -435,6 +435,7 @@ public class AlphabeticalAppsList<T extends Context & ActivityContext> implement
|
||||
}
|
||||
if (currentItem.itemInfo != null && Objects.equals(
|
||||
currentItem.itemInfo.getTargetPackage(), PRIVATE_SPACE_PACKAGE)) {
|
||||
currentItem.itemInfo.bitmap = mPrivateProviderManager.preparePSBitmapInfo();
|
||||
currentItem.itemInfo.bitmap.creationFlags |= FLAG_NO_BADGE;
|
||||
currentItem.itemInfo.contentDescription =
|
||||
mPrivateProviderManager.getPsAppContentDesc();
|
||||
|
||||
Reference in new issue
Block a user