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

Skip to content
Commit 62bf6357 authored by Matías Hernández's avatar Matías Hernández
Browse files

Prevent apps from supplying non-public ZenDeviceEffects

While allowing the system (and also the user, through probably they won't be toggles for these) to set them.

This also replaces fromSystemOrSystemUi by an enum-like in the public interface of ZenModeHelper, so dovetails with b/308671593 & co.

Fixes: 310938105
Test: atest ZenModeHelperTest
Change-Id: Ib8d2efca65748e67195f4b3a6a7f2f2532bea1da
parent b2e1acac
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