aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/src/main/java/app/passwordstore/util/autofill/Api30AutofillResponseBuilder.kt10
1 files changed, 8 insertions, 2 deletions
diff --git a/app/src/main/java/app/passwordstore/util/autofill/Api30AutofillResponseBuilder.kt b/app/src/main/java/app/passwordstore/util/autofill/Api30AutofillResponseBuilder.kt
index cc31da97..b50f2c25 100644
--- a/app/src/main/java/app/passwordstore/util/autofill/Api30AutofillResponseBuilder.kt
+++ b/app/src/main/java/app/passwordstore/util/autofill/Api30AutofillResponseBuilder.kt
@@ -70,7 +70,10 @@ constructor(
}
}
- /** Helper for creating an Autofill [Dataset]s for Android R and above. */
+ /**
+ * Helper for creating an Autofill [Dataset]s for [Build.VERSION_CODES.R] <=
+ * [Build.VERSION.SDK_INT] < [Build.VERSION_CODES.TIRAMISU].
+ */
@Suppress("DEPRECATION")
private fun makeIntentDataSetR(
context: Context,
@@ -92,7 +95,10 @@ constructor(
}
}
- /** Helper for creating Autofill [Dataset]s for Android Tiramisu and above. */
+ /**
+ * Helper for creating Autofill [Dataset]s for [Build.VERSION.SDK_INT] >=
+ * [Build.VERSION_CODES.TIRAMISU] and above.
+ */
@RequiresApi(Build.VERSION_CODES.TIRAMISU)
private fun makeIntentDataSetTiramisu(
context: Context,