mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Removing support for adding legacy shortcuts.
All existing legacy shortcuts will be migrated one-time to deep shortcuts This shortcuts are pinned under the Launcher package, with custom badging Bug: 275875209 Test: Updated unit tests Flag: N/A Change-Id: I7da001f724776ad8d6c807517b7e4e259de626c2
This commit is contained in:
@@ -72,7 +72,7 @@ public class DatabaseHelper extends NoLocaleSQLiteHelper implements
|
||||
* Represents the schema of the database. Changes in scheme need not be backwards compatible.
|
||||
* When increasing the scheme version, ensure that downgrade_schema.json is updated
|
||||
*/
|
||||
public static final int SCHEMA_VERSION = 31;
|
||||
public static final int SCHEMA_VERSION = 32;
|
||||
private static final String TAG = "DatabaseHelper";
|
||||
private static final boolean LOGD = false;
|
||||
|
||||
@@ -327,6 +327,10 @@ public class DatabaseHelper extends NoLocaleSQLiteHelper implements
|
||||
return;
|
||||
}
|
||||
case 31: {
|
||||
LauncherDbUtils.migrateLegacyShortcuts(mContext, db);
|
||||
}
|
||||
// Fall through
|
||||
case 32: {
|
||||
// DB Upgraded successfully
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user