mirror of
https://github.com/emanuele-f/PCAPdroid.git
synced 2026-07-03 21:21:12 +08:00
Fix PCAP selection dialog sometimes not appearing
Reproduce: 1. Start the capture and select the PCAP file to write 2. Stop the capture 3. Open the PCAPdroid settings, then go back 4. Restart the capture. The PCAP selection dialog does not appear
This commit is contained in:
parent
fd4a5a382d
commit
8083755d41
@ -155,7 +155,7 @@ public class MainActivity extends BaseActivity implements NavigationView.OnNavig
|
||||
initAppState();
|
||||
checkPermissions();
|
||||
|
||||
mPcapUri = CaptureService.getPcapUri();
|
||||
mPcapUri = CaptureService.isServiceActive() ? CaptureService.getPcapUri() : null;
|
||||
mCapHelper = new CaptureHelper(this);
|
||||
mCapHelper.setListener(success -> {
|
||||
if(!success) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user