[Android] Add isAmazon field for device descrption

Geoffrey Métais git at videolan.org
Fri Nov 17 16:20:05 CET 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Nov 17 11:03:25 2017 +0100| [5ad3cd8dbd929f442255a1210f7858b4f9132e9a] | committer: Geoffrey Métais

Add isAmazon field for device descrption

> https://code.videolan.org/videolan/vlc-android/commit/5ad3cd8dbd929f442255a1210f7858b4f9132e9a
---

 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