Commit e2758cf
committed
mobile: drop ACCESS_BACKGROUND_LOCATION from the manifest
The permission was declared but never requested at runtime, so no user
was ever prompted for it and nothing depended on it. get_location reads
the network provider's last known position from inside the foreground
service, which is declared with foregroundServiceType="location"; Android
treats that as foreground access while the node runs off-screen, and it
needs only ACCESS_COARSE_LOCATION.
Play Console flagged the declared-but-unused permission and asked for a
background-location declaration, which an optional sensor toggle would
not pass. Removing it makes the form moot.1 parent b4313a8 commit e2758cf
1 file changed
Lines changed: 3 additions & 1 deletion
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | | - | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
0 commit comments