OSDN Git Service

Bind the workspace synchronously if started on -1 screen.
authorDerek Prothro <dprothro@google.com>
Tue, 10 Dec 2013 19:00:37 +0000 (14:00 -0500)
committerDerek Prothro <dprothro@google.com>
Tue, 10 Dec 2013 20:05:41 +0000 (15:05 -0500)
commit7aff399974c756930070d82d7b2df88f125dacd6
treec8717f07e36d59b120737be17609907857be12cb
parent33231f587e1a6f716af68e6198df774d2847a8e5
Bind the workspace synchronously if started on -1 screen.

Previously, LoaderTask would be run asynchronously to bind
the workspace when started on -1 which would cause the user's
wallpaper to briefly flash when rotating the device on -1.

Bug: 11802691
Change-Id: I3a1a7a32fa28a81e041a283a93d808d5a8884133
src/com/android/launcher3/Launcher.java
src/com/android/launcher3/LauncherModel.java