From 643a390b6557a25443c6ad07299d6dfcd26ec01d Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Sat, 9 Nov 2019 22:58:39 +0000 Subject: Globally disable debug logging This also ensures that developer options stay hidden. Change-Id: I34f5ffb5815effc48bf18c2996d3b074b547472f --- src/com/android/launcher3/Utilities.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/com/android/launcher3/Utilities.java b/src/com/android/launcher3/Utilities.java index 65aa3a775..4aa272203 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(), -- cgit v1.2.3