Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ff4cef5 authored by Amin Shaikh's avatar Amin Shaikh
Browse files

Add overlayable_icons_test to framework/SystemUI

This ensures that developers do not accidentally delete/rename overlayed icons
without updating overlayable_icons_text.xml and renaming overlayed assets.

Bug: 130438597
Bug: 128571899
Test: make tests
Change-Id: I54411b3a587c4798a190f49071d5a8aa399cd824
parent 4aef4e57
Loading
Loading
Loading
Loading
+67 −0
Original line number Diff line number Diff line
<!--
   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>@*android:drawable/ic_audio_alarm</item>
    <item>@*android:drawable/ic_audio_alarm_mute</item>
    <item>@*android:drawable/ic_bluetooth_share_icon</item>
    <item>@*android:drawable/ic_bt_headphones_a2dp</item>
    <item>@*android:drawable/ic_bt_headset_hfp</item>
    <item>@*android:drawable/ic_bt_hearing_aid</item>
    <item>@*android:drawable/ic_bt_laptop</item>
    <item>@*android:drawable/ic_bt_network_pan</item>
    <item>@*android:drawable/ic_bt_pointing_hid</item>
    <item>@*android:drawable/ic_expand_more</item>
    <item>@*android:drawable/ic_file_copy</item>
    <item>@*android:drawable/ic_info_outline_24</item>
    <item>@*android:drawable/ic_lock</item>
    <item>@*android:drawable/ic_lock_bugreport</item>
    <item>@*android:drawable/ic_lock_open</item>
    <item>@*android:drawable/ic_lock_power_off</item>
    <item>@*android:drawable/ic_lockscreen_ime</item>
    <item>@*android:drawable/ic_mode_edit</item>
    <item>@*android:drawable/ic_phone</item>
    <item>@*android:drawable/ic_qs_airplane</item>
    <item>@*android:drawable/ic_qs_auto_rotate</item>
    <item>@*android:drawable/ic_qs_bluetooth</item>
    <item>@*android:drawable/ic_qs_dnd</item>
    <item>@*android:drawable/ic_qs_flashlight</item>
    <item>@*android:drawable/ic_qs_night_display_on</item>
    <item>@*android:drawable/ic_restart</item>
    <item>@*android:drawable/ic_screenshot</item>
    <item>@*android:drawable/ic_settings_bluetooth</item>
    <item>@*android:drawable/ic_signal_location</item>
    <item>@*android:drawable/ic_wifi_signal_0</item>
    <item>@*android:drawable/ic_wifi_signal_1</item>
    <item>@*android:drawable/ic_wifi_signal_2</item>
    <item>@*android:drawable/ic_wifi_signal_3</item>
    <item>@*android:drawable/ic_wifi_signal_4</item>
    <item>@*android:drawable/perm_group_activity_recognition</item>
    <item>@*android:drawable/perm_group_call_log</item>
    <item>@*android:drawable/perm_group_camera</item>
    <item>@*android:drawable/perm_group_contacts</item>
    <item>@*android:drawable/perm_group_location</item>
    <item>@*android:drawable/perm_group_microphone</item>
    <item>@*android:drawable/perm_group_phone_calls</item>
    <item>@*android:drawable/perm_group_sensors</item>
    <item>@*android:drawable/perm_group_sms</item>
    <item>@*android:drawable/perm_group_storage</item>
    <item>@*android:drawable/perm_group_visual</item>
  </array>
</resources>
+69 −0
Original line number Diff line number Diff line
<!--
   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_alarm</item>
    <item>@drawable/ic_alarm_dim</item>
    <item>@drawable/ic_bluetooth_connected</item>
    <item>@drawable/ic_brightness_thumb</item>
    <item>@drawable/ic_camera</item>
    <item>@drawable/ic_cast</item>
    <item>@drawable/ic_cast_connected</item>
    <item>@drawable/ic_close_white</item>
    <item>@drawable/ic_data_saver</item>
    <item>@drawable/ic_data_saver_off</item>
    <item>@drawable/ic_drag_handle</item>
    <item>@drawable/ic_headset</item>
    <item>@drawable/ic_headset_mic</item>
    <item>@drawable/ic_hotspot</item>
    <item>@drawable/ic_info</item>
    <item>@drawable/ic_info_outline</item>
    <item>@drawable/ic_invert_colors</item>
    <item>@drawable/ic_location</item>
    <item>@drawable/ic_lockscreen_ime</item>
    <item>@drawable/ic_notifications_alert</item>
    <item>@drawable/ic_notifications_silence</item>
    <item>@drawable/ic_power_low</item>
    <item>@drawable/ic_power_saver</item>
    <item>@drawable/ic_qs_bluetooth_connecting</item>
    <item>@drawable/ic_qs_bluetooth_connecting</item>
    <item>@drawable/ic_qs_cancel</item>
    <item>@drawable/ic_qs_no_sim</item>
    <item>@drawable/ic_qs_wifi_0</item>
    <item>@drawable/ic_qs_wifi_1</item>
    <item>@drawable/ic_qs_wifi_2</item>
    <item>@drawable/ic_qs_wifi_3</item>
    <item>@drawable/ic_qs_wifi_4</item>
    <item>@drawable/ic_qs_wifi_disconnected</item>
    <item>@drawable/ic_screenshot_delete</item>
    <item>@drawable/ic_settings</item>
    <item>@drawable/ic_swap_vert</item>
    <item>@drawable/ic_tune_black_16dp</item>
    <item>@drawable/ic_volume_alarm_mute</item>
    <item>@drawable/ic_volume_bt_sco</item>
    <item>@drawable/ic_volume_media</item>
    <item>@drawable/ic_volume_media_mute</item>
    <item>@drawable/ic_volume_ringer</item>
    <item>@drawable/ic_volume_ringer_mute</item>
    <item>@drawable/ic_volume_ringer_vibrate</item>
    <item>@drawable/ic_volume_voice</item>
    <item>@drawable/stat_sys_mic_none</item>
    <item>@drawable/stat_sys_vpn_ic</item>
  </array>
</resources>