mirror of
https://github.com/emanuele-f/PCAPdroid.git
synced 2026-06-16 21:10:57 +08:00
Fix no traffic when "No Filter" is selected
This commit is contained in:
parent
c14597d92b
commit
4c8ba2da10
@ -471,7 +471,10 @@ public class MainActivity extends AppCompatActivity implements LoaderManager.Loa
|
||||
apps.setSelectedAppListener(new AppsView.OnSelectedAppListener() {
|
||||
@Override
|
||||
public void onSelectedApp(AppDescriptor app) {
|
||||
mFilterApp = app.getPackageName();
|
||||
// Ignore the "no filter" app
|
||||
if(app.getUid() != -1)
|
||||
mFilterApp = app.getPackageName();
|
||||
|
||||
setSelectedAppIcon(app);
|
||||
|
||||
// dismiss the dialog
|
||||
|
||||
Loading…
Reference in New Issue
Block a user