From f486a40ee74f2022476b588e7c0c8bef5a180485 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 31 Dec 2022 19:39:28 +0530 Subject: [PATCH] chore: reword confusing comments --- .../util/autofill/Api30AutofillResponseBuilder.kt | 10 ++++++++-- 1 file 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,