mirror of https://github.com/M66B/NetGuard.git
Fixed cancelling logcat
This commit is contained in:
parent
b9600233f0
commit
5c50ab8fe1
|
@ -284,7 +284,8 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
|
|||
|
||||
} else if (requestCode == REQUEST_LOGCAT) {
|
||||
// Send logcat by e-mail
|
||||
Util.sendLogcat(data.getData(), this);
|
||||
if (resultCode == RESULT_OK)
|
||||
Util.sendLogcat(data.getData(), this);
|
||||
|
||||
} else {
|
||||
Log.w(TAG, "Unknown activity result request=" + requestCode);
|
||||
|
|
Loading…
Reference in New Issue