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

Commit 8f68b265 authored by Santiago Etchebehere's avatar Santiago Etchebehere
Browse files

Remove the usage of private style attributes

We were using color tokens from Android's DeviceDefault theme private
attributes for Material You theming but this could potentially cause
issues when using a pre-compiled binary for the picker.

Bug: 245696993
Test: manually verified
Change-Id: Icad4f20d4ef96f87ef0d96dbfb80e0070d404fe5
parent 23383f62
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -14,7 +14,6 @@
     See the License for the specific language governing permissions and
     See the License for the specific language governing permissions and
     limitations under the License.
     limitations under the License.
-->
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android"
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android">
    <item android:color="@color/text_color_secondary" />
    <item android:color="?androidprv:attr/textColorSecondary" />
</selector>
</selector>
 No newline at end of file
+2 −3
Original line number Original line Diff line number Diff line
@@ -14,7 +14,6 @@
     See the License for the specific language governing permissions and
     See the License for the specific language governing permissions and
     limitations under the License.
     limitations under the License.
-->
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android"
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" >
    <item android:color="@color/text_color_on_accent" />
    <item android:color="?androidprv:attr/textColorOnAccent" />
</selector>
</selector>
 No newline at end of file
+2 −3
Original line number Original line Diff line number Diff line
@@ -14,7 +14,6 @@
     See the License for the specific language governing permissions and
     See the License for the specific language governing permissions and
     limitations under the License.
     limitations under the License.
-->
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android"
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android">
    <item android:color="@color/color_accent_primary_variant" />
    <item android:color="?androidprv:attr/colorAccentPrimaryVariant" />
</selector>
</selector>
 No newline at end of file
+2 −3
Original line number Original line Diff line number Diff line
@@ -14,7 +14,6 @@
     See the License for the specific language governing permissions and
     See the License for the specific language governing permissions and
     limitations under the License.
     limitations under the License.
-->
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android"
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android">
    <item android:color="@color/text_color_secondary_inverse" />
    <item android:color="?androidprv:attr/textColorSecondaryInverse" />
</selector>
</selector>
 No newline at end of file
+2 −3
Original line number Original line Diff line number Diff line
@@ -14,7 +14,6 @@
     See the License for the specific language governing permissions and
     See the License for the specific language governing permissions and
     limitations under the License.
     limitations under the License.
-->
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android"
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android">
    <item android:color="@color/text_color_primary" />
    <item android:color="?androidprv:attr/textColorPrimary" />
</selector>
</selector>
 No newline at end of file
Loading