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

Skip to content
Commit 3476e978 authored by Sam Mortimer's avatar Sam Mortimer
Browse files

Settings: Prevent DataSaverBackend from overwriting uid policies

* Lineage assigns additional network policy values for restrict on
  data and wlan etc.

* DataSaverBackend was assuming that only allow background
  and allow unrestricted background exist and therefore could both:
  i) overwrite other uid policies and ii) incorrectly think there were
  changes when there weren't.

* Change setUidPolicy to appropriate add/remove sequences and filter
  the newPolicy value in the callback to ignore everything except
  background data related policies.

Change-Id: I4c81d7fa2199441674a4176eb78b29facd0b799e
parent 5e8502de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment