Files
frameworks_base/packages/SystemUI/res/layout/udfps_surface_view.xml
Kevin Chyn 45bc1fc352 Refactor UdfpsView into FrameLayout containing 2 views
1) Views are shown mutually exclusively.
2) No longer need to drawImmediately(clearRunnable) in stopIllumination,
   since the view is set to View.INVISIBLE
3) Moved setOnIlluminatedRunnable to startIllumination as a param

Fixes: 179080247

Test: atest com.android.systemui.biometrics

Change-Id: I7e94df165020401685c91922924724f142585832
2021-02-02 16:49:10 -08:00

22 lines
913 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 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.
-->
<com.android.systemui.biometrics.UdfpsSurfaceView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/udfps_surface_view"
android:layout_width="match_parent"
android:layout_height="match_parent"/>