Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion twitter/src/com/sugree/twitter/TwDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ private void retrieveRequestToken() {
public void run() {
try {
mUrl = mProvider.retrieveRequestToken(mConsumer, Twitter.CALLBACK_URI);
mWebView.loadUrl(mUrl);
} catch (OAuthMessageSignerException e) {
mListener.onError(new DialogError(e.getMessage(), -1, Twitter.OAUTH_REQUEST_TOKEN));
} catch (OAuthNotAuthorizedException e) {
Expand All @@ -142,6 +141,11 @@ public void run() {
} catch (OAuthCommunicationException e) {
mListener.onError(new DialogError(e.getMessage(), -1, Twitter.OAUTH_REQUEST_TOKEN));
}
mHandler.post(new Runnable() {
public void run() {
mWebView.loadUrl(mUrl);
}
});
}
}.start();
}
Expand Down