sm8450-common: udfps: Enforce high brightness while enrolling
Change-Id: I960c78fc28ea3053527ab3bb790cc028454b222b
This commit is contained in:
parent
880093b16b
commit
1cd6a1d52f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue