Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

2396 ui for whitelist app fakelocation

Guillaume Jacquart requested to merge 2396-UI_for_whitelist_app_fakelocation into main

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 :

  1. 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
  2. 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
  3. 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

Screenshot_20240813_122345

Screenshot_20240813-122322_Advanced_Privacy

Technical details

Tests

Issues

https://gitlab.e.foundation/e/os/backlog/-/issues/2396

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

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.
  • Documentation

    • Updated README.md for improved clarity on prerequisites and build instructions.
  • Chores

    • Revised copyright notices and corrected minor grammatical errors for clarity.
Edited by CodeRabbitAI

Merge request reports

Loading