summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/phonelookup
diff options
context:
space:
mode:
authorzachh <zachh@google.com>2018-04-19 16:47:59 -0700
committerCopybara-Service <copybara-piper@google.com>2018-04-19 16:49:34 -0700
commit5f1d084c67e20296e5d2372c59c837ab1d701409 (patch)
tree44ccdbc094775020e29f39d6f39b3ce314d01bc3 /java/com/android/dialer/phonelookup
parentac069a79d2f0701d1ce0371a11e3d2ed63afc4de (diff)
Use PreCall.start instead of context.startActivity when starting calls from call log.
For some reason not understood, startActivity with the call intent causes the current activity (MainActivity) to be paused, resumed, and paused again. This results in an opportunity to double-tap the row which causes the InCallUi to open in bubble mode (this is also not well understood). In any event, PreCall.start eventually uses TelecomManager to place the call rather than startActivity, which is presumably the thing that fixes the problem. Also refactored TestPreCallModule to remove the many test implementations of PreCall and remove the static field in the module which could cause test interference. TEST=manual Bug: 78187587 Test: manual PiperOrigin-RevId: 193596093 Change-Id: I933020d33db1c158628f14b30c2681c59c86201b
Diffstat (limited to 'java/com/android/dialer/phonelookup')
0 files changed, 0 insertions, 0 deletions