feat : Initial implementation Caddy (#5166)

- Introduced "Caddy" functionality to organize apps within the app drawer.
- Allows grouping of applications for better accessibility and user experience.
- Serves as a foundational feature for enhancing app drawer usability.
This commit is contained in:
John Andrew Camu authored and GitHub committed 2025-01-15 13:01:51 +08:00
1 parent f96ffc9cd4
commit 448d718e6a
16 files changed
+383 -16

No files matched your search

@@ -92,7 +92,7 @@ public class AlphabeticalAppsList<T extends Context & ActivityContext> implement
// The number of results in current adapter
private int mAccessibilityResultsCount = 0;
// The current set of adapter items
private final ArrayList<AdapterItem> mAdapterItems = new ArrayList<>();
protected final ArrayList<AdapterItem> mAdapterItems = new ArrayList<>();
// The set of sections that we allow fast-scrolling to (includes non-merged
// sections)
private final List<FastScrollSectionInfo> mFastScrollerSections = new ArrayList<>();
@@ -399,7 +399,7 @@ public class AlphabeticalAppsList<T extends Context & ActivityContext> implement
return position;
}
private int addAppsWithSections(List<AppInfo> appList, int startPosition) {
protected int addAppsWithSections(List<AppInfo> appList, int startPosition) {
String lastSectionName = null;
boolean hasPrivateApps = false;
int position = startPosition;