commit | 62bf63573a0a9d04955caf0162de27e579f73fb6 | [log] [tgz] |
---|---|---|
author | Matías Hernández <matiashe@google.com> | Wed Nov 22 15:32:47 2023 +0100 |
committer | Matías Hernández <matiashe@google.com> | Thu Nov 23 14:48:52 2023 +0100 |
tree | ab5c092a57e692fafd16444efc231d32cb237efc | |
parent | b2e1acac68c8714abf84bcd4c26aceddbdf8a7ff [diff] |
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