mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Remove expensive logging.
Removed expensive logs added for debugging. Removed unused code. Fixes: 168788486 Test: none Change-Id: I0579275633361d2d67399c773e6376af74c9f1b1
This commit is contained in:
@@ -32,13 +32,11 @@ import com.android.launcher3.model.BgDataModel.Callbacks;
|
||||
import com.android.launcher3.model.data.AppInfo;
|
||||
import com.android.launcher3.model.data.FolderInfo;
|
||||
import com.android.launcher3.model.data.ItemInfo;
|
||||
import com.android.launcher3.model.data.ItemInfoWithIcon;
|
||||
import com.android.launcher3.model.data.LauncherAppWidgetInfo;
|
||||
import com.android.launcher3.model.data.WorkspaceItemInfo;
|
||||
import com.android.launcher3.pm.InstallSessionHelper;
|
||||
import com.android.launcher3.pm.PackageInstallInfo;
|
||||
import com.android.launcher3.util.GridOccupancy;
|
||||
import com.android.launcher3.util.IOUtils;
|
||||
import com.android.launcher3.util.IntArray;
|
||||
import com.android.launcher3.util.PackageManagerHelper;
|
||||
|
||||
@@ -182,13 +180,6 @@ public class AddWorkspaceItemsTask extends BaseModelUpdateTask {
|
||||
|
||||
// log bitmap and label
|
||||
FileLog.d(LOG, "Adding item info to workspace: " + itemInfo);
|
||||
if (itemInfo instanceof ItemInfoWithIcon) {
|
||||
ItemInfoWithIcon infoWithIcon = (ItemInfoWithIcon) itemInfo;
|
||||
|
||||
FileLog.d(LOG, "Item info icon base 64 string: "
|
||||
+ infoWithIcon.bitmap.icon == null
|
||||
? "null" : IOUtils.toBase64String(infoWithIcon.bitmap.icon));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user