[android] Also consider Android 7.1 (API 25) to be Samsung7

which is used for disabling certain features due to crashes there.
parent a159b23d
Pipeline #2927 passed with stage
in 11 minutes and 7 seconds
......@@ -258,7 +258,8 @@ public class UiUtils {
}
public static boolean isSamsung7() {
return SDK_INT == 24 && MANUFACTURER.equalsIgnoreCase("Samsung");
return (SDK_INT == 24 || SDK_INT == 25) &&
MANUFACTURER.equalsIgnoreCase("Samsung");
}
public static void setFilterTouchesWhenObscured(View v, boolean filter) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment