Removing some deprecated columns.

Removing these columns will ensure that new installs do not
get this column, without affecting the upgrades.

Change-Id: If06edcd2f899f30b5427c07e72a170ccefc32dd6
This commit is contained in:
Sunny Goyal
2016-04-20 21:26:15 -07:00
parent 77c263660e
commit cc8f9e0af7
2 changed files with 0 additions and 58 deletions
@@ -658,13 +658,10 @@ public class LauncherProvider extends ContentProvider {
"spanY INTEGER," +
"itemType INTEGER," +
"appWidgetId INTEGER NOT NULL DEFAULT -1," +
"isShortcut INTEGER," +
"iconType INTEGER," +
"iconPackage TEXT," +
"iconResource TEXT," +
"icon BLOB," +
"uri TEXT," +
"displayMode INTEGER," +
"appWidgetProvider TEXT," +
"modified INTEGER NOT NULL DEFAULT 0," +
"restored INTEGER NOT NULL DEFAULT 0," +
@@ -215,16 +215,6 @@ public class LauncherSettings {
*/
public static final int ITEM_TYPE_FOLDER = 2;
/**
* The favorite is a live folder
*
* Note: live folders can no longer be added to Launcher, and any live folders which
* exist within the launcher database will be ignored when loading. That said, these
* entries in the database may still exist, and are not automatically stripped.
*/
@Deprecated
static final int ITEM_TYPE_LIVE_FOLDER = 3;
/**
* The favorite is a widget
*/
@@ -235,24 +225,6 @@ public class LauncherSettings {
*/
public static final int ITEM_TYPE_CUSTOM_APPWIDGET = 5;
/**
* The favorite is a clock
*/
@Deprecated
static final int ITEM_TYPE_WIDGET_CLOCK = 1000;
/**
* The favorite is a search widget
*/
@Deprecated
static final int ITEM_TYPE_WIDGET_SEARCH = 1001;
/**
* The favorite is a photo frame
*/
@Deprecated
static final int ITEM_TYPE_WIDGET_PHOTO_FRAME = 1002;
/**
* The appWidgetId of the widget
*
@@ -266,33 +238,6 @@ public class LauncherSettings {
* <P>Type: STRING</P>
*/
public static final String APPWIDGET_PROVIDER = "appWidgetProvider";
/**
* Indicates whether this favorite is an application-created shortcut or not.
* If the value is 0, the favorite is not an application-created shortcut, if the
* value is 1, it is an application-created shortcut.
* <P>Type: INTEGER</P>
*/
@Deprecated
static final String IS_SHORTCUT = "isShortcut";
/**
* The URI associated with the favorite. It is used, for instance, by
* live folders to find the content provider.
* <P>Type: TEXT</P>
*/
@Deprecated
static final String URI = "uri";
/**
* The display mode if the item is a live folder.
* <P>Type: INTEGER</P>
*
* @see android.provider.LiveFolders#DISPLAY_MODE_GRID
* @see android.provider.LiveFolders#DISPLAY_MODE_LIST
*/
@Deprecated
static final String DISPLAY_MODE = "displayMode";
/**
* Boolean indicating that his item was restored and not yet successfully bound.