Enabling plugins on Launcher debug builds
Test: Verified on device Change-Id: I1ffeee62ad96b18ee8006349afaf14b067f56a69
This commit is contained in:
@@ -19,6 +19,7 @@ import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
|
||||
import android.content.Context;
|
||||
import android.os.Looper;
|
||||
|
||||
import com.android.launcher3.Utilities;
|
||||
import com.android.systemui.shared.plugins.PluginInitializer;
|
||||
|
||||
public class PluginInitializerImpl implements PluginInitializer {
|
||||
@@ -44,4 +45,8 @@ public class PluginInitializerImpl implements PluginInitializer {
|
||||
@Override
|
||||
public void handleWtfs() {
|
||||
}
|
||||
|
||||
public boolean isDebuggable() {
|
||||
return Utilities.IS_DEBUG_DEVICE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user