commit | ae20cabd25d154e9708ec6600475398fe552fb90 | [log] [tgz] |
---|---|---|
author | Grace Jia <xiaotonj@google.com> | Mon Aug 23 16:34:55 2021 -0700 |
committer | Grace Jia <xiaotonj@google.com> | Mon Oct 11 23:32:20 2021 +0000 |
tree | f6fe1e22b6d39d22fbb800a42919616a2933f023 | |
parent | 625a526f3374524632f3bf49276f25dde5cbcbc2 [diff] |
Don't update preference list when there's no Activity for it. Phone account setting will crash due to NullPointerException if PhoneAccountSettingsFragment not recycled immediately after dialer's main activity started. Bug: 197199688 Test: Manually start phone account setting activity and open dialer in lockscreen and make sure there's no crash. Change-Id: Ic72ba80fd699f19f55aab00dafd3510fdb966720