summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2010-03-04 11:57:50 -0800
committerRomain Guy <romainguy@android.com>2010-03-04 12:01:40 -0800
commitcf8790483d0f6007731affaf612592cddd0a7d29 (patch)
tree67b79cd783cb24a190c957de0b19da5fe8bc2c13 /src
parent060b5c88cc7a3be8628b43ddb6134653cf45b720 (diff)
downloadandroid_packages_apps_Trebuchet-cf8790483d0f6007731affaf612592cddd0a7d29.tar.gz
android_packages_apps_Trebuchet-cf8790483d0f6007731affaf612592cddd0a7d29.tar.bz2
android_packages_apps_Trebuchet-cf8790483d0f6007731affaf612592cddd0a7d29.zip
Rename Launcher2's package to com.android.launcher.
This should fix data migration issues.
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher2/LauncherProvider.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/com/android/launcher2/LauncherProvider.java b/src/com/android/launcher2/LauncherProvider.java
index 14c83b3e3..e262be385 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",