mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 02:08:20 +00:00
Merge "Lint fix: IS_DEBUG_DEVICE: Implied default locale"
This commit is contained in:
@@ -109,8 +109,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";
|
||||
|
||||
Reference in New Issue
Block a user