diff options
author | Adam Cohen <adamcohen@google.com> | 2011-07-27 22:23:47 -0700 |
---|---|---|
committer | Adam Cohen <adamcohen@google.com> | 2011-07-27 23:27:22 -0700 |
commit | 228da5a24e5a680cfb7bec14a24d20b5cb595a34 (patch) | |
tree | 2ba6d5abe08d580e0bbd1e61ff4a45cd8d67d997 /src/com/android/launcher2/Launcher.java | |
parent | 2f84ef259314b0bef20f6e7e503377212fadc88c (diff) | |
download | packages_apps_trebuchet-228da5a24e5a680cfb7bec14a24d20b5cb595a34.zip packages_apps_trebuchet-228da5a24e5a680cfb7bec14a24d20b5cb595a34.tar.gz packages_apps_trebuchet-228da5a24e5a680cfb7bec14a24d20b5cb595a34.tar.bz2 |
Some launcher bugs:
-> Allowing folders to be specified in xml (issue 5032559)
-> Mostly fixing issue where you can lose items when dragging
out of a folder to a full screen (issue 5052078)
Change-Id: I3228dd568b2b8919c14594ee518f86173430481e
Diffstat (limited to 'src/com/android/launcher2/Launcher.java')
-rw-r--r-- | src/com/android/launcher2/Launcher.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index bc341ef..339d7c8 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -51,6 +51,7 @@ import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.AsyncTask; +import android.os.Build; import android.os.Bundle; import android.os.Environment; import android.os.Handler; @@ -657,7 +658,6 @@ public final class Launcher extends Activity final long pendingAddContainer = savedState.getLong(RUNTIME_STATE_PENDING_ADD_CONTAINER, -1); final int pendingAddScreen = savedState.getInt(RUNTIME_STATE_PENDING_ADD_SCREEN, -1); - if (pendingAddContainer != ItemInfo.NO_ID && pendingAddScreen > -1) { mPendingAddInfo.container = pendingAddContainer; mPendingAddInfo.screen = pendingAddScreen; |