diff options
author | Amin Shaikh <ashaikh@google.com> | 2019-05-03 12:44:50 -0400 |
---|---|---|
committer | Amin Shaikh <ashaikh@google.com> | 2019-05-06 09:34:38 -0400 |
commit | fd329d19f96c05377bdb2e3c64fdd7950d67f435 (patch) | |
tree | 6fe11f281b6d3fd8c350455e3131f512b51b886a /robolectric_tests | |
parent | 2c99205461a3e752c5046a213d9b6d99315ed017 (diff) | |
download | packages_apps_Trebuchet-fd329d19f96c05377bdb2e3c64fdd7950d67f435.tar.gz packages_apps_Trebuchet-fd329d19f96c05377bdb2e3c64fdd7950d67f435.tar.bz2 packages_apps_Trebuchet-fd329d19f96c05377bdb2e3c64fdd7950d67f435.zip |
Add overlayable test resource for launcher3
Test: make RunLauncherRoboTests
Change-Id: I36b4869d44e8896ef59dce6c554ef94a1fe4d9ec
Diffstat (limited to 'robolectric_tests')
-rw-r--r-- | robolectric_tests/Android.mk | 2 | ||||
-rw-r--r-- | robolectric_tests/res/values/overlayable_icons_test.xml | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/robolectric_tests/Android.mk b/robolectric_tests/Android.mk index a57b97a9c..62915f255 100644 --- a/robolectric_tests/Android.mk +++ b/robolectric_tests/Android.mk @@ -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 \ 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 000000000..5144e5250 --- /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> |