summaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-11-14 10:51:30 -0800
committerYorke Lee <yorkelee@google.com>2014-11-14 11:20:06 -0800
commitede886737944f0237993d4b55d579fe9cfb9ba28 (patch)
treedaa3432517ef6d73b40095057777b78285954e1d /AndroidManifest.xml
parentd2575cb1f3daa4145478b4778318f67f9d0ccb27 (diff)
Move ToneGenerator recreation/release to onStart/onStop
There is no reason to do the costly ToneGenerator initialization inside onResume, which gets called during the Dialer -> InCallUI transition. Move it to onStart/onStop so it only happens when Dialer is actually in the background. Measurement of time taken for InCallActivity start -> onResumed, 10 runs Before: Average 541.9ms SD: 152.4ms After: Average 350.5ms SD: 81.1ms Bug: 18373617 Change-Id: I192e2bcc9fd4b7d423d804f333d8d32bff3f58c1
Diffstat (limited to 'AndroidManifest.xml')
0 files changed, 0 insertions, 0 deletions