Skip to content
Commit 16b26998 authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

Add DeviceConfig flags to Privacy Indicators

Restricts Privacy Indicators behind the same flags as Permissions Hub.

When flag is set to false:
* PrivacyItemController is set to not listening (listens to changes in
flag)
* Location icon is reverted back to P behavior
* Location icon is shown in QS Header icons (listens to changes in
flags)
* No privacy chip shown.

We need to listen to changes because most of our views/controllers
persist forever.

Test: manual, change the flag and observe things appear/disappear
Fixes: 131826452
Fixes: 132644949

Change-Id: I329596760f3c06feb2161b077af008da782a50be
parent d7affe71
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