[Android] remove ChromeOS exclusion

This commit is contained in:
Adam Velebil 2024-04-09 12:25:32 +02:00
parent 4efc15a5c8
commit 0a7e39813f
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10
2 changed files with 0 additions and 7 deletions

View File

@ -523,10 +523,6 @@ class MainActivity : FlutterFragmentActivity() {
result.success(true)
}
"isArc" -> {
val regex = ".+_cheets|cheets_.+".toRegex()
result.success(Build.DEVICE?.matches(regex) ?: false)
}
else -> logger.warn("Unknown app method: {}", methodCall.method)
}
}

View File

@ -54,8 +54,6 @@ Future<Widget> initialize() async {
_initLicenses();
final isArc = await getAndroidIsArc();
return ProviderScope(
overrides: [
prefProvider.overrideWithValue(await SharedPreferences.getInstance()),
@ -115,7 +113,6 @@ Future<Widget> initialize() async {
// Disable unimplemented feature
..setFeature(features.piv, false)
..setFeature(features.otp, false)
..setFeature(features.fido, !isArc)
..setFeature(features.management, false);
});