summaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-03-05 21:05:50 +0530
committerGitHub <noreply@github.com>2020-03-05 21:05:50 +0530
commit73058d10a8e28fe4e7636ad5c73eeb8651369cdb (patch)
treef5d15b6dc45eb3d2ac5f2e33a5e4362e4b84285d /app/build.gradle
parentaddefdc9a3eac4124d304ee4f810daaeed419996 (diff)
Resolve various memory leaks (#637)
This migrates the clipboard clear logic into a foreground service that allows us to also provide a notification that runs the clear task immediately on click, rather than wait for the timeout. Co-authored-by: Aditya Wasan <adityawasan55@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/build.gradle b/app/build.gradle
index adf9e3f7..fa85c61b 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -80,9 +80,12 @@ dependencies {
implementation deps.androidx.annotation
implementation deps.androidx.appcompat
implementation deps.androidx.biometric
- implementation deps.androidx.core_ktx
implementation deps.androidx.constraint_layout
+ implementation deps.androidx.core_ktx
implementation deps.androidx.documentfile
+ implementation deps.androidx.lifecycle_runtime_ktx
+ implementation deps.androidx.local_broadcast_manager
+ implementation deps.androidx.material
implementation deps.androidx.preference
implementation deps.androidx.swiperefreshlayout
constraints {
@@ -90,7 +93,6 @@ dependencies {
because 'versions above 1.0.0 have an accessibility related bug that causes crashes'
}
}
- implementation deps.androidx.material
implementation deps.kotlin.coroutines.android
implementation deps.kotlin.coroutines.core