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

Commit 4b047993 authored by Yeabkal Wubshit's avatar Yeabkal Wubshit
Browse files

Remove colors.xml file from core/res/res/values-watch/

The colors in values-watch affect the priority in which the color
values are read (in relation to the colors in values/). To keep the
watch colors at the same priority as the ones in values/, we're
removing the values in values-watch/ and providing an watch-specific
overlay for values/.

Bug: 348563872
Test: atest RemoteViewsThemeColorsTest
Flag: EXEMPT, xml config flagging not supported
Change-Id: Ie2e960043fbc947b7d313dd2d3d8acb43545ebeb
parent 2ccdaa6d
Loading
Loading
Loading
Loading
+0 −43
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 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.
-->

<!-- Watch specific system colors. -->
<resources>
  <color name="system_error_light">#B3261E</color>
  <color name="system_on_error_light">#FFFFFF</color>
  <color name="system_error_container_light">#F7DCDA</color>
  <color name="system_on_error_container_light">#410E0B</color>

  <color name="system_error_dark">#F2B8B5</color>
  <color name="system_on_error_dark">#601410</color>
  <color name="system_error_container_dark">#FF8986</color>
  <color name="system_on_error_container_dark">#410E0B</color>

  <!-- With material deprecation of 'background' in favor of 'surface' we flatten these
       on watches to match the black background requirements -->
  <color name="system_surface_dark">#000000</color>
  <color name="system_surface_dim_dark">#000000</color>
  <color name="system_surface_bright_dark">#000000</color>

  <!-- Wear flattens the typical 5 container layers to 3; container + high & low -->
  <color name="system_surface_container_dark">#303030</color>
  <color name="system_surface_variant_dark">#303030</color>
  <color name="system_surface_container_high_dark">#474747</color>
  <color name="system_surface_container_highest_dark">#474747</color>
  <color name="system_surface_container_low_dark">#252626</color>
  <color name="system_surface_container_lowest_dark">#252626</color>

</resources>