Add a resource override for providing default widgets filter.
The implementation in this CL is no-op i.e. all widgets will be shown Bug: 356127021 Flag: com.android.launcher3.enable_tiered_widgets_by_default_in_picker Test: Verified with other child cls Change-Id: I0a6f8973dc8ec58fd87d29b3f291b5e290ea988d
This commit is contained in:
@@ -537,7 +537,13 @@ public class BgDataModel {
|
||||
default void bindWidgetsRestored(ArrayList<LauncherAppWidgetInfo> widgets) { }
|
||||
default void bindRestoreItemsChange(HashSet<ItemInfo> updates) { }
|
||||
default void bindWorkspaceComponentsRemoved(Predicate<ItemInfo> matcher) { }
|
||||
default void bindAllWidgets(List<WidgetsListBaseEntry> widgets) { }
|
||||
|
||||
/**
|
||||
* Binds the app widgets to the providers that share widgets with the UI.
|
||||
*/
|
||||
default void bindAllWidgets(@NonNull List<WidgetsListBaseEntry> widgets,
|
||||
@NonNull List<WidgetsListBaseEntry> defaultWidgets) {
|
||||
}
|
||||
default void bindSmartspaceWidget() { }
|
||||
|
||||
/** Called when workspace has been bound. */
|
||||
|
||||
Reference in New Issue
Block a user