Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
HealthConnectClient.permissionController.getGrantedPermissions()
freeze the process until ANR when called inside async coroutine withawait()
This bug doesn't occure if an Intent using
PermissionController.createRequestPermissionResultContract()
is launch before.Here a sample code to reproduce the freeze.
When getGrantedPermissions() is replaced by any mock function, there is no timeout triggered.