diff options
| author | Harsh Shandilya <me@msfjarvis.dev> | 2022-01-10 00:31:03 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-09 19:01:03 +0000 |
| commit | cfceb38ee72896dad3701dcf3f12d8480166e009 (patch) | |
| tree | bf6fca975c92e2756d0a5cb6a527300193cbc7ea /app/src/main/java/dev/msfjarvis/aps/util/autofill | |
| parent | 35155e55841bc87b2c0e0dc577e1433041b44bc5 (diff) | |
| download | HardenedPass-cfceb38ee72896dad3701dcf3f12d8480166e009.tar.gz HardenedPass-cfceb38ee72896dad3701dcf3f12d8480166e009.zip | |
Fix a bunch of Lint warnings and errors (#1655)
* autofill-parser: add missing `@RequiresApi` annotations
* app: remove unused strings and sync with Crowdin
* app: remove unused chip_text_color selector
* app: remove unused capitalization_type_values array
* app: add `PendingIntent.FLAG_IMMUTABLE` flag where required
Diffstat (limited to 'app/src/main/java/dev/msfjarvis/aps/util/autofill')
| -rw-r--r-- | app/src/main/java/dev/msfjarvis/aps/util/autofill/AutofillViewUtils.kt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/src/main/java/dev/msfjarvis/aps/util/autofill/AutofillViewUtils.kt b/app/src/main/java/dev/msfjarvis/aps/util/autofill/AutofillViewUtils.kt index 1d09d001..5a224f39 100644 --- a/app/src/main/java/dev/msfjarvis/aps/util/autofill/AutofillViewUtils.kt +++ b/app/src/main/java/dev/msfjarvis/aps/util/autofill/AutofillViewUtils.kt @@ -52,7 +52,12 @@ fun makeInlinePresentation( if (UiVersions.INLINE_UI_VERSION_1 !in UiVersions.getVersions(imeSpec.style)) return null val launchIntent = - PendingIntent.getActivity(context, 0, Intent(context, PasswordStore::class.java), 0) + PendingIntent.getActivity( + context, + 0, + Intent(context, PasswordStore::class.java), + PendingIntent.FLAG_IMMUTABLE + ) val slice = InlineSuggestionUi.newContentBuilder(launchIntent).run { setTitle(metadata.title) |
