Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0f00b30 authored by Matthew Ng's avatar Matthew Ng
Browse files

Check for eng build as a debug build

Test: compile with eng lunch and see if you get debug settings
Change-Id: If94c4d49b5fb12cd46d51197e0a60ea6d0b0a01e
parent 55156007
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -105,7 +105,8 @@ 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().contains("debug");
    public static final boolean IS_DEBUG_DEVICE = Build.TYPE.toLowerCase().contains("debug")
            || Build.TYPE.toLowerCase().equals("eng");

    // An intent extra to indicate the horizontal scroll of the wallpaper.
    public static final String EXTRA_WALLPAPER_OFFSET = "com.android.launcher3.WALLPAPER_OFFSET";