commit | 2829958456f8b7348c11a04b3bf214ada14b24df | [log] [tgz] |
---|---|---|
author | Fan Zhang <zhfan@google.com> | Thu Dec 08 11:28:31 2016 -0800 |
committer | Fan Zhang <zhfan@google.com> | Thu Dec 08 14:35:13 2016 -0800 |
tree | 5bb127fa870303974e7fe97a20d638f4be4f1e4d | |
parent | 6c6c0e1151469f64fae968305682e52ff3ef707a [diff] |
Improve UI pref when sync/cancel account syncs. The core of the change is in ManageAccountSettings#showSyncState(). New code caches as much information as it can. And break out of loops as early as possible. Bug: 28575620 Test: make RunSettingsRoboTests Change-Id: I076ce148e3d8db55f6cadfd9491f037f7a55a986