aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-12-31 19:39:28 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2022-12-31 19:39:28 +0530
commitf486a40ee74f2022476b588e7c0c8bef5a180485 (patch)
treeaeb155ea924bcba1f080e434dcee655d82d48c5f
parent4df55fef6121d33538422c65cfb4b92eada8f74d (diff)
chore: reword confusing comments
-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,