mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
Allow overriding enterprise related strings in Launcher
Test: manual Bug: 188414133 Bug: 211422509 Bug: 188410712 Change-Id: I75858cdcf2057e7c270da5893cd9a90c6753f182
This commit is contained in:
@@ -113,6 +113,11 @@ public class BgDataModel {
|
||||
*/
|
||||
public final WidgetsModel widgetsModel = new WidgetsModel();
|
||||
|
||||
/**
|
||||
* Cache for strings used in launcher
|
||||
*/
|
||||
public final StringCache stringCache = new StringCache();
|
||||
|
||||
/**
|
||||
* Id when the model was last bound
|
||||
*/
|
||||
@@ -505,5 +510,10 @@ public class BgDataModel {
|
||||
default void bindExtraContainerItems(FixedContainerItems item) { }
|
||||
|
||||
default void bindAllApplications(AppInfo[] apps, int flags) { }
|
||||
|
||||
/**
|
||||
* Binds the cache of string resources
|
||||
*/
|
||||
default void bindStringCache(StringCache cache) { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user