summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2019-11-09 22:58:39 (GMT)
committerArne Coucheron <arco68@gmail.com>2019-11-13 20:34:23 (GMT)
commit643a390b6557a25443c6ad07299d6dfcd26ec01d (patch)
treef50426df16446876b3f602a3eca2da65401b775b
parentb6b08cb11b306077a2cdd88f642300078b561270 (diff)
downloadandroid_packages_apps_Trebuchet-643a390b6557a25443c6ad07299d6dfcd26ec01d.zip
android_packages_apps_Trebuchet-643a390b6557a25443c6ad07299d6dfcd26ec01d.tar.gz
android_packages_apps_Trebuchet-643a390b6557a25443c6ad07299d6dfcd26ec01d.tar.bz2
Globally disable debug logging
This also ensures that developer options stay hidden. Change-Id: I34f5ffb5815effc48bf18c2996d3b074b547472f
-rw-r--r--src/com/android/launcher3/Utilities.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/launcher3/Utilities.java b/src/com/android/launcher3/Utilities.java
index 65aa3a7..4aa2722 100644
--- a/src/com/android/launcher3/Utilities.java
+++ b/src/com/android/launcher3/Utilities.java
@@ -141,9 +141,7 @@ public final class Utilities {
* Indicates if the device has a debug build. Should only be used to store additional info or
* add extra logging and not for changing the app behavior.
*/
- public static final boolean IS_DEBUG_DEVICE =
- Build.TYPE.toLowerCase(Locale.ROOT).contains("debug") ||
- Build.TYPE.toLowerCase(Locale.ROOT).equals("eng");
+ public static final boolean IS_DEBUG_DEVICE = false;
public static boolean isDevelopersOptionsEnabled(Context context) {
return Settings.Global.getInt(context.getApplicationContext().getContentResolver(),