Merge "Use hasBadge instead of isManagedProfile"
This commit is contained in:
@@ -48,7 +48,7 @@ public class IconDrawableFactory {
|
||||
}
|
||||
|
||||
protected boolean needsBadging(ApplicationInfo appInfo, @UserIdInt int userId) {
|
||||
return appInfo.isInstantApp() || mUm.isManagedProfile(userId);
|
||||
return appInfo.isInstantApp() || mUm.hasBadge(userId);
|
||||
}
|
||||
|
||||
@UnsupportedAppUsage
|
||||
|
||||
Reference in New Issue
Block a user