Skip to content
Unverified Commit fe57807e authored by Tommy Webb's avatar Tommy Webb Committed by Michael Bestas
Browse files

Hide "Use precise location" for unsupported apps

Apps targeting SDK levels less than 31 do not support location accuracy
permissions, and launching them will automatically grant fine permission
if it had been revoked via Settings. Don't show the setting since it is
not supported.

Test: Manual: Install an older-SDK level app like SatStat 3.5. Enter its
App Info and Location permissions settings. Allow it all the time, and
observe that "Use precise location" does not appear. Install a newer-SDK
level app like Organic Maps 2024.03.05 and do the same, but "Use precise
location" should appear.

Issue: calyxos#2228
Change-Id: Ia02ba65ba71cc83252704c9cb7d8166eab32ad3f
parent 53b7a802
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment