From 11d7d34f0df2b0ca308a2414ef09ae2f0be646b6 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Fri, 2 Apr 2021 10:58:57 -0700 Subject: [PATCH] Removing unnessary resource split in overview Bug: 184169818 Test: Presubmit Change-Id: Iff5a8510be337472f05acb5629712ec088361471 --- Android.bp | 1 - Android.mk | 13 ++++------- .../res/values/config.xml | 22 ------------------- .../res/layout/overview_actions_container.xml | 0 go/quickstep/res/values/config.xml | 2 ++ .../res/values/config.xml | 18 --------------- .../recents_ui_overrides/src/REMOVED.txt | 2 -- .../res/layout/overview_actions_container.xml | 0 quickstep/res/values/config.xml | 1 + 9 files changed, 7 insertions(+), 52 deletions(-) delete mode 100644 go/quickstep/overview_ui_overrides/res/values/config.xml rename go/quickstep/{overview_ui_overrides => }/res/layout/overview_actions_container.xml (100%) delete mode 100644 quickstep/overview_ui_overrides/res/values/config.xml delete mode 100644 quickstep/recents_ui_overrides/src/REMOVED.txt rename quickstep/{overview_ui_overrides => }/res/layout/overview_actions_container.xml (100%) diff --git a/Android.bp b/Android.bp index 2c9d664ac6..e30d22ff73 100644 --- a/Android.bp +++ b/Android.bp @@ -179,7 +179,6 @@ android_library { srcs: [ ], resource_dirs: [ "quickstep/res", - "quickstep/overview_ui_overrides/res", ], static_libs: [ "Launcher3ResLib", diff --git a/Android.mk b/Android.mk index 89870a690e..54a80b7454 100644 --- a/Android.mk +++ b/Android.mk @@ -78,9 +78,7 @@ LOCAL_SRC_FILES := \ $(call all-java-files-under, quickstep/src) \ $(call all-java-files-under, src_shortcuts_overrides) -LOCAL_RESOURCE_DIR := \ - $(LOCAL_PATH)/quickstep/res \ - $(LOCAL_PATH)/quickstep/overview_ui_overrides/res +LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/quickstep/res LOCAL_PROGUARD_ENABLED := disabled @@ -109,9 +107,7 @@ LOCAL_SYSTEM_EXT_MODULE := true LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3 LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.launcher3 -LOCAL_RESOURCE_DIR := \ - $(LOCAL_PATH)/quickstep/res \ - $(LOCAL_PATH)/quickstep/overview_ui_overrides/res +LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/quickstep/res LOCAL_FULL_LIBS_MANIFEST_FILES := \ $(LOCAL_PATH)/quickstep/AndroidManifest-launcher.xml \ @@ -148,10 +144,9 @@ LOCAL_SRC_FILES := \ $(call all-java-files-under, go/quickstep/src) LOCAL_RESOURCE_DIR := \ - $(LOCAL_PATH)/quickstep/res \ - $(LOCAL_PATH)/go/res \ $(LOCAL_PATH)/go/quickstep/res \ - $(LOCAL_PATH)/go/quickstep/overview_ui_overrides/res + $(LOCAL_PATH)/go/res \ + $(LOCAL_PATH)/quickstep/res LOCAL_PROGUARD_FLAG_FILES := proguard.flags LOCAL_PROGUARD_ENABLED := full diff --git a/go/quickstep/overview_ui_overrides/res/values/config.xml b/go/quickstep/overview_ui_overrides/res/values/config.xml deleted file mode 100644 index ec21a01572..0000000000 --- a/go/quickstep/overview_ui_overrides/res/values/config.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - com.android.quickstep.TaskOverlayFactoryGo - \ No newline at end of file diff --git a/go/quickstep/overview_ui_overrides/res/layout/overview_actions_container.xml b/go/quickstep/res/layout/overview_actions_container.xml similarity index 100% rename from go/quickstep/overview_ui_overrides/res/layout/overview_actions_container.xml rename to go/quickstep/res/layout/overview_actions_container.xml diff --git a/go/quickstep/res/values/config.xml b/go/quickstep/res/values/config.xml index a21381c745..402bf9ad13 100644 --- a/go/quickstep/res/values/config.xml +++ b/go/quickstep/res/values/config.xml @@ -21,4 +21,6 @@ true + + com.android.quickstep.TaskOverlayFactoryGo \ No newline at end of file diff --git a/quickstep/overview_ui_overrides/res/values/config.xml b/quickstep/overview_ui_overrides/res/values/config.xml deleted file mode 100644 index 0f09439cf5..0000000000 --- a/quickstep/overview_ui_overrides/res/values/config.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - \ No newline at end of file diff --git a/quickstep/recents_ui_overrides/src/REMOVED.txt b/quickstep/recents_ui_overrides/src/REMOVED.txt deleted file mode 100644 index c3a3eaf692..0000000000 --- a/quickstep/recents_ui_overrides/src/REMOVED.txt +++ /dev/null @@ -1,2 +0,0 @@ -Temp file to prevent build breakage. -Will be removed in followup cl. \ No newline at end of file diff --git a/quickstep/overview_ui_overrides/res/layout/overview_actions_container.xml b/quickstep/res/layout/overview_actions_container.xml similarity index 100% rename from quickstep/overview_ui_overrides/res/layout/overview_actions_container.xml rename to quickstep/res/layout/overview_actions_container.xml diff --git a/quickstep/res/values/config.xml b/quickstep/res/values/config.xml index be661049a1..b2ff7709d4 100644 --- a/quickstep/res/values/config.xml +++ b/quickstep/res/values/config.xml @@ -15,6 +15,7 @@ --> +