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

Commit 473ed6c9 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Make face unlock icon use correct theme attr

Platform icon is always white and differs from other
resources that we're using on the lock screen.

Change-Id: Iba50c5a52275b43e098641af5a00451b6817af81
Fixes: 69663492
Test: Set wallpaper to light/dark, unlock using face unlock
parent 25c3c34c
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
<!--
Copyright (C) 2017 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
        android:width="48.0dp"
        android:height="48.0dp"
        android:viewportWidth="48.0"
        android:viewportHeight="48.0">
    <path
        android:pathData="M24,0C10.8,0 0,10.8 0,24s10.8,24 24,24s24,-10.8 24,-24S37.200001,0 24,0zM24,7.2c3.96,0 7.2,3.24 7.2,7.2s-3.24,7.2 -7.2,7.2s-7.2,-3.24 -7.2,-7.2S20.040001,7.2 24,7.2zM24,41.279999c-6,0 -11.28,-3.12 -14.4,-7.68c0.12,-4.8 9.6,-7.44 14.4,-7.44s14.28,2.64 14.4,7.44C35.279999,38.16 30,41.279999 24,41.279999z"
        android:fillColor="?attr/wallpaperTextColor"/>
</vector>
+1 −1
Original line number Diff line number Diff line
@@ -250,7 +250,7 @@ public class LockIcon extends KeyguardAffordanceView implements OnUserInfoChange
                }
                break;
            case STATE_FACE_UNLOCK:
                iconRes = com.android.internal.R.drawable.ic_account_circle;
                iconRes = R.drawable.ic_account_circle;
                break;
            case STATE_FINGERPRINT:
                // If screen is off and device asleep, use the draw on animation so the first frame