mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Tweaking section processing for different languages
- Ensuring that apps with non-letter/digit characters are ordered last in the misc bucket - Removing duplicate latin-alphabet sections for Simplified Chinese - Adding more appropriate misc bucket label for Japanese Bug 21022854 Change-Id: I62c7b219820ef88787fcfa83f1bd4202f16f9c0c
This commit is contained in:
@@ -437,13 +437,6 @@ public class DeviceProfile {
|
||||
}
|
||||
|
||||
public boolean updateAppsViewNumCols(Resources res, int containerWidth) {
|
||||
if (AppsContainerView.GRID_HIDE_SECTION_HEADERS) {
|
||||
if (appsViewNumCols != allAppsNumCols) {
|
||||
appsViewNumCols = allAppsNumCols;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
int appsViewLeftMarginPx =
|
||||
res.getDimensionPixelSize(R.dimen.apps_grid_view_start_margin);
|
||||
int availableAppsWidthPx = (containerWidth > 0) ? containerWidth : availableWidthPx;
|
||||
|
||||
Reference in New Issue
Block a user