mirror of
https://github.com/M66B/NetGuard.git
synced 2025-01-01 12:54:07 +00:00
parent
f224b54139
commit
d6460d368b
2 changed files with 2 additions and 2 deletions
|
@ -343,7 +343,7 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
|
|||
Uri target = data.getData();
|
||||
if (data.hasExtra("org.openintents.extra.DIR_PATH"))
|
||||
target = Uri.parse(target + "/logcat.txt");
|
||||
Log.i(TAG, "Export PCAP URI=" + target);
|
||||
Log.i(TAG, "Export URI=" + target);
|
||||
Util.sendLogcat(target, this);
|
||||
}
|
||||
|
||||
|
|
|
@ -659,7 +659,7 @@ public class ActivitySettings extends AppCompatActivity implements SharedPrefere
|
|||
try {
|
||||
Uri target = data.getData();
|
||||
if (data.hasExtra("org.openintents.extra.DIR_PATH"))
|
||||
target = Uri.parse(target + "/netguard.xml");
|
||||
target = Uri.parse(target + "/netguard_" + new SimpleDateFormat("yyyyMMdd").format(new Date().getTime()) + ".xml");
|
||||
Log.i(TAG, "Writing URI=" + target);
|
||||
out = getContentResolver().openOutputStream(target);
|
||||
xmlExport(out);
|
||||
|
|
Loading…
Reference in a new issue