diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml index 4b45807107..346d29b5a5 100644 --- a/res/layout-port/launcher.xml +++ b/res/layout-port/launcher.xml @@ -25,11 +25,7 @@ android:background="@drawable/workspace_bg"> @@ -116,4 +112,4 @@ android:layout_height="match_parent" android:visibility="invisible" /> - \ No newline at end of file + diff --git a/res/layout-sw720dp/launcher.xml b/res/layout-sw720dp/launcher.xml index 1fc53222f4..2bacf362df 100644 --- a/res/layout-sw720dp/launcher.xml +++ b/res/layout-sw720dp/launcher.xml @@ -25,11 +25,7 @@ android:background="@drawable/workspace_bg"> @@ -117,4 +113,4 @@ android:layout_height="match_parent" android:visibility="invisible" /> - \ No newline at end of file + diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index 0aab2acafe..7437eacffe 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -288,7 +288,6 @@ public final class Launcher extends Activity private static Drawable.ConstantState[] sAppMarketIcon = new Drawable.ConstantState[2]; private Drawable mWorkspaceBackgroundDrawable; - private Drawable mBlackBackgroundDrawable; private final ArrayList mSynchronouslyBoundPages = new ArrayList(); @@ -959,7 +958,6 @@ public final class Launcher extends Activity mLauncherView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN); mWorkspaceBackgroundDrawable = getResources().getDrawable(R.drawable.workspace_bg); - mBlackBackgroundDrawable = new ColorDrawable(Color.BLACK); // Setup the drag layer mDragLayer.setup(this, dragController); @@ -2433,7 +2431,7 @@ public final class Launcher extends Activity private void setWorkspaceBackground(boolean workspace) { mLauncherView.setBackground(workspace ? - mWorkspaceBackgroundDrawable : mBlackBackgroundDrawable); + mWorkspaceBackgroundDrawable : null); } void updateWallpaperVisibility(boolean visible) {