commit | b2c88cca2861eb18548334c99163ded32ee2366a | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Sat Aug 13 00:17:53 2022 +0000 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Tue Aug 16 19:34:42 2022 +0000 |
tree | 76b054e188e17186501fd01f7d1a64f7ae9e42c8 | |
parent | 52ef44fe44baf443585e52ae6538274327d24634 [diff] |
AudioService: properties for configuring ring/notif steps/default vol Define 4 new properties that can be used to override the default notification and ringtone volume number of steps and default value. Throw IllegalArgumentException when max volume is not strictly positive, if default volume is greater than max volume or lower than min volume. Bug: 228180814 Test: dumpsys audio to check default/max for notif/ring Change-Id: Ib12fd2207b1201ced4bc838892ed23d10e45c3c9