Loading packages/SystemUI/res/layout/status_bar_expanded.xml +1 −1 Original line number Diff line number Diff line Loading @@ -141,7 +141,7 @@ android:id="@+id/lock_icon_bg" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/fingerprint_bg" android:src="@drawable/fingerprint_bg" android:visibility="invisible"/> <ImageView Loading packages/SystemUI/src/com/android/keyguard/LockIconView.java +3 −1 Original line number Diff line number Diff line Loading @@ -88,7 +88,9 @@ public class LockIconView extends FrameLayout implements Dumpable { Utils.getColorAttrDefaultColor(getContext(), android.R.attr.textColorPrimary), Color.WHITE, mDozeAmount); mBgView.setBackground(getContext().getDrawable(R.drawable.fingerprint_bg)); int backgroundColor = Utils.getColorAttrDefaultColor(getContext(), com.android.internal.R.attr.colorSurface); mBgView.setImageTintList(ColorStateList.valueOf(backgroundColor)); mBgView.setAlpha(1f - mDozeAmount); mBgView.setVisibility(View.VISIBLE); } else { Loading Loading
packages/SystemUI/res/layout/status_bar_expanded.xml +1 −1 Original line number Diff line number Diff line Loading @@ -141,7 +141,7 @@ android:id="@+id/lock_icon_bg" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/fingerprint_bg" android:src="@drawable/fingerprint_bg" android:visibility="invisible"/> <ImageView Loading
packages/SystemUI/src/com/android/keyguard/LockIconView.java +3 −1 Original line number Diff line number Diff line Loading @@ -88,7 +88,9 @@ public class LockIconView extends FrameLayout implements Dumpable { Utils.getColorAttrDefaultColor(getContext(), android.R.attr.textColorPrimary), Color.WHITE, mDozeAmount); mBgView.setBackground(getContext().getDrawable(R.drawable.fingerprint_bg)); int backgroundColor = Utils.getColorAttrDefaultColor(getContext(), com.android.internal.R.attr.colorSurface); mBgView.setImageTintList(ColorStateList.valueOf(backgroundColor)); mBgView.setAlpha(1f - mDozeAmount); mBgView.setVisibility(View.VISIBLE); } else { Loading