mirror of
https://github.com/emanuele-f/PCAPdroid.git
synced 2026-06-16 21:10:57 +08:00
Allow capture start by tapping "Ready"
This commit is contained in:
parent
c4e23a8fb7
commit
771ffbe6f3
@ -193,10 +193,8 @@ public class StatusFragment extends Fragment implements AppStateListener, AppsLo
|
||||
refreshFilterInfo();
|
||||
|
||||
mCaptureStatus.setOnClickListener(v -> {
|
||||
if(mActivity.getState() == AppState.running) {
|
||||
Intent intent = new Intent(getActivity(), StatsActivity.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
if(mActivity.getState() == AppState.ready)
|
||||
mActivity.startCapture();
|
||||
});
|
||||
|
||||
// Make URLs clickable
|
||||
|
||||
Loading…
Reference in New Issue
Block a user