mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
Merge "Adds more in depth logging of Launcher restore functionality" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
861c2eed78
@@ -298,11 +298,15 @@ public class InvariantDeviceProfile {
|
||||
* Reinitialize the current grid after a restore, where some grids might now be disabled.
|
||||
*/
|
||||
public void reinitializeAfterRestore(Context context) {
|
||||
FileLog.d(TAG, "Reinitializing grid after restore");
|
||||
String currentGridName = getCurrentGridName(context);
|
||||
String currentDbFile = dbFile;
|
||||
String newGridName = initGrid(context, currentGridName);
|
||||
String newDbFile = dbFile;
|
||||
FileLog.d(TAG, "Reinitializing grid after restore."
|
||||
+ " currentGridName=" + currentGridName
|
||||
+ ", currentDbFile=" + currentDbFile
|
||||
+ ", newGridName=" + newGridName
|
||||
+ ", newDbFile=" + newDbFile);
|
||||
if (!newDbFile.equals(currentDbFile)) {
|
||||
FileLog.d(TAG, "Restored grid is disabled : " + currentGridName
|
||||
+ ", migrating to: " + newGridName
|
||||
|
||||
Reference in New Issue
Block a user