commit | 922c6a5ef3f7dc649f4bf8b2bf3e073ef4314e1d | [log] [tgz] |
---|---|---|
author | Brad Hinegardner <bhinegardner@google.com> | Thu Jan 19 16:18:08 2023 -0500 |
committer | Brad Hinegardner <bhinegardner@google.com> | Thu Jan 19 16:37:38 2023 -0500 |
tree | 2129f0f0fbd5c5cd260926a4cc1cc9e4322d2b08 | |
parent | ef056c366d19629522d0c45630ea32a245b64f8a [diff] |
Add Mute custom quick affordance Upon silencing or using the Mute shortcut, the user can go back to the previous ringer mode. This previous state is cached in SharedPreferences, so that it survives reboots. This also works with secondary users. Bug: 256687297 Test: MuteQuickAffordanceConfigTest.kt Test: MuteQuickAffordanceCoreStartableTest.kt Change-Id: I5642243bd666ea928e4a8d03bbbfbb61fc425603