mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Fixing bug when model was not reflected properly on the UI.
If launcher submits a job, and then reloads before the job is executed, the correct model is not reflected on the Launcher. In that case, we simply rebind the launcher Change-Id: I380242a4de13e7b2bc326d1a076f0a974435999c
This commit is contained in:
@@ -105,6 +105,11 @@ public class BgDataModel {
|
||||
*/
|
||||
public final WidgetsModel widgetsModel = new WidgetsModel();
|
||||
|
||||
/**
|
||||
* Id when the model was last bound
|
||||
*/
|
||||
public int lastBindId = 0;
|
||||
|
||||
/**
|
||||
* Clears all the data
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user