commit | a755e17b84e012d11743cf8aa6053fc8df3597e4 | [log] [tgz] |
---|---|---|
author | Wenyi Wang <wenyiw@google.com> | Fri Jul 22 16:45:55 2016 -0700 |
committer | Wenyi Wang <wenyiw@google.com> | Mon Jul 25 12:58:32 2016 -0700 |
tree | afb9fb70d17329caa40db3624913e6d8b977a009 | |
parent | 374fa1665a9cb1ead1610a71a9daeed282849415 [diff] |
Avoid selecting group item every time when groups are loaded * Cause: when there are a great number of contacts in the a newly-added account, onGroupsLoaded will be called many times during contacts sync. As we set seletced menu item in it, the navigation drawer menu will jump again and again. * Solution: we notify listener only when the loaded groups are changed. Bug 30306059 Change-Id: I93c039861fbe74e672d95d03c4644b6d31b8bbe5