commit | 5cfe2afa4b3574e2167698bfe2bef2ac6355f9d5 | [log] [tgz] |
---|---|---|
author | Hall Liu <hallliu@google.com> | Thu Aug 23 19:09:37 2018 -0700 |
committer | Hall Liu <hallliu@google.com> | Thu Aug 30 18:02:26 2018 -0700 |
tree | 36928d556b302a540598d5730cb4d6b6055e06ed | |
parent | fea1c0dbcf10fa548fec12f94d0508ea14e2c083 [diff] |
Suppress ringtone when the device is on ear Don't play a (potentially loud) ringtone over a held call when the user is holding the phone up to the ear (as detected by position sensors). Also move Telecom tests to the new mockito so that we can mock final methods/classes. Bug: 64438244 Test: manual, unit Change-Id: I685069bb63c6fd47d6a5e62a8c0896c02cd95056