diff options
author | Chris Wren <cwren@android.com> | 2014-04-16 13:37:00 -0400 |
---|---|---|
committer | Chris Wren <cwren@android.com> | 2014-04-16 13:37:00 -0400 |
commit | b358f813c93ac0d6c4f31058947efd16b188cd1e (patch) | |
tree | 98fcb9a69d322781bf9e1c3e6ea859de326957bb /src/com/android/launcher3 | |
parent | ad9c776bc1cae8af3db2bdf895a2f65ca9837d96 (diff) | |
download | android_packages_apps_Trebuchet-b358f813c93ac0d6c4f31058947efd16b188cd1e.tar.gz android_packages_apps_Trebuchet-b358f813c93ac0d6c4f31058947efd16b188cd1e.tar.bz2 android_packages_apps_Trebuchet-b358f813c93ac0d6c4f31058947efd16b188cd1e.zip |
additional debug logs to track welcome back behavior.
Bug: 13568891
Change-Id: I359202ce59b3444e46331485ea22f542ae908e36
Diffstat (limited to 'src/com/android/launcher3')
-rw-r--r-- | src/com/android/launcher3/LauncherAppState.java | 2 | ||||
-rw-r--r-- | src/com/android/launcher3/LauncherModel.java | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/com/android/launcher3/LauncherAppState.java b/src/com/android/launcher3/LauncherAppState.java index 5ddafeab3..ad0101979 100644 --- a/src/com/android/launcher3/LauncherAppState.java +++ b/src/com/android/launcher3/LauncherAppState.java @@ -30,7 +30,7 @@ public class LauncherAppState implements DeviceProfile.DeviceProfileCallbacks { private static final String TAG = "LauncherAppState"; private static final String SHARED_PREFERENCES_KEY = "com.android.launcher3.prefs"; - private static final boolean DEBUG = false; + private static final boolean DEBUG = true; // STOPSHIP(cwren) temporary for debugging private final AppFilter mAppFilter; private final BuildInfo mBuildInfo; diff --git a/src/com/android/launcher3/LauncherModel.java b/src/com/android/launcher3/LauncherModel.java index e5eca625b..9311723ae 100644 --- a/src/com/android/launcher3/LauncherModel.java +++ b/src/com/android/launcher3/LauncherModel.java @@ -69,12 +69,13 @@ import java.util.concurrent.atomic.AtomicBoolean; */ public class LauncherModel extends BroadcastReceiver { static final boolean DEBUG_LOADERS = false; + private static final boolean DEBUG_RECEIVER = true; // STOPSHIP(cwren) temporary for debugging + static final String TAG = "Launcher.Model"; // true = use a "More Apps" folder for non-workspace apps on upgrade // false = strew non-workspace apps across the workspace on upgrade public static final boolean UPGRADE_USE_MORE_APPS_FOLDER = false; - public static final int LOADER_FLAG_NONE = 0; public static final int LOADER_FLAG_CLEAR_WORKSPACE = 1 << 0; public static final int LOADER_FLAG_MIGRATE_SHORTCUTS = 1 << 1; @@ -1161,7 +1162,7 @@ public class LauncherModel extends BroadcastReceiver { */ @Override public void onReceive(Context context, Intent intent) { - if (DEBUG_LOADERS) Log.d(TAG, "onReceive intent=" + intent); + if (DEBUG_RECEIVER) Log.d(TAG, "onReceive intent=" + intent); final String action = intent.getAction(); |