diff options
| author | Hugh Chen <hughchen@google.com> | 2020-08-26 14:41:19 +0800 |
|---|---|---|
| committer | Hugh Chen <hughchen@google.com> | 2020-09-15 16:04:11 +0800 |
| commit | a4654f1887fa07bbc9bbcabaa63e8b2838833277 (patch) | |
| tree | effd302edb3c9aa2f0e3a0f2d6d2d97c0cc0410f /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | afd954f3c9eb6d07514d9864932f168b60334510 (diff) | |
Add 0.5 second delay to set stream or play volume ringtone
If get Ring/Alarm/Media stream volume right after stop call volume,
it will return the volume of the earpiece then cause UI incorrect.
It is because the call volume is from the earpiece and the
alarm/ring/media is from the speaker.
This CL adds 0.5 second delay when play volume or set stream
to avoid get wrong volume.
- Add onStartTrackingTouch() callback to stop the ringtone when
another seek bar is adjusted.
- Add 0.5 second delay to set stream or play volume ringtone.
Bug: 80194851
Test: build, adjust call volume then immediately adjust ring volume
Change-Id: I06c5e84af60f0d77daffabb4a22644f43a9cf54d
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
