Deselect all apps when module scope is empty
UI should reflect correctly current module scope. Fix the problem that after clicking on menu_select_none, recommended apps are still checked even though the scope database is already updated. This bug was introduced due to the inconsistent designs in1339fc7d3cand7be4e66b98.
This commit is contained in:
parent
4271d8d4fe
commit
8f1ae22905
|
|
@ -557,11 +557,6 @@ public class ScopeAdapter extends EmptyStateRecyclerView.EmptyStateAdapter<Scope
|
||||||
synchronized (tmpRecList) {
|
synchronized (tmpRecList) {
|
||||||
tmpRecList.add(application);
|
tmpRecList.add(application);
|
||||||
}
|
}
|
||||||
if (emptyCheckedList) {
|
|
||||||
synchronized (tmpChkList) {
|
|
||||||
tmpChkList.add(application);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else if (shouldHideApp(info, application, tmpChkList)) {
|
} else if (shouldHideApp(info, application, tmpChkList)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue