mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
[Search] Resolve work/personal tab overlap with A-Z list
This issue was caused due to launcher falling out of sync with DEVICE_SEARCH_FLAG. This change makes AllApps views agnostic of search input type when rendering layout. Bug: 182591985 Test: local Change-Id: Ic015b68e110eea9ab5184325f2a3633a5c7d15cc
This commit is contained in:
@@ -583,10 +583,6 @@ public class AllAppsContainerView extends SpringRelativeLayout implements DragSo
|
||||
int padding = mHeader.getMaxTranslation();
|
||||
for (int i = 0; i < mAH.length; i++) {
|
||||
mAH[i].padding.top = padding;
|
||||
if (FeatureFlags.ENABLE_DEVICE_SEARCH.get() && mUsingTabs) {
|
||||
//add extra space between tabs and recycler view
|
||||
mAH[i].padding.top += mLauncher.getDeviceProfile().edgeMarginPx;
|
||||
}
|
||||
mAH[i].applyPadding();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user