summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherModel.java
diff options
context:
space:
mode:
authorChris Wren <cwren@android.com>2014-04-16 13:37:00 -0400
committerChris Wren <cwren@android.com>2014-04-16 13:37:00 -0400
commitb358f813c93ac0d6c4f31058947efd16b188cd1e (patch)
tree98fcb9a69d322781bf9e1c3e6ea859de326957bb /src/com/android/launcher3/LauncherModel.java
parentad9c776bc1cae8af3db2bdf895a2f65ca9837d96 (diff)
downloadandroid_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/LauncherModel.java')
-rw-r--r--src/com/android/launcher3/LauncherModel.java5
1 files changed, 3 insertions, 2 deletions
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();