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

Commit 7d38886b authored by Jim Miller's avatar Jim Miller
Browse files

Fix 2660488: Add LockScreen/InCallScreen resources to preloads

This adds the base SlidinTab drawable resources shared by
InCallScreen and LockScreen into the zygote process. It should
save approximately 375kB (mdpi) and 825kB (hdpi) of RAM by
sharing resource between the LockScreen and InCallScreen.

Change-Id: I05bcafa894ed27d419b171ad5041bd83134461f7
parent 08e1b94c
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -71,6 +71,20 @@
        <item>@drawable/indicator_code_lock_point_area_default</item>
        <item>@drawable/indicator_code_lock_point_area_green</item>
        <item>@drawable/indicator_code_lock_point_area_red</item>
        <!-- SlidingTab drawables shared by InCallScreen and LockScreen -->
        <item>@drawable/jog_tab_bar_left_end_confirm_gray</item>
        <item>@drawable/jog_tab_bar_left_end_normal</item>
        <item>@drawable/jog_tab_bar_left_end_pressed</item>
        <item>@drawable/jog_tab_bar_right_end_confirm_gray</item>
        <item>@drawable/jog_tab_bar_right_end_normal</item>
        <item>@drawable/jog_tab_bar_right_end_pressed</item>
        <item>@drawable/jog_tab_left_confirm_gray</item>
        <item>@drawable/jog_tab_left_normal</item>
        <item>@drawable/jog_tab_left_pressed</item>
        <item>@drawable/jog_tab_right_confirm_gray</item>
        <item>@drawable/jog_tab_right_normal</item>
        <item>@drawable/jog_tab_right_pressed</item>
        <item>@drawable/jog_tab_target_gray</item>
    </array>

    <!-- Do not translate. These are all of the color state list resources that should be