diff options
author | wangqi <wangqi@google.com> | 2017-10-27 16:47:14 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-10-30 08:32:29 -0700 |
commit | f87dbfbf35f996738cb3f5436b654f615b1c1b27 (patch) | |
tree | e93fb2211413e5feede15d81c9aa5c19b2f84d0c /java/com/android/dialer/binary/common | |
parent | 77cb8e5d86ebca9763cd06b5263dc02203576f40 (diff) |
Roll forward cl/172154863: Do not load every DialtactsActivity fragment on app open
With this change we now only load the Favorites and Call Log Fragments when the
app opens.
Paging to the CallLogFragment makes the ContactsFragment load as we would want.
This should result in a faster app start time. I'll need to verify the impact
of this using the same method as http://cl/170422671
I verified the change in behavior by adding my own log line to the onCreate of each Fragment. I saw all of them get created before the change, and only the expected 2 with this change.
This change also fixes flaky test of voicemailTabVisibleNotVisible_volumeStreamCorrect.
Bug: 64541209,65460373,67297718
Test: DialtactsActivityIntegrationTest
PiperOrigin-RevId: 173734472
Change-Id: Ifd4a3064a6fdcffe5a373eaad6ee4aeebdadda1e
Diffstat (limited to 'java/com/android/dialer/binary/common')
0 files changed, 0 insertions, 0 deletions