Skip to content
Snippets Groups Projects
Commit 0de2ea11 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Huawei Lollipop firmwares don't support mediastyle

parent e50101a6
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment