Add overlayable test resource for launcher3

Test: make RunLauncherRoboTests
Change-Id: I36b4869d44e8896ef59dce6c554ef94a1fe4d9ec
This commit is contained in:
Amin Shaikh 2019-05-03 12:44:50 -04:00
parent 2c99205461
commit fd329d19f9
2 changed files with 38 additions and 0 deletions

View File

@ -46,6 +46,8 @@ LOCAL_SDK_VERSION := current
LOCAL_JAVA_LIBRARIES := \
LauncherRoboTests
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
LOCAL_TEST_PACKAGE := Launcher3
LOCAL_INSTRUMENT_SOURCE_DIRS := $(dir $(LOCAL_PATH))../src \

View File

@ -0,0 +1,36 @@
<!--
Copyright (C) 2019 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>
<!-- overlayable_icons references all of the drawables in this package
that are being overlayed by resource overlays. If you remove/rename
any of these resources, you must also change the resource overlay icons.-->
<array name="overlayable_icons">
<item>@drawable/ic_corp</item>
<item>@drawable/ic_drag_handle</item>
<item>@drawable/ic_hourglass_top</item>
<item>@drawable/ic_info_no_shadow</item>
<item>@drawable/ic_install_no_shadow</item>
<item>@drawable/ic_palette</item>
<item>@drawable/ic_pin</item>
<item>@drawable/ic_remove_no_shadow</item>
<item>@drawable/ic_setting</item>
<item>@drawable/ic_smartspace_preferences</item>
<item>@drawable/ic_split_screen</item>
<item>@drawable/ic_uninstall_no_shadow</item>
<item>@drawable/ic_warning</item>
<item>@drawable/ic_widget</item>
</array>
</resources>