mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Launcher home currentpage refactoring
Calling cancelLongPress on all the visible pages when needed and enabling hardware acceleration on them when a folder animation is in progress. Test: manual Bug: 174464691 Change-Id: Ib11265abfd184fed41acc9a6347a32aec12895f2
This commit is contained in:
@@ -926,8 +926,7 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou
|
||||
if (disallowIntercept) {
|
||||
// We need to make sure to cancel our long press if
|
||||
// a scrollable widget takes over touch events
|
||||
final View currentPage = getPageAt(mCurrentPage);
|
||||
currentPage.cancelLongPress();
|
||||
cancelCurrentPageLongPress();
|
||||
}
|
||||
super.requestDisallowInterceptTouchEvent(disallowIntercept);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user