Merge "Small code formatting changes" into jb-ub-gel-agar
This commit is contained in:
committed by
Android (Google) Code Review
commit
acdaf3cd63
@@ -55,6 +55,8 @@ public class DeleteDropTarget extends ButtonDropTarget {
|
||||
private TransitionDrawable mRemoveDrawable;
|
||||
private TransitionDrawable mCurrentDrawable;
|
||||
|
||||
private boolean mWaitingForUninstall = false;
|
||||
|
||||
public DeleteDropTarget(Context context, AttributeSet attrs) {
|
||||
this(context, attrs, 0);
|
||||
}
|
||||
@@ -251,7 +253,6 @@ public class DeleteDropTarget extends ButtonDropTarget {
|
||||
return AppsCustomizePagedView.DISABLE_ALL_APPS && isWorkspaceOrFolderApplication(d);
|
||||
}
|
||||
|
||||
private boolean mWaitingForUninstall = false;
|
||||
private void completeDrop(final DragObject d) {
|
||||
ItemInfo item = (ItemInfo) d.dragInfo;
|
||||
boolean wasWaitingForUninstall = mWaitingForUninstall;
|
||||
|
||||
@@ -79,7 +79,8 @@ class ShortcutInfo extends ItemInfo {
|
||||
}
|
||||
mIcon = info.mIcon; // TODO: should make a copy here. maybe we don't need this ctor at all
|
||||
customIcon = info.customIcon;
|
||||
initFlagsAndFirstInstallTime(getPackageInfo(context, intent.getComponent().getPackageName()));
|
||||
initFlagsAndFirstInstallTime(
|
||||
getPackageInfo(context, intent.getComponent().getPackageName()));
|
||||
}
|
||||
|
||||
/** TODO: Remove this. It's only called by ApplicationInfo.makeShortcut. */
|
||||
@@ -137,7 +138,8 @@ class ShortcutInfo extends ItemInfo {
|
||||
intent.setComponent(className);
|
||||
intent.setFlags(launchFlags);
|
||||
itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_APPLICATION;
|
||||
initFlagsAndFirstInstallTime(getPackageInfo(context, intent.getComponent().getPackageName()));
|
||||
initFlagsAndFirstInstallTime(
|
||||
getPackageInfo(context, intent.getComponent().getPackageName()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user