[Android] Huawei Lollipop firmwares don't support mediastyle
Geoffrey Métais
git at videolan.org
Tue Nov 28 09:42:36 CET 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Nov 28 09:41:23 2017 +0100| [0de2ea114edf6524f04d30d940e06fd68e3ca564] | committer: Geoffrey Métais
Huawei Lollipop firmwares don't support mediastyle
> https://code.videolan.org/videolan/vlc-android/commit/0de2ea114edf6524f04d30d940e06fd68e3ca564
---
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