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

Skip to content
Commit 0684160d authored by Evan Severson's avatar Evan Severson
Browse files

Fix users' permissions with bg mic/camera

When the background mic/camera changes were submitted the system started
exempting preinstalled apps to use the permissions. The state can be
corrected since the erroneous exemptions have been fixed.

This can take a couple seconds so it's been decided to fix the state
after boot, this may cause an app to be killed while using it but this
would be very rare and there's only one chance for it to happen.

This change should be reverted after an update is pushed. Fairly
verbose logging (which should only happen at once on boot) is being
added so any issues this causes can be easily debugged to avoid leaving
users in a bad state.

Bug: 169856898
Bug: 158311343
Test: Push build without this change, delete permissions db, boot,
          assert bad permission state, push this change, boot
Change-Id: I7f2729b3f5ce19759548969f54632f8b08be8261
parent e372d996
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