Fix init problems on initGrid
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
This commit is contained in:
@@ -322,6 +322,9 @@ public class InvariantDeviceProfile {
|
||||
}
|
||||
|
||||
public InvariantDeviceProfile(Context context, DeviceProfileOverrides.DBGridInfo dbGridInfo) {
|
||||
this.mPrefs = LauncherPrefs.get(context.getApplicationContext());
|
||||
this.mThemeManager = ThemeManager.INSTANCE.get(context.getApplicationContext());
|
||||
this.mDisplayController = DisplayController.INSTANCE.get(context.getApplicationContext());
|
||||
String gridName = DeviceProfileOverrides.INSTANCE.get(context).getGridName(dbGridInfo);
|
||||
initGrid(context, gridName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user