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

Commit ace2ea13 authored by Ilya Matyukhin's avatar Ilya Matyukhin
Browse files

Provide default UDFPS location for fake UDFPS

Bug: 179465449
Test: works on devices without UDFPS with fake UDFPS
Change-Id: I6d0ea3d2e9f89aad83c981c2f84fd970a0329273
parent 8d2fd576
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -109,9 +109,10 @@ public class FingerprintSensorPropertiesInternal extends SensorPropertiesInterna
            this.sensorLocationY = props[1];
            this.sensorRadius = props[2];
        } else {
            this.sensorLocationX = 0;
            this.sensorLocationY = 0;
            this.sensorRadius = 0;
            // Fake coordinates that could be used for the fake UDFPS mode.
            this.sensorLocationX = 540;
            this.sensorLocationY = 1636;
            this.sensorRadius = 130;
        }
    }