We still won't be able to show a thumbnail, of course, but now instead of
crashing the picker we leave an empty box and write out a helpful Log.e such
as:
09-21 15:11:45.624: ERROR/Launcher(1539): Error decoding thumbnail resId=2130837544 for wallpaper #14
(Related to http://b/2113687.)
Now, home always goes to the center worksapce screen and back from an
app goes to all apps if it was open.
Getting that animations smooth took a little bit of work.
Also cherry-picks this from launcher 1
Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off
Close things out in various ways. This should be done for Launcher2 as well.
Change-Id: Id4f1c78e35180b437144c54ddcbf10069cc09071
Conflicts:
AndroidManifest.xml
src/com/android/launcher2/Launcher.java
Merge commit 'e363b93f7f6af1f18dc8e053778dd394dbe1734c'
* commit 'e363b93f7f6af1f18dc8e053778dd394dbe1734c':
Add the ability to dismiss previews when touching outside of the popup.u
Merge commit 'a599c5d016a748a294eb04a8960dc1525bce9cef'
* commit 'a599c5d016a748a294eb04a8960dc1525bce9cef':
Improve previews display and allow to jump directly to any screen.
Merge commit '05b34a11956760020972c184314e5a771eeaed56' into eclair-mr2-plus-aosp
* commit '05b34a11956760020972c184314e5a771eeaed56':
Add the ability to dismiss previews when touching outside of the popup.u
Merge commit 'cc1e22ff48e261ae6601b8c0a53bcf4ffaabb5ad' into eclair-mr2-plus-aosp
* commit 'cc1e22ff48e261ae6601b8c0a53bcf4ffaabb5ad':
Improve previews display and allow to jump directly to any screen.
Merge commit 'ff0c2e26ecf3e27571743fb6d11128e948dd91f3' into eclair-mr2
* commit 'ff0c2e26ecf3e27571743fb6d11128e948dd91f3':
Add the ability to dismiss previews when touching outside of the popup.u
Merge commit 'a6abce8464b57ce91e8f083951ad263370fc2da8' into eclair-mr2
* commit 'a6abce8464b57ce91e8f083951ad263370fc2da8':
Improve previews display and allow to jump directly to any screen.
Smaller thumbnail (removed unnecessary padding), more opaque background.
Uses a white background because the dark background interferes with the
new dark widgets.
Change-Id: I7654741d845609200569fce34b6cde891d2b5d29
Merge commit 'cfe0245e4eda578c665ba274105845612434d408'
* commit 'cfe0245e4eda578c665ba274105845612434d408':
Add previews on long press on the indicators.
Merge commit '21a94aa2f681dac7edc99dd4c7efd11b602cb1d6' into eclair-mr2-plus-aosp
* commit '21a94aa2f681dac7edc99dd4c7efd11b602cb1d6':
Add previews on long press on the indicators.
Merge commit '1fbc1c843170fe0c9326bb3ffd5bd9c5c599ca2e' into eclair-mr2
* commit '1fbc1c843170fe0c9326bb3ffd5bd9c5c599ca2e':
Add previews on long press on the indicators.
Merge commit 'e2379d98237369e783359f1c0618e07a47ed6797' into eclair-mr2-plus-aosp
* commit 'e2379d98237369e783359f1c0618e07a47ed6797':
Update Launcher2 to the new wallpaper API
Merge commit 'c07c79b10b663a02ef67da57bdda60a1ea299eb5' into eclair-mr2
* commit 'c07c79b10b663a02ef67da57bdda60a1ea299eb5':
Update Launcher2 to the new wallpaper API
Merge commit 'e1c51b1d9399cdfd8c802eca678141ae431060c9'
* commit 'e1c51b1d9399cdfd8c802eca678141ae431060c9':
New position indicators and icons for Launcher2.
Merge commit '50143db9cf91f20247d1ed5bb22eafda401c6b00' into eclair-mr2-plus-aosp
* commit '50143db9cf91f20247d1ed5bb22eafda401c6b00':
New position indicators and icons for Launcher2.
Merge commit '8a73c51ee87b6d9b12daba188034889caf7a905b' into eclair-mr2
* commit '8a73c51ee87b6d9b12daba188034889caf7a905b':
New position indicators and icons for Launcher2.
Merge commit 'fbd65e8f12023d409c9f297a26955b7882e3e37d'
* commit 'fbd65e8f12023d409c9f297a26955b7882e3e37d':
Disable orientation change based on sensor in the wallpaper picker.
Merge commit '3b5dad1462f248b4bdb725a03cad926291117c58'
* commit '3b5dad1462f248b4bdb725a03cad926291117c58':
Fix 2246713 - Bad offset when picking up a widget for the first time.
Merge commit 'aa34ce49c0b9ee8606c5bbb287dcd4ccf98faf74'
* commit 'aa34ce49c0b9ee8606c5bbb287dcd4ccf98faf74':
Fix 2215274 - Duplicate widgets appearing on top of each other
Merge commit 'aad5f9e943479e9e6cb5e882bff99decb097a246'
* commit 'aad5f9e943479e9e6cb5e882bff99decb097a246':
Fix bug 2242465 - Can add shortcuts while the "3d all apps" is open.
Merge commit 'cf4fb51d8d181fe2f5752829d4c3098bd8f5b8e8'
* commit 'cf4fb51d8d181fe2f5752829d4c3098bd8f5b8e8':
Make the selection indicator and the focus indicator in 3d all apps different colors. Bug 2239818.
Merge commit '8424adf5e3096c2ad3fd064f0df6ce97a0709944' into eclair-mr2-plus-aosp
* commit '8424adf5e3096c2ad3fd064f0df6ce97a0709944':
Start listening again after LauncherProvider clears widgets.
Merge commit 'e85c56e507fdac9989381d02cb0cbc446b264c96' into eclair-mr2-plus-aosp
* commit 'e85c56e507fdac9989381d02cb0cbc446b264c96':
One camera is probably sufficient