Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • aguestuser/android-components
  • sysrqb/android-components
  • acat/android-components
  • gk/android-components
  • gaba/android-components
  • boklm/android-components
  • ma1/android-components
  • morgan/android-components
  • t-m-w/android-components
  • cypherpunks1/android-components
  • dan/android-components
11 results
Show changes
Commits on Source (3)
......@@ -21,8 +21,6 @@ android {
arg("room.schemaLocation", "$projectDir/schemas".toString())
}
}
buildConfigField("boolean", "ANDROID_DOWNLOADS_INTEGRATION", "false")
}
buildTypes {
......
......@@ -371,9 +371,7 @@ abstract class AbstractFetchDownloadService : Service() {
style.notificationAccentColor
)
COMPLETED -> {
if (BuildConfig.ANDROID_DOWNLOADS_INTEGRATION) {
addToDownloadSystemDatabaseCompat(download.state, scope)
}
addToDownloadSystemDatabaseCompat(download.state, scope)
DownloadNotification.createDownloadCompletedNotification(
context,
download,
......@@ -841,9 +839,7 @@ abstract class AbstractFetchDownloadService : Service() {
}
@VisibleForTesting
internal fun shouldUseScopedStorage() =
BuildConfig.ANDROID_DOWNLOADS_INTEGRATION &&
getSdkVersion() >= Build.VERSION_CODES.Q
internal fun shouldUseScopedStorage() = getSdkVersion() >= Build.VERSION_CODES.Q
/**
* Gets the SDK version from the system.
......