diff options
author | Romain Guy <romainguy@android.com> | 2010-03-04 11:57:50 -0800 |
---|---|---|
committer | Romain Guy <romainguy@android.com> | 2010-03-04 12:01:40 -0800 |
commit | cf8790483d0f6007731affaf612592cddd0a7d29 (patch) | |
tree | 67b79cd783cb24a190c957de0b19da5fe8bc2c13 /src/com/android/launcher2/LauncherProvider.java | |
parent | 060b5c88cc7a3be8628b43ddb6134653cf45b720 (diff) | |
download | packages_apps_trebuchet-cf8790483d0f6007731affaf612592cddd0a7d29.zip packages_apps_trebuchet-cf8790483d0f6007731affaf612592cddd0a7d29.tar.gz packages_apps_trebuchet-cf8790483d0f6007731affaf612592cddd0a7d29.tar.bz2 |
Rename Launcher2's package to com.android.launcher.
This should fix data migration issues.
Diffstat (limited to 'src/com/android/launcher2/LauncherProvider.java')
-rw-r--r-- | src/com/android/launcher2/LauncherProvider.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/com/android/launcher2/LauncherProvider.java b/src/com/android/launcher2/LauncherProvider.java index 14c83b3..e262be3 100644 --- a/src/com/android/launcher2/LauncherProvider.java +++ b/src/com/android/launcher2/LauncherProvider.java @@ -45,12 +45,10 @@ import android.util.Xml; import android.util.AttributeSet; import android.net.Uri; import android.text.TextUtils; -import android.os.*; import android.provider.Settings; import java.io.IOException; import java.net.URISyntaxException; -import java.util.ArrayList; import java.util.List; import org.xmlpull.v1.XmlPullParserException; @@ -69,9 +67,6 @@ public class LauncherProvider extends ContentProvider { static final String AUTHORITY = "com.android.launcher2.settings"; - static final String EXTRA_BIND_SOURCES = "com.android.launcher2.settings.bindsources"; - static final String EXTRA_BIND_TARGETS = "com.android.launcher2.settings.bindtargets"; - static final String TABLE_FAVORITES = "favorites"; static final String PARAMETER_NOTIFY = "notify"; @@ -485,8 +480,6 @@ public class LauncherProvider extends ContentProvider { Cursor c = null; try { boolean logged = false; - final ContentValues values = new ContentValues(); - final ContentResolver cr = mContext.getContentResolver(); final SQLiteStatement update = db.compileStatement("UPDATE favorites " + "SET icon=? WHERE _id=?"); @@ -587,7 +580,6 @@ public class LauncherProvider extends ContentProvider { String updateWhere = Favorites._ID + "=" + favoriteId; db.update(TABLE_FAVORITES, values, updateWhere, null); - ComponentName cn = null; if (favoriteType == Favorites.ITEM_TYPE_WIDGET_CLOCK) { appWidgetManager.bindAppWidgetId(appWidgetId, new ComponentName("com.android.alarmclock", |