diff options
author | Winson Chung <winsonc@google.com> | 2011-08-10 15:28:45 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-08-10 15:29:55 -0700 |
commit | c7da555dc5b252042dff0a6920efb1bfeb4a0c9a (patch) | |
tree | 124c972e4c4b9780dfde0263b0856dcf50c96b36 /src/com/android/launcher2/Launcher.java | |
parent | fa2b241424f3478200e77d61db83448c2f211fee (diff) | |
download | packages_apps_trebuchet-c7da555dc5b252042dff0a6920efb1bfeb4a0c9a.zip packages_apps_trebuchet-c7da555dc5b252042dff0a6920efb1bfeb4a0c9a.tar.gz packages_apps_trebuchet-c7da555dc5b252042dff0a6920efb1bfeb4a0c9a.tar.bz2 |
Fixing problems in spring loaded mode and adding shortcut to hotseat. (5144911, 5144663)
Change-Id: Ibea34ecb17601c90c7a8f2c96abedff6c00dc4d9
Diffstat (limited to 'src/com/android/launcher2/Launcher.java')
-rw-r--r-- | src/com/android/launcher2/Launcher.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index 1b105d2..b260ae3 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -478,8 +478,7 @@ public final class Launcher extends Activity // For example, the user would PICK_SHORTCUT for "Music playlist", and we // launch over to the Music app to actually CREATE_SHORTCUT. - if (resultCode == RESULT_OK && mPendingAddInfo.container != ItemInfo.NO_ID && - mPendingAddInfo.screen > -1) { + if (resultCode == RESULT_OK && mPendingAddInfo.container != ItemInfo.NO_ID) { final PendingAddArguments args = new PendingAddArguments(); args.requestCode = requestCode; args.intent = data; |