mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Integrating some aosp fixes, ensuring that we update the install queue before returning to Launcher.
- Fixing stuck page in All Apps (Bug 9347818) - Fixing shortcuts to uninstalled apps from being installed (Bug 10726510) - Consolidating vibration feedback - Ensuring that we trim names during comparison in AllApps list Change-Id: Ieaae4d85851ce771283b4684a8a60306da28cb3b
This commit is contained in:
@@ -925,6 +925,12 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
|
||||
mFirstLayout = false;
|
||||
}
|
||||
|
||||
if (isPageMoving()) {
|
||||
// If the page is moving, then snap it to the final position to ensure we don't get
|
||||
// stuck between pages
|
||||
snapToDestination();
|
||||
}
|
||||
|
||||
if (childCount > 0) {
|
||||
final int index = isLayoutRtl() ? 0 : childCount - 1;
|
||||
mMaxScrollX = getScrollForPage(index);
|
||||
|
||||
Reference in New Issue
Block a user