Move privateSpace app location to after the header
Updated bubbleTextView that defaults creationFlag to 0 thus applying the badge on the icon when there shouldn't be a badge. Tested this by installing the privateSpace.apk and seeing that I've successfully removed the original install icon. bug: 360313403 Test: manually - https://hsv.googleplex.com/4736879982280704 Flag: android.multiuser.enable_moving_content_into_private_space Change-Id: I50a277457c9c3f78214b53e4391535a2c45dca55
This commit is contained in:
1 parent
aa39accd49
commit
5a118cb57d
2 files changed
+29
-2
No files matched your search
@@ -483,7 +483,7 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
|
||||
}
|
||||
|
||||
private void setNonPendingIcon(ItemInfoWithIcon info) {
|
||||
int flags = shouldUseTheme() ? FLAG_THEMED : 0;
|
||||
int flags = shouldUseTheme() ? FLAG_THEMED : info.bitmap.creationFlags;
|
||||
// Remove badge on icons smaller than 48dp.
|
||||
if (mHideBadge || mDisplay == DISPLAY_SEARCH_RESULT_SMALL) {
|
||||
flags |= FLAG_NO_BADGE;
|
||||
|
||||
Reference in new issue
Block a user