commit | 14faee73e7810cd9239f734eb7472f258e427a63 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Thu Jan 28 22:37:06 2021 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Jan 28 22:37:06 2021 +0000 |
tree | 1b86b12033314b065d82e6d7ae5fb1093f8a1326 | |
parent | 564ae64e04eb31957299545fb4c9bf21a658368c [diff] | |
parent | 311f8badcbb98de863b8e9484faea221768cc43f [diff] |
Merge "Enabling plugins on Launcher debug builds" into sc-dev
diff --git a/quickstep/src/com/android/launcher3/uioverrides/plugins/PluginInitializerImpl.java b/quickstep/src/com/android/launcher3/uioverrides/plugins/PluginInitializerImpl.java index 7beb9db..d14e8ef 100644 --- a/quickstep/src/com/android/launcher3/uioverrides/plugins/PluginInitializerImpl.java +++ b/quickstep/src/com/android/launcher3/uioverrides/plugins/PluginInitializerImpl.java
@@ -19,6 +19,7 @@ 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 @@ @Override public void handleWtfs() { } + + public boolean isDebuggable() { + return Utilities.IS_DEBUG_DEVICE; + } }