Removing unnessary resource split in overview

Bug: 184169818
Test: Presubmit
Change-Id: Iff5a8510be337472f05acb5629712ec088361471
This commit is contained in:
Sunny Goyal 2021-04-02 10:58:57 -07:00
parent 5bd9ba2a80
commit 11d7d34f0d
9 changed files with 7 additions and 52 deletions

View File

@ -179,7 +179,6 @@ android_library {
srcs: [ ], srcs: [ ],
resource_dirs: [ resource_dirs: [
"quickstep/res", "quickstep/res",
"quickstep/overview_ui_overrides/res",
], ],
static_libs: [ static_libs: [
"Launcher3ResLib", "Launcher3ResLib",

View File

@ -78,9 +78,7 @@ LOCAL_SRC_FILES := \
$(call all-java-files-under, quickstep/src) \ $(call all-java-files-under, quickstep/src) \
$(call all-java-files-under, src_shortcuts_overrides) $(call all-java-files-under, src_shortcuts_overrides)
LOCAL_RESOURCE_DIR := \ LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/quickstep/res
$(LOCAL_PATH)/quickstep/res \
$(LOCAL_PATH)/quickstep/overview_ui_overrides/res
LOCAL_PROGUARD_ENABLED := disabled LOCAL_PROGUARD_ENABLED := disabled
@ -109,9 +107,7 @@ LOCAL_SYSTEM_EXT_MODULE := true
LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3 LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3
LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.launcher3 LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.launcher3
LOCAL_RESOURCE_DIR := \ LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/quickstep/res
$(LOCAL_PATH)/quickstep/res \
$(LOCAL_PATH)/quickstep/overview_ui_overrides/res
LOCAL_FULL_LIBS_MANIFEST_FILES := \ LOCAL_FULL_LIBS_MANIFEST_FILES := \
$(LOCAL_PATH)/quickstep/AndroidManifest-launcher.xml \ $(LOCAL_PATH)/quickstep/AndroidManifest-launcher.xml \
@ -148,10 +144,9 @@ LOCAL_SRC_FILES := \
$(call all-java-files-under, go/quickstep/src) $(call all-java-files-under, go/quickstep/src)
LOCAL_RESOURCE_DIR := \ LOCAL_RESOURCE_DIR := \
$(LOCAL_PATH)/quickstep/res \
$(LOCAL_PATH)/go/res \
$(LOCAL_PATH)/go/quickstep/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_FLAG_FILES := proguard.flags
LOCAL_PROGUARD_ENABLED := full LOCAL_PROGUARD_ENABLED := full

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources>
<string name="task_overlay_factory_class" translatable="false">
com.android.quickstep.TaskOverlayFactoryGo</string>
</resources>

View File

@ -21,4 +21,6 @@
<!-- Feature Flags --> <!-- Feature Flags -->
<bool name="enable_niu_actions">true</bool> <bool name="enable_niu_actions">true</bool>
<string name="task_overlay_factory_class" translatable="false">com.android.quickstep.TaskOverlayFactoryGo</string>
</resources> </resources>

View File

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2021 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<string name="task_overlay_factory_class" translatable="false"/>
</resources>

View File

@ -1,2 +0,0 @@
Temp file to prevent build breakage.
Will be removed in followup cl.

View File

@ -15,6 +15,7 @@
--> -->
<resources> <resources>
<string name="overscroll_plugin_factory_class" translatable="false" /> <string name="overscroll_plugin_factory_class" translatable="false" />
<string name="task_overlay_factory_class" translatable="false"/>
<!-- Activities which block home gesture --> <!-- Activities which block home gesture -->
<string-array name="gesture_blocking_activities" translatable="false"> <string-array name="gesture_blocking_activities" translatable="false">