diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2018-04-04 10:19:06 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2018-04-04 10:19:30 -0700 |
commit | b959cfb44f27aeabbe1dec8509374ce505599e8d (patch) | |
tree | 727869cf32e6ac26982cdb9e1c9d2113230f5b23 /src/com/android/launcher3/model | |
parent | b49c89de398a97d07526ff7f22c0928aee3bbb76 (diff) | |
download | android_packages_apps_Trebuchet-b959cfb44f27aeabbe1dec8509374ce505599e8d.tar.gz android_packages_apps_Trebuchet-b959cfb44f27aeabbe1dec8509374ce505599e8d.tar.bz2 android_packages_apps_Trebuchet-b959cfb44f27aeabbe1dec8509374ce505599e8d.zip |
Reverting some debug logs
Bug: 72481685
Change-Id: Ib9e52504d9513bd7fdede28f6c0798ca7873083d
Diffstat (limited to 'src/com/android/launcher3/model')
-rw-r--r-- | src/com/android/launcher3/model/ModelWriter.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/com/android/launcher3/model/ModelWriter.java b/src/com/android/launcher3/model/ModelWriter.java index 72c703b2e..eba751524 100644 --- a/src/com/android/launcher3/model/ModelWriter.java +++ b/src/com/android/launcher3/model/ModelWriter.java @@ -50,7 +50,6 @@ import java.util.concurrent.Executor; public class ModelWriter { private static final String TAG = "ModelWriter"; - public static final boolean DEBUG_DELETE = true; private final Context mContext; private final LauncherModel mModel; @@ -257,14 +256,6 @@ public class ModelWriter { * Removes the specified items from the database */ public void deleteItemsFromDatabase(final Iterable<? extends ItemInfo> items) { - if (DEBUG_DELETE) { - // Log it on the colling thread to get the proper stack trace - FileLog.d(TAG, "Starting item deletion", new Exception()); - for (ItemInfo item : items) { - FileLog.d(TAG, "deleting item " + item); - } - FileLog.d(TAG, "Finished deleting items"); - } ModelVerifier verifier = new ModelVerifier(); mWorkerExecutor.execute(() -> { @@ -282,11 +273,6 @@ public class ModelWriter { * Remove the specified folder and all its contents from the database. */ public void deleteFolderAndContentsFromDatabase(final FolderInfo info) { - if (DEBUG_DELETE) { - // Log it on the colling thread to get the proper stack trace - FileLog.d(TAG, "Deleting folder " + info, new Exception()); - } - ModelVerifier verifier = new ModelVerifier(); mWorkerExecutor.execute(() -> { |