Compare commits

...

3 commits

Author SHA1 Message Date
dcb1c69b1c disable VersionChecker
I really don't want to be stuck on vacation with a broken app and no way
to build a new one.
2024-10-18 23:20:56 +02:00
6fa2c9cf2f disable SignatureVerifierPlugin
I really don't want to be stuck on vacation with a broken app and no way
to build a new one.
2024-10-18 23:20:56 +02:00
f9109d6b3b enable UAM SMBs with Libre 2
See https://github.com/nightscout/AndroidAPS/issues/3181.
2024-10-18 23:20:23 +02:00
3 changed files with 5 additions and 3 deletions

View file

@ -91,8 +91,6 @@ class SafetyPlugin @Inject constructor(
}
override fun isAdvancedFilteringEnabled(value: Constraint<Boolean>): Constraint<Boolean> {
val bgSource = activePlugin.activeBgSource
if (!bgSource.advancedFilteringSupported()) value.set(false, rh.gs(R.string.smbalwaysdisabled), this)
return value
}

View file

@ -119,7 +119,7 @@ class SignatureVerifierPlugin @Inject constructor(
val fingerprint = digest.digest(signature.toByteArray())
for (cert in revokedCerts!!) {
if (Arrays.equals(cert, fingerprint)) {
return true
return false
}
}
}

View file

@ -34,6 +34,10 @@ class VersionCheckerUtilsImpl @Inject constructor(
private fun isConnected(): Boolean = receiverStatusStore.isConnected
override fun triggerCheckVersion() {
if (true) {
onSameVersionDetected()
return
}
if (!sp.contains(R.string.key_last_successful_version_check_timestamp)) {
// On a new installation, set it as 30 days old in order to warn that there is a new version.