Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion
This commit is contained in:
commit
5f6adf3846
@ -414,7 +414,7 @@ public class IITC_FileManager {
|
||||
public void onActivityResult(final int resultCode, final Intent data) {
|
||||
mIitc.deleteResponseHandler(this);
|
||||
|
||||
if (resultCode != Activity.RESULT_OK) return;
|
||||
if (resultCode != Activity.RESULT_OK || data == null) return;
|
||||
|
||||
mData = data;
|
||||
|
||||
|
@ -24,12 +24,11 @@ public class SaveToFile extends Activity implements Runnable {
|
||||
@Override
|
||||
protected void onActivityResult(final int requestCode, final int resultCode, final Intent data) {
|
||||
if (requestCode == REQUEST_SAVE_FILE) {
|
||||
mData = data.getData();
|
||||
if (resultCode != Activity.RESULT_OK || mData == null) {
|
||||
if (resultCode != Activity.RESULT_OK || data == null) {
|
||||
finish();
|
||||
return;
|
||||
}
|
||||
|
||||
mData = data.getData();
|
||||
(new Thread(this)).start();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user