pull/178/head
M66B 5 years ago
parent c9f56cef7a
commit 94e155e652

@ -192,6 +192,7 @@ public class FragmentOAuth extends FragmentBase {
public void onActivityResult(int requestCode, int resultCode, Intent data) { public void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data); super.onActivityResult(requestCode, resultCode, data);
try {
switch (requestCode) { switch (requestCode) {
case ActivitySetup.REQUEST_OAUTH: case ActivitySetup.REQUEST_OAUTH:
if (resultCode == RESULT_OK && data != null) if (resultCode == RESULT_OK && data != null)
@ -203,6 +204,9 @@ public class FragmentOAuth extends FragmentBase {
finish(); finish();
break; break;
} }
} catch (Throwable ex) {
Log.e(ex);
}
} }
private void onAuthorize() { private void onAuthorize() {

Loading…
Cancel
Save