diff options
author | Bruno Martins <bgcngm@gmail.com> | 2019-11-09 22:58:39 +0000 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2019-12-12 15:18:17 +0200 |
commit | db608f279f8540f4ae10fcce5dac51aeb2b84b5b (patch) | |
tree | 01307b5af83a88ffa9a78ba333df7e150985242b | |
parent | c70f761b489b61c84259a2cbce52855b8f7d2076 (diff) | |
download | android_packages_apps_Trebuchet-db608f279f8540f4ae10fcce5dac51aeb2b84b5b.tar.gz android_packages_apps_Trebuchet-db608f279f8540f4ae10fcce5dac51aeb2b84b5b.tar.bz2 android_packages_apps_Trebuchet-db608f279f8540f4ae10fcce5dac51aeb2b84b5b.zip |
Globally disable debug logging
This also ensures that developer options stay hidden.
Change-Id: I34f5ffb5815effc48bf18c2996d3b074b547472f
-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 ba122f944..9c27f4892 100644 --- a/src/com/android/launcher3/Utilities.java +++ b/src/com/android/launcher3/Utilities.java @@ -135,9 +135,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(), |