Fix more crashes below Android 10
This commit is contained in:
1 parent
7c26603f33
commit
61d2358ba1
8 files changed
+30
-17
No files matched your search
@@ -262,7 +262,7 @@ public class GridSizeMigrationTask {
|
||||
*/
|
||||
protected void migrateScreen(int screenId) {
|
||||
// If we are migrating the first screen, do not touch the first row.
|
||||
int startY = (FeatureFlags.topQsbOnFirstScreenEnabled(LawnchairApp.getContext()) && screenId == Workspace.FIRST_SCREEN_ID)
|
||||
int startY = (FeatureFlags.topQsbOnFirstScreenEnabled(LawnchairApp.getInstance()) && screenId == Workspace.FIRST_SCREEN_ID)
|
||||
? 1 : 0;
|
||||
|
||||
ArrayList<DbEntry> items = loadWorkspaceEntries(screenId);
|
||||
|
||||
Reference in new issue
Block a user