additional debug logs to track welcome back behavior.
Bug: 13568891 Change-Id: I359202ce59b3444e46331485ea22f542ae908e36
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user