diff options
author | Joe Onorato <joeo@android.com> | 2010-02-18 10:34:24 -0500 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2010-02-18 10:34:24 -0500 |
commit | 346e129456951b5db36a663d5601421e8019632e (patch) | |
tree | e414b2de638450345f61fce7d268733ec788ef50 /src/com/android/launcher2/LauncherProvider.java | |
parent | df3080e8654b0c68da3925e1ecdb8ecf114b7d91 (diff) | |
download | packages_apps_trebuchet-346e129456951b5db36a663d5601421e8019632e.zip packages_apps_trebuchet-346e129456951b5db36a663d5601421e8019632e.tar.gz packages_apps_trebuchet-346e129456951b5db36a663d5601421e8019632e.tar.bz2 |
Fix a crash on launcher db upgrade.
Diffstat (limited to 'src/com/android/launcher2/LauncherProvider.java')
-rw-r--r-- | src/com/android/launcher2/LauncherProvider.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher2/LauncherProvider.java b/src/com/android/launcher2/LauncherProvider.java index ae343fc..457f2f7 100644 --- a/src/com/android/launcher2/LauncherProvider.java +++ b/src/com/android/launcher2/LauncherProvider.java @@ -480,6 +480,7 @@ public class LauncherProvider extends ContentProvider { private void normalizeIcons(SQLiteDatabase db) { Log.d(TAG, "normalizing icons"); + db.beginTransaction(); Cursor c = null; try { boolean logged = false; |