mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Changing the dogfood check to a static boolean to better handle proguard optimizations
Change-Id: I892b88ce1a007fafc23a73ad4193c5c4aa411d1b
This commit is contained in:
@@ -18,11 +18,12 @@ package com.android.launcher3.allapps;
|
||||
import android.content.Context;
|
||||
import android.support.v7.widget.RecyclerView;
|
||||
import android.util.Log;
|
||||
|
||||
import com.android.launcher3.AppInfo;
|
||||
import com.android.launcher3.Launcher;
|
||||
import com.android.launcher3.LauncherAppState;
|
||||
import com.android.launcher3.compat.AlphabeticIndexCompat;
|
||||
import com.android.launcher3.compat.UserHandleCompat;
|
||||
import com.android.launcher3.config.ProviderConfig;
|
||||
import com.android.launcher3.model.AppNameComparator;
|
||||
import com.android.launcher3.util.ComponentKey;
|
||||
|
||||
@@ -393,7 +394,7 @@ public class AlphabeticalAppsList {
|
||||
if (info != null) {
|
||||
mPredictedApps.add(info);
|
||||
} else {
|
||||
if (LauncherAppState.isDogfoodBuild()) {
|
||||
if (ProviderConfig.IS_DOGFOOD_BUILD) {
|
||||
Log.e(TAG, "Predicted app not found: " + ck.flattenToString(mLauncher));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user