Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9d99859f authored by yaolu's avatar yaolu
Browse files

Show spinner only when user pulls down (1/2)

1. show spinner only when user pulls down;
2. stop showing spinner if sync is not finished after 30s;
3. add max time to show spinner into Flags.

Bug: 28625097
Bug: 31993722

Test: Manually verified scenarios:
Only pulling down can trigger spinner to show up, spinner won't be
shown for any other background sync(add/remove account, edit contacts);
refresh an account with over 2000 contacts, spinner disappears after
30s;
refresh without internet connection, spinner disappears after 30s;
refresh twice within 30s, spinner disappears after 30s since the second
refreshing.

Change-Id: Ib88c14a40fc8787527baa9d5ac99da910fdd352b
parent f454b2a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment