Update paused access log on clear

This commit is contained in:
M66B 2016-12-25 11:18:44 +01:00
parent 274f0fd63f
commit 620eb3c68c
1 changed files with 2 additions and 0 deletions

View File

@ -685,6 +685,8 @@ public class AdapterRule extends RecyclerView.Adapter<AdapterRule.ViewHolder> im
@Override
public void onSure() {
DatabaseHelper.getInstance(context).clearAccess(rule.info.applicationInfo.uid, true);
if (!live)
notifyDataSetChanged();
if (rv != null)
rv.scrollToPosition(position);
}