File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
app/src/main/java/com/duckduckgo/app/browser/weblocalstorage
privacy-config/privacy-config-impl/src/main/java/com/duckduckgo/privacy/config/impl/network Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -89,13 +89,9 @@ class DuckDuckGoWebLocalStorageManager @Inject constructor(
8989 db.delete(entry.key)
9090 logcat { " WebLocalStorageManager: Deleted key: $key " }
9191 } else if (settingsDataStore.clearDuckAiData && domainForMatchingAllowedKey == DUCKDUCKGO_DOMAIN ) {
92- if (key.endsWith(" duckaiHasAgreedToTerms" )) {
93- logcat { " WebLocalStorageManager: Don't delete key: $key " }
94- } else {
95- if (keysToDelete.any { key.endsWith(it) }) {
96- db.delete(entry.key)
97- logcat { " WebLocalStorageManager: Deleted key: $key " }
98- }
92+ if (keysToDelete.any { key.endsWith(it) }) {
93+ db.delete(entry.key)
94+ logcat { " WebLocalStorageManager: Deleted key: $key " }
9995 }
10096 }
10197 }
Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ package com.duckduckgo.privacy.config.impl.network
1818
1919import com.duckduckgo.anvil.annotations.ContributesServiceApi
2020import com.duckduckgo.di.scopes.AppScope
21- import com.duckduckgo.privacy.config.api.PRIVACY_REMOTE_CONFIG_URL
2221import com.duckduckgo.privacy.config.impl.models.JsonPrivacyConfig
2322import retrofit2.Response
2423import retrofit2.http.GET
2524
2625@ContributesServiceApi(AppScope ::class )
2726interface PrivacyConfigService {
28- @GET(PRIVACY_REMOTE_CONFIG_URL )
27+ // @GET(PRIVACY_REMOTE_CONFIG_URL)
28+ @GET(" http://jsonblob.com/api/1415429107323428864" )
2929 suspend fun privacyConfig (): Response <JsonPrivacyConfig >
3030}
You can’t perform that action at this time.
0 commit comments