mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-15 00:28:20 +00:00
Using WidgetInflater in loader task
This removes duplicate logic for widget inflation. Since the widget inflation can now happen during loader, the restore logging can also be moved completely to the loader Bug: 318539160 Test: atest TaplBinderTests Flag: None Change-Id: If9f336e7bf49ee7df121d7d9852b674d98124895
This commit is contained in:
@@ -39,13 +39,16 @@ public interface CustomWidgetPlugin extends Plugin {
|
||||
|
||||
/**
|
||||
* Get the UUID for the custom widget.
|
||||
*
|
||||
* @deprecated Not used
|
||||
*/
|
||||
String getId();
|
||||
@Deprecated
|
||||
default String getId() {
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* Used to modify a widgets' info.
|
||||
*/
|
||||
default void updateWidgetInfo(AppWidgetProviderInfo info, Context context) {
|
||||
|
||||
}
|
||||
default void updateWidgetInfo(AppWidgetProviderInfo info, Context context) { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user