1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-02-24 15:21:19 +00:00

Clear package cache on pull down refresh

This commit is contained in:
M66B 2016-03-14 17:33:22 +01:00
parent cd14008993
commit 3a56c6d216

View file

@ -259,6 +259,7 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
swipeRefresh.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {
@Override
public void onRefresh() {
Rule.clearCache(ActivityMain.this);
ServiceSinkhole.reload("pull", ActivityMain.this);
updateApplicationList(null);
}