diff options
author | Dave Mankoff <mankoff@google.com> | 2021-10-20 10:14:04 -0400 |
---|---|---|
committer | Dave Mankoff <mankoff@google.com> | 2021-11-02 11:27:55 -0400 |
commit | 93c9d9d665522a943efa9865fd7a9e057e80f026 (patch) | |
tree | c95087fa7c6cc787237a6ddd9a23440d97a657d3 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 0f4943a74873b6c20ef9fa7470a4fb3f2c9b9701 (diff) |
Add a shared library for setting flags in SysUI.
This adds the FlagManager class which currently has 3 methods:
- #getFlagsFuture
- #setFlagValue
- #eraseFlag
The first makes an async call to SystemUI to retrieve the flags
it knows about. It returns a collection of Flag objects from which
one can get the id, type, and default values.
The other two are fairly self-explanatory, sending intents to
SystemUI telling to set or erase flags. Any app calling these
methods must have the FLAGS_PERMISSION defined in the FlagManager
library.
Only boolean flags are supported at the moment.
Bug: 203548827
Test: manual
Change-Id: Id15ff481edcb83c67ce4cdad6cdda27d28a40652
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions