chore: reword confusing comments

This commit is contained in:
Harsh Shandilya 2022-12-31 19:39:28 +05:30
parent 4df55fef61
commit f486a40ee7
No known key found for this signature in database

View file

@ -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,