[Edit: this seems to have fixed itself when I did a Havoc or firmware update on Mi 6x.]
During calls on speakerphone, my screen sometimes turns on - ie when I press the power button to turn off the screen, it turns on a second later.
Could it be the Call Recorder app doing this, and is there a way to fix or override this?
(I'm using the stock android dialler which doesn't seem to have a setting related to this. Havoc ROM on Mi 6x.)