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

Commit c571517c authored by Adithya R's avatar Adithya R Committed by Michael Bestas
Browse files

SystemUI: SidefpsController: Use location from resources

 * dont hardcode it

Change-Id: I967e7e16afcafbe580075d59c8e4a865b45e0345
parent daf4e256
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -176,7 +176,8 @@ public class SidefpsController {
                // TODO(b/188690214): L155-L173 can be removed once sensorLocationX,
                //  sensorLocationY, and sensorRadius are defined in sensorProps by the HAL
                int sensorLocationX = 25;
                int sensorLocationY = 610;
                int sensorLocationY = mContext.getResources().getDimensionPixelSize(
                        R.dimen.physical_fingerprint_sensor_center_screen_location_y);
                int sensorRadius = 112;

                FingerprintSensorPropertiesInternal tempProps =