mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +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:
@@ -48,9 +48,11 @@ public class ModelDelegate implements ResourceBasedOverride {
|
||||
delegate.mAppsList = appsList;
|
||||
delegate.mDataModel = dataModel;
|
||||
delegate.mIsPrimaryInstance = isPrimaryInstance;
|
||||
delegate.mContext = context;
|
||||
return delegate;
|
||||
}
|
||||
|
||||
protected Context mContext;
|
||||
protected LauncherAppState mApp;
|
||||
protected AllAppsList mAppsList;
|
||||
protected BgDataModel mDataModel;
|
||||
@@ -75,6 +77,15 @@ public class ModelDelegate implements ResourceBasedOverride {
|
||||
@WorkerThread
|
||||
public void loadItems(UserManagerState ums, Map<ShortcutKey, ShortcutInfo> pinnedShortcuts) { }
|
||||
|
||||
/**
|
||||
* Load String cache
|
||||
*/
|
||||
@WorkerThread
|
||||
public void loadStringCache(StringCache cache) {
|
||||
cache.loadDefaultStrings(mContext);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Called during loader after workspace loading is complete
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user