Skip to content

Instantly share code, notes, and snippets.

@mumayank
Created December 20, 2019 08:49
Show Gist options
  • Save mumayank/15ef5356cf95f4d6ee232a6aff507ee2 to your computer and use it in GitHub Desktop.
Save mumayank/15ef5356cf95f4d6ee232a6aff507ee2 to your computer and use it in GitHub Desktop.
fun setFromHomeInOla(context: Context?, accessibilityService: AccessibilityService?) {
if (context == null || accessibilityService == null) {
return
}
selectSearchBar(context) {
hideKeyboard(context, accessibilityService) {
selectHomeOpposite(context) {
selectDropBar(context) {
hideKeyboard(context, accessibilityService) {
selectPlatform1(context) {
accessibilityService.disableSelf()
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment