GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
352 stars 19 forks source link

Allow manual location setting #4074

Closed An-anonymous-coder closed 5 hours ago

An-anonymous-coder commented 5 hours ago

For those who do not want to enable location services, there should be an option to manually set the device location in Settings > Location. This would serve the purpose of utilizing the Night Light from sunset to sunrise privately under Settings > Display > Night Light > Schedule > Turns on from sunset to sunrise which would normally require location services to be enabled. This functionality is present in the KDE Plasma desktop environment for Linux.

Alternatively, allow Mock Location Apps to work without location services enabled under Settings > System > Developer Options > Location > Select mock location app. I'm aware that Developer Options are not recommended.

thestinger commented 5 hours ago

Duplicate of https://github.com/GrapheneOS/os-issue-tracker/issues/2403.

thestinger commented 5 hours ago

This would serve the purpose of utilizing the Night Light from sunset to sunrise privately under Settings > Display > Night Light > Schedule > Turns on from sunset to sunrise which would normally require location services to be enabled. This functionality is present in the KDE Plasma desktop environment for Linux.

You can use a time-based schedule for it instead. It doesn't work well with only GNSS-based location anyway and expects network-based location to be available in the base OS.

Alternatively, allow Mock Location Apps to work without location services enabled under Settings > System > Developer Options > Location > Select mock location app. I'm aware that Developer Options are not recommended.

The global Location toggle doesn't determine whether location services are enabled but rather whether any apps can access data and APIs requiring the Location permission. Location doesn't specifically mean the OS location services for detecting location.

An-anonymous-coder commented 5 hours ago

You can use a time-based schedule for it instead.

Unfortunately this requires updating the time constantly as the year goes on to align with sunset/sunrise.

Didn't see this was a duplicate, sorry!

thestinger commented 5 hours ago

The initial issue we pointed you towards should be replaced with more specific issues though. We could do that now.