diff options
author | Bruno Martins <bgcngm@gmail.com> | 2019-11-09 22:58:39 +0000 |
---|---|---|
committer | Arne Coucheron <arco68@gmail.com> | 2019-11-13 21:34:23 +0100 |
commit | 643a390b6557a25443c6ad07299d6dfcd26ec01d (patch) | |
tree | f50426df16446876b3f602a3eca2da65401b775b /src/com/android | |
parent | b6b08cb11b306077a2cdd88f642300078b561270 (diff) | |
download | android_packages_apps_Trebuchet-643a390b6557a25443c6ad07299d6dfcd26ec01d.tar.gz android_packages_apps_Trebuchet-643a390b6557a25443c6ad07299d6dfcd26ec01d.tar.bz2 android_packages_apps_Trebuchet-643a390b6557a25443c6ad07299d6dfcd26ec01d.zip |
Globally disable debug logging
This also ensures that developer options stay hidden.
Change-Id: I34f5ffb5815effc48bf18c2996d3b074b547472f
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/launcher3/Utilities.java | 4 |
1 files changed, 1 insertions, 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(), |