DO NOT MERGE: To fix android.cts.verifier.audio.RingerModeActivity fail
Root cause:
The ringer mode will change to RINGER_MODE_SILENT if the device do not
have vibrator when setRingerMode(RINGER_MODE_VIBRATE). However, the cts
verifier case expect RINGER_MODE_NORMAL when the device do not have
vibrator.
Solution:
Change the cts verifier case's judgment.
bug: 76118383
Test: Build CTS
Test: Pixel C OPP6.171019.012 pass
Change-Id: Ic56a02c406b074c71fdc9a4463d3be450b361e69
Signed-off-by: Xinghua Yang <xinghua.yang@mediatek.com>
1 file changed