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)
Attachment actions
Unintended behavior
View staffing
Description
A lot of operating systems such as MiUI or Samsung's OS don't allow displaying pop-up windows by default while the app is running in the background. Perhaps even PixelOS doesn't allow this :)
When we request permissions with
CarContext.requestPermissions
nothing happens because of these restrictions.In the attachment, you can find a screenshot of an additional setting screen in MiUI with disabled permission. Until the user enables this permission,
CarContext.requestPermissions
won't be able to display any pop-up window. Even with the configuredcarPermissionActivityLayout
.This problem can be reproduced with the sample app from the androidx library .
I would like to inquire if there is any ongoing effort to address this issue, or if developers should explore alternative stable solutions to this problem.