diff options
author | Harsh Shandilya <msfjarvis@gmail.com> | 2020-03-05 21:05:50 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-05 21:05:50 +0530 |
commit | 73058d10a8e28fe4e7636ad5c73eeb8651369cdb (patch) | |
tree | f5d15b6dc45eb3d2ac5f2e33a5e4362e4b84285d /app/src/main/AndroidManifest.xml | |
parent | addefdc9a3eac4124d304ee4f810daaeed419996 (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/src/main/AndroidManifest.xml')
-rw-r--r-- | app/src/main/AndroidManifest.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 9f1b8081..75f0752a 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -14,6 +14,7 @@ <uses-permission android:name="android.permission.USE_BIOMETRIC" /> <!--suppress DeprecatedClassUsageInspection --> <uses-permission android:name="android.permission.USE_FINGERPRINT" /> + <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> <application android:name=".Application" @@ -53,6 +54,9 @@ android:name="android.accessibilityservice" android:resource="@xml/autofill_config" /> </service> + <service + android:name=".ClipboardService" + android:process=":clipboard_service_process" /> <activity android:name=".autofill.AutofillActivity" |