[Android] Huawei Lollipop firmwares don't support mediastyle
Geoffrey Métais
git at videolan.org
Wed Nov 29 09:40:40 CET 2017
vlc-android | branch: 2.5.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Nov 28 09:41:23 2017 +0100| [ce9af1926340908682494e5ae85cdcec55acc083] | committer: Geoffrey Métais
Huawei Lollipop firmwares don't support mediastyle
(cherry picked from commit 0de2ea114edf6524f04d30d940e06fd68e3ca564)
> https://code.videolan.org/videolan/vlc-android/commit/ce9af1926340908682494e5ae85cdcec55acc083
---
vlc-android/src/org/videolan/vlc/util/AndroidDevices.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java b/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java
index 8f82ce2b9..312016491 100644
--- a/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java
+++ b/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java
@@ -205,7 +205,7 @@ public class AndroidDevices {
}
private static boolean isManufacturerBannedForMediastyleNotifications() {
- if (!AndroidUtil.isLolliPopOrLater)
+ if (!AndroidUtil.isMarshMallowOrLater)
for (String manufacturer : noMediaStyleManufacturers)
if (Build.MANUFACTURER.toLowerCase(Locale.getDefault()).contains(manufacturer))
return true;
More information about the Android
mailing list