[packages/apps/Launcher3] MultiWindow:no use shade background
This commit is contained in:
@ -22,7 +22,6 @@
|
||||
android:id="@+id/launcher"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/workspace_bg"
|
||||
android:fitsSystemWindows="true">
|
||||
|
||||
<com.android.launcher3.DragLayer
|
||||
|
||||
@ -3302,7 +3302,8 @@ public class Launcher extends Activity
|
||||
}
|
||||
|
||||
private void setWorkspaceBackground(boolean workspace) {
|
||||
mLauncherView.setBackground(workspace ?
|
||||
boolean isMultiMode = (0 != Settings.System.getInt(getContentResolver(), "multi_window_config", 0));
|
||||
mLauncherView.setBackground(workspace&&!isMultiMode ?
|
||||
mWorkspaceBackgroundDrawable : null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user