diff --git a/udfps/UdfpsHandler.cpp b/udfps/UdfpsHandler.cpp index c1cdd5e..e1099e1 100644 --- a/udfps/UdfpsHandler.cpp +++ b/udfps/UdfpsHandler.cpp @@ -145,7 +145,7 @@ class XiaomiSm8450UdfpsHander : public UdfpsHandler { brightness = brightness_req.brightness; } LOG(DEBUG) << "brightness is: " << (int)brightness_req.brightness; - bool requestLowBrightness = brightness < LOW_BRIGHTNESS_THRESHHOLD; + bool requestLowBrightness = !enrolling && brightness < LOW_BRIGHTNESS_THRESHHOLD; // Request HBM disp_local_hbm_req req;