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

Commit 8909909b authored by Tobias Dubois's avatar Tobias Dubois Committed by android-build-merger
Browse files

Merge "Lint fix: IS_DEBUG_DEVICE: Implied default locale" am: 1194b218

am: 9955f04d

Change-Id: I96e92da2ba3160a4d87a057535528e31515cead2
parents 4cb241ff 9955f04d
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -110,8 +110,9 @@ 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")
            || Build.TYPE.toLowerCase().equals("eng");
    public static final boolean IS_DEBUG_DEVICE =
            Build.TYPE.toLowerCase(Locale.ROOT).contains("debug") ||
            Build.TYPE.toLowerCase(Locale.ROOT).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";