[Android] Add isAmazon field for device descrption
Geoffrey Métais
git at videolan.org
Fri Nov 17 18:25:21 CET 2017
vlc-android | branch: 2.5.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Nov 17 11:03:25 2017 +0100| [d2016a44dd614bf2c408ffac970d5abcec617c0b] | committer: Geoffrey Métais
Add isAmazon field for device descrption
(cherry picked from commit 5ad3cd8dbd929f442255a1210f7858b4f9132e9a)
> https://code.videolan.org/videolan/vlc-android/commit/d2016a44dd614bf2c408ffac970d5abcec617c0b
---
vlc-android/src/org/videolan/vlc/util/AndroidDevices.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java b/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java
index 0a31f7a9d..8f82ce2b9 100644
--- a/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java
+++ b/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java
@@ -59,6 +59,7 @@ public class AndroidDevices {
public final static boolean hasNavBar;
public final static boolean hasTsp;
public final static boolean isAndroidTv;
+ public final static boolean isAmazon = TextUtils.equals(Build.MANUFACTURER,"Amazon");
public final static boolean isChromeBook;
public static final boolean hasPiP;
public final static boolean showInternalStorage = !TextUtils.equals(Build.BRAND, "Swisscom") && !TextUtils.equals(Build.BOARD, "sprint");
More information about the Android
mailing list