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

Commit 9bb19348 authored by Michele Bono's avatar Michele Bono
Browse files

Revert "gpu: drm: Force fp pressed if fp mode on"

This reverts commit 79d38ccc.

Change-Id: If4c1fb7e12d653f343b2f217c8e99ffade45c287
parent 38e37282
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -5757,15 +5757,6 @@ static int sde_crtc_onscreenfinger_atomic_check(struct sde_crtc_state *cstate,
	else
		display->panel->dim_status = false;

	if (fp_mode == 1) {
		cstate->fingerprint_pressed = true;
		return 0;
	} else {
		cstate->fingerprint_pressed = false;
		cstate->fingerprint_dim_layer = NULL;
		return 0;
	}

	if(aod_index <0){
		oneplus_aod_hid = 0;
		aod_layer_hide = 0;