Merge "Unloading thumbnails from task views once recents is hidden" into ub-launcher3-master

This commit is contained in:
Winson Chung authored and Android (Google) Code Review committed 2018-03-13 23:42:46 +00:00
commit 87dd782e40
4 files changed
+59 -21

No files matched your search

+2
View File
@@ -648,11 +648,13 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou
@Override
public void onViewAdded(View child) {
super.onViewAdded(child);
dispatchPageCountChanged();
}
@Override
public void onViewRemoved(View child) {
super.onViewRemoved(child);
mCurrentPage = validateNewPage(mCurrentPage);
dispatchPageCountChanged();
}