2396 ui for whitelist app fakelocation
Description
As a user I need a clear UI in order to be able to white list apps from the fake location feature.
The MR is not small, so I cut it in 3 commits :
-
feat:2396: Whitelist app for fake location UI and ContentProvider
the main commit, with
- the ContentProvider for microG and farmework_base
- the apps list in the FakeLocation screen
- refactor of the fakelocations usecases
- feat:2396: Use FeatureMode for Tracker and Fakelocation feature state a refactor to use the same three-state FeatureMode (On, Off, On_with_whitelist), for tracker and Fakelocation
- feat:2396: Remove deprecated fakelocation through mock location module just a clean-up of the now deprecated fakelocation module based on mock location feature.
This MR needs custom microG and framework base. To be fully tested, it needs specific builts, some are already available in this issue for testing.
Screenshots
Technical details
Tests
Issues
https://gitlab.e.foundation/e/os/backlog/-/issues/2396
10 commandments of code reviews
Summary by CodeRabbit
-
New Features
- Introduced
ListenLocationUseCase
to manage location updates. - Added methods for managing app blacklisting in
FakeLocationStateUseCase
. - New method
getFakeLocationOrNull
for improved fake location handling. - Enhanced capabilities for managing fake location settings with new permissions and content providers.
- Introduced
-
Documentation
- Updated
README.md
for improved clarity on prerequisites and build instructions.
- Updated
-
Chores
- Revised copyright notices and corrected minor grammatical errors for clarity.
Edited by CodeRabbitAI