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

Commit 7a3e378f authored by Andrew Zeng's avatar Andrew Zeng
Browse files

Clean up legacy Wear OEM customization method

Bug: 268542165
Test: compiles
Change-Id: I2232392dca745a3ba69b5bc7fae1a89426dd0e7c
parent ca055c50
Loading
Loading
Loading
Loading
+1 −27
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

<!-- Colors specific to Theme.DeviceDefault on watches, as specified via themes_device_default.xml
     Note: These colors specifically proide a darker, high-contrast UI that is suitable for
     wearables with respect to 'glanceability'. OEM customization is supported within this set. -->
     wearables with respect to 'glanceability'. -->
<resources>
    <!--
       accent_device_default_dark
@@ -24,7 +24,6 @@
         > from values/colors_material/material_deep_teal_200
         = #ff80cbc4
         ! replaced with custom color #5E97F6
         ! OEMS can customize as per specification
    -->
    <color name="accent_device_default_dark">#5E97F6</color>

@@ -33,7 +32,6 @@
         - introduced to avoid coupling to foreground_material_dark
         - colorForeground typically falls through Theme.DeviceDefault to Theme.Material
         ! fixed as white for optimal glanceability/contrast
         ! OEMs should not customize
    -->
    <color name="foreground_device_default_dark">@color/white</color>

@@ -43,7 +41,6 @@
         > from values/colors_material/material_grey_850
         = #ff303030
         ! replaced with custom color #000000
         ! OEMs can customized as per specification
           (derived from accent color, constrained by brightness)
    -->
    <color name="background_device_default_dark">#000000</color>
@@ -64,7 +61,6 @@
         > from values/colors_material/material_grey_900
         = #ff212121
         ! replaced with custom color #808080
         ! OEMs can customize as per specification
           (derived from background color + foreground @ 50% opacity)
    -->
    <color name="primary_device_default_dark">#808080</color>
@@ -74,7 +70,6 @@
         > from values/colors_material/primary_dark_material_dark
         = @color/black
         ! replaced with custom color #333333
         ! OEMS can customize as per specification
           (derived from background color + foreground @ 20% opacity)
    -->
    <color name="primary_dark_device_default_dark">#333333</color>
@@ -91,27 +86,6 @@
       error_color_device_default_dark
         - introduced to avoid coupling to error_color_mtterial (also #F4511E)
         - colorError typically falls through Theme.DeviceDefault to Theme.Material
         ! OEMs can customize as per specification
    -->
    <color name="error_color_device_default_dark">#F4511E</color>

    <!-- no customization required/suggested below this point -->

    <!--
       background_cache_hint_selector_device_default
         - note that this is based off of colors/background_cache_hint_selector_device_default
           xml drawable
         - uses ?attr/colorBackground and transparency to draw
         - no color customization required here
    -->

    <!-- deprecated for Wear
         these overrides exist only for compatibility with existing
         WTS theme test heuristics, based on the previous modifications
         to the material theme, they should not be used for customization
         as they are not exposed via publicly accessible attributes -->
    <color name="accent_device_default_dark_60_percent_opacity">#995E97f6</color>
    <color name="accent_device_default_700">#5385DB</color>
    <color name="accent_device_default_light">#75A4F5</color>
    <color name="accent_device_default_50">#93B7F5</color>
</resources>