mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-26 06:11:19 +00:00
This reverts commit 04376d3bc8
.
This commit is contained in:
parent
04376d3bc8
commit
16769b137f
1 changed files with 1 additions and 11 deletions
|
@ -180,16 +180,6 @@ public class Constants {
|
||||||
* to syncthing core v0.14.53+.
|
* to syncthing core v0.14.53+.
|
||||||
*/
|
*/
|
||||||
public static Boolean osSupportsTLS12() {
|
public static Boolean osSupportsTLS12() {
|
||||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
|
return 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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue