From 73511d722cfd303d69ef676c78391023912df894 Mon Sep 17 00:00:00 2001 From: Aitor Viana Date: Thu, 15 Aug 2024 22:22:09 +0100 Subject: [PATCH 1/2] Add fdroid dummy for PrivacyProUnifiedFeedback (#4907) Task/Issue URL: https://app.asana.com/0/488551667048375/1208047268001821/f ### Description Provide a dummy for fdroid builds ### Steps to test this PR Before the fix `./gradlew assembleFR` would fail After the fix it should build normally --- .../DummyPrivacyProUnifiedFeedback.kt | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 subscriptions/subscriptions-dummy-impl/src/main/java/com/duckduckgo/subscriptions/impl/feedback/DummyPrivacyProUnifiedFeedback.kt diff --git a/subscriptions/subscriptions-dummy-impl/src/main/java/com/duckduckgo/subscriptions/impl/feedback/DummyPrivacyProUnifiedFeedback.kt b/subscriptions/subscriptions-dummy-impl/src/main/java/com/duckduckgo/subscriptions/impl/feedback/DummyPrivacyProUnifiedFeedback.kt new file mode 100644 index 000000000000..fb1f38fc92c1 --- /dev/null +++ b/subscriptions/subscriptions-dummy-impl/src/main/java/com/duckduckgo/subscriptions/impl/feedback/DummyPrivacyProUnifiedFeedback.kt @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2024 DuckDuckGo + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.duckduckgo.subscriptions.impl.feedback + +import com.duckduckgo.di.scopes.AppScope +import com.duckduckgo.subscriptions.api.PrivacyProUnifiedFeedback +import com.duckduckgo.subscriptions.api.PrivacyProUnifiedFeedback.PrivacyProFeedbackSource +import com.squareup.anvil.annotations.ContributesBinding +import javax.inject.Inject + +@ContributesBinding(AppScope::class) +class DummyPrivacyProUnifiedFeedback @Inject constructor() : PrivacyProUnifiedFeedback { + override suspend fun shouldUseUnifiedFeedback(source: PrivacyProFeedbackSource): Boolean { + return false + } +} From 73c9c536321c0d55e12fb68d1587a1069ffff927 Mon Sep 17 00:00:00 2001 From: Aitor Viana Date: Thu, 15 Aug 2024 22:25:33 +0100 Subject: [PATCH 2/2] Updated release notes and version number for new release - 5.212.1 --- app/version/version.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/version/version.properties b/app/version/version.properties index e3c8a434407f..8588b612032a 100644 --- a/app/version/version.properties +++ b/app/version/version.properties @@ -1 +1 @@ -VERSION=5.212.0 \ No newline at end of file +VERSION=5.212.1 \ No newline at end of file