diff options
author | nebkat <nebkat@teamhacksung.org> | 2012-12-20 17:08:28 +0000 |
---|---|---|
committer | nebkat <nebkat@teamhacksung.org> | 2012-12-20 17:08:28 +0000 |
commit | 42ce925f1aaadc329e2e572c2ee4c2774b731a4a (patch) | |
tree | 82cbb92826a26f283696d442c8f3aedd11b95ebe | |
parent | 62d0f2dc6df3fb1acbe154e5fb1d369585290368 (diff) | |
download | packages_apps_trebuchet-42ce925f1aaadc329e2e572c2ee4c2774b731a4a.zip packages_apps_trebuchet-42ce925f1aaadc329e2e572c2ee4c2774b731a4a.tar.gz packages_apps_trebuchet-42ce925f1aaadc329e2e572c2ee4c2774b731a4a.tar.bz2 |
Workspace: Run checkWallpaper on UI thread
Change-Id: Iffdd3c6d36583dab75f9b76ea6bf03a7656611dc
-rw-r--r-- | src/com/cyanogenmod/trebuchet/Workspace.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/cyanogenmod/trebuchet/Workspace.java b/src/com/cyanogenmod/trebuchet/Workspace.java index b08c8d8..0f5e92b 100644 --- a/src/com/cyanogenmod/trebuchet/Workspace.java +++ b/src/com/cyanogenmod/trebuchet/Workspace.java @@ -1055,7 +1055,11 @@ public class Workspace extends SmoothPagedView new Thread("setWallpaperDimension") { public void run() { mWallpaperManager.suggestDesiredDimensions(mWallpaperWidth, mWallpaperHeight); - checkWallpaper(); + post(new Runnable() { + public void run() { + checkWallpaper(); + } + }); } }.start(); } |