Remove forced sleep suspected of causing null activity access in fragments.

This commit is contained in:
ojiikun 2013-05-10 20:04:40 +00:00 committed by Samuel Clay
parent a071fbfe7c
commit 16c842550b

View file

@ -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;
}