Add overlayable test resource for launcher3
Test: make RunLauncherRoboTests
Change-Id: I36b4869d44e8896ef59dce6c554ef94a1fe4d9ec
diff --git a/robolectric_tests/Android.mk b/robolectric_tests/Android.mk
index a57b97a..62915f2 100644
--- a/robolectric_tests/Android.mk
+++ b/robolectric_tests/Android.mk
@@ -46,6 +46,8 @@
LOCAL_JAVA_LIBRARIES := \
LauncherRoboTests
+LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
+
LOCAL_TEST_PACKAGE := Launcher3
LOCAL_INSTRUMENT_SOURCE_DIRS := $(dir $(LOCAL_PATH))../src \
diff --git a/robolectric_tests/res/values/overlayable_icons_test.xml b/robolectric_tests/res/values/overlayable_icons_test.xml
new file mode 100644
index 0000000..5144e52
--- /dev/null
+++ b/robolectric_tests/res/values/overlayable_icons_test.xml
@@ -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>