diff --git a/res/drawable-hdpi/quantum_panel_bitmap.9.png b/res/drawable-hdpi/quantum_panel_bitmap.9.png deleted file mode 100644 index d2aee737f3..0000000000 Binary files a/res/drawable-hdpi/quantum_panel_bitmap.9.png and /dev/null differ diff --git a/res/drawable-hdpi/quantum_panel_dark_bitmap.9.png b/res/drawable-hdpi/quantum_panel_dark_bitmap.9.png deleted file mode 100644 index 78345b82a7..0000000000 Binary files a/res/drawable-hdpi/quantum_panel_dark_bitmap.9.png and /dev/null differ diff --git a/res/drawable-mdpi/quantum_panel_bitmap.9.png b/res/drawable-mdpi/quantum_panel_bitmap.9.png deleted file mode 100644 index 9325d491f8..0000000000 Binary files a/res/drawable-mdpi/quantum_panel_bitmap.9.png and /dev/null differ diff --git a/res/drawable-mdpi/quantum_panel_dark_bitmap.9.png b/res/drawable-mdpi/quantum_panel_dark_bitmap.9.png deleted file mode 100644 index bf74fa0603..0000000000 Binary files a/res/drawable-mdpi/quantum_panel_dark_bitmap.9.png and /dev/null differ diff --git a/res/drawable-v21/quantum_panel.xml b/res/drawable-v21/quantum_panel.xml deleted file mode 100644 index d1c078335c..0000000000 --- a/res/drawable-v21/quantum_panel.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - diff --git a/res/drawable-v21/quantum_panel_dark.xml b/res/drawable-v21/quantum_panel_dark.xml deleted file mode 100644 index 405ad51735..0000000000 --- a/res/drawable-v21/quantum_panel_dark.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - diff --git a/res/drawable-xhdpi/quantum_panel_bitmap.9.png b/res/drawable-xhdpi/quantum_panel_bitmap.9.png deleted file mode 100644 index b89e8b4103..0000000000 Binary files a/res/drawable-xhdpi/quantum_panel_bitmap.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/quantum_panel_dark_bitmap.9.png b/res/drawable-xhdpi/quantum_panel_dark_bitmap.9.png deleted file mode 100644 index 1d17136036..0000000000 Binary files a/res/drawable-xhdpi/quantum_panel_dark_bitmap.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/quantum_panel_bitmap.9.png b/res/drawable-xxhdpi/quantum_panel_bitmap.9.png deleted file mode 100644 index 1dd1f6db85..0000000000 Binary files a/res/drawable-xxhdpi/quantum_panel_bitmap.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/quantum_panel_dark_bitmap.9.png b/res/drawable-xxhdpi/quantum_panel_dark_bitmap.9.png deleted file mode 100644 index 48d584b95b..0000000000 Binary files a/res/drawable-xxhdpi/quantum_panel_dark_bitmap.9.png and /dev/null differ diff --git a/res/drawable-xxxhdpi/quantum_panel_bitmap.9.png b/res/drawable-xxxhdpi/quantum_panel_bitmap.9.png deleted file mode 100644 index 915177d78d..0000000000 Binary files a/res/drawable-xxxhdpi/quantum_panel_bitmap.9.png and /dev/null differ diff --git a/res/drawable-xxxhdpi/quantum_panel_dark_bitmap.9.png b/res/drawable-xxxhdpi/quantum_panel_dark_bitmap.9.png deleted file mode 100644 index 27b8466527..0000000000 Binary files a/res/drawable-xxxhdpi/quantum_panel_dark_bitmap.9.png and /dev/null differ diff --git a/res/drawable/quantum_panel.xml b/res/drawable/quantum_panel.xml index 1f4fb711bb..fda1003708 100644 --- a/res/drawable/quantum_panel.xml +++ b/res/drawable/quantum_panel.xml @@ -14,5 +14,9 @@ See the License for the specific language governing permissions and limitations under the License. --> - + diff --git a/res/drawable/quantum_panel_dark.xml b/res/drawable/quantum_panel_dark.xml index 6642e78ac7..b113b376f8 100644 --- a/res/drawable/quantum_panel_dark.xml +++ b/res/drawable/quantum_panel_dark.xml @@ -14,5 +14,9 @@ See the License for the specific language governing permissions and limitations under the License. --> - + diff --git a/src/com/android/launcher3/dragndrop/DragLayer.java b/src/com/android/launcher3/dragndrop/DragLayer.java index 019a1745c5..59d18c23ab 100644 --- a/src/com/android/launcher3/dragndrop/DragLayer.java +++ b/src/com/android/launcher3/dragndrop/DragLayer.java @@ -145,10 +145,12 @@ public class DragLayer extends InsettableFrameLayout { setChildrenDrawingOrderEnabled(true); final Resources res = getResources(); - mLeftHoverDrawable = res.getDrawable(R.drawable.page_hover_left); - mRightHoverDrawable = res.getDrawable(R.drawable.page_hover_right); - mLeftHoverDrawableActive = res.getDrawable(R.drawable.page_hover_left_active); - mRightHoverDrawableActive = res.getDrawable(R.drawable.page_hover_right_active); + if (FeatureFlags.LAUNCHER3_LEGACY_WORKSPACE_DND) { + mLeftHoverDrawable = res.getDrawable(R.drawable.page_hover_left); + mRightHoverDrawable = res.getDrawable(R.drawable.page_hover_right); + mLeftHoverDrawableActive = res.getDrawable(R.drawable.page_hover_left_active); + mRightHoverDrawableActive = res.getDrawable(R.drawable.page_hover_right_active); + } mIsRtl = Utilities.isRtl(res); mFocusIndicatorHelper = new ViewGroupFocusHelper(this); }