mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Remove forced sleep suspected of causing null activity access in fragments.
This commit is contained in:
parent
a071fbfe7c
commit
16c842550b
1 changed files with 0 additions and 6 deletions
|
@ -80,12 +80,6 @@ public class LoginProgressFragment extends Fragment {
|
|||
protected LoginResponse doInBackground(String... params) {
|
||||
LoginResponse response = apiManager.login(username, password);
|
||||
apiManager.updateUserProfile();
|
||||
try {
|
||||
// TODO: get rid of this and use proper UI transactions
|
||||
Thread.sleep(500);
|
||||
} catch (InterruptedException e) {
|
||||
Log.e(this.getClass().getName(), "Error sleeping during login.");
|
||||
}
|
||||
return response;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue