Converting FastBitmapDrawable to kotlin
Will be adding more functionality in followup cl, and this will make it easier Bug: 421146818 Flag: EXEMPT refactor Test: atest FastBitmapDrawableTest Change-Id: I7ce3ca0dc126efe410c8b7ebec6c601666b7cb54
This commit is contained in:
1 parent
baacf9f4df
commit
e674891dfa
8 files changed
+56
-72
No files matched your search
@@ -306,7 +306,7 @@ public class PendingAppWidgetHostView extends LauncherAppWidgetHostView
|
||||
// 3) App icon in the center with a setup icon on the top left corner.
|
||||
if (mDisabledForSafeMode) {
|
||||
FastBitmapDrawable disabledIcon = info.newIcon(getContext());
|
||||
disabledIcon.setIsDisabled(true);
|
||||
disabledIcon.setDisabled(true);
|
||||
mCenterDrawable = disabledIcon;
|
||||
mSettingIconDrawable = null;
|
||||
} else if (isReadyForClickSetup()) {
|
||||
|
||||
Reference in new issue
Block a user