1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-26 06:11:19 +00:00

Revert "Fallback to http on Huawei Nova (CAN-Lxx) (fixes #262) (#263)"

This reverts commit 04376d3bc8.
This commit is contained in:
Catfriend1 2019-01-23 09:01:11 +01:00
parent 04376d3bc8
commit 16769b137f

View file

@ -180,16 +180,6 @@ public class Constants {
* to syncthing core v0.14.53+.
*/
public static Boolean osSupportsTLS12() {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
return false;
}
if ("huawei".equalsIgnoreCase(Build.MANUFACTURER)) {
if (com.nutomic.syncthingandroid.util.Util.containsIgnoreCase(Build.MODEL, "CAN")) {
return false;
}
}
return true;
return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP;
}
}