summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTony Mak <tonymak@google.com>2017-12-05 19:40:28 +0000
committerTony Mak <tonymak@google.com>2017-12-15 16:27:48 +0000
commitb7e6fd49a5500c6182484335b03343bfdbd6b70b (patch)
tree289d7bcd136f8066dc4b53c3809083ba6c70a4eb /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5c9d80199e48322ab9939bc78d3ffeb224817a4c (diff)
Merge setQuietModeEnabled and trySetQuietModeDisabled into one API
This is the first step to introduce a public API to toggle work mode. All the callers actually have the similar bit of logic like this: if (workModeOn) { trySetQuietModeDisabled(..) } else { setQuietModeEnabled(...) } So, let's merge them into one API. Test: Quick Settings -> Toggle work mode Test: Settings -> Work profile settings -> Toggle work mode Test: Turn off work mode -> Settings -> Turn on work mode in the suggestion Test: Turn on work mode through tapping on work app TODO: Allow foreground default Launcher to call the API TODO: Allow privileged apps to call the API TODO: Remove @hide TODO: Write a CTS to toggle the work mode once it is public API BUG: 70212757 Change-Id: Ibcdd43458c236eca929c5f934fea61be2e2be863
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions