SystemUI: Add UDFPS framework dimming support

Author: cjybyjk <cjybyjk@zjnu.edu.cn>
Date: Wed, 13 Apr 2022 09:29:41 +0000

   udfps: Implement framework dimming support

Author: bengris32 <bengris32@protonmail.ch>
Date: Sun, 17 Sep 2023 11:31:02 +0530

   udfps: Add delay for framework dimming support

   Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>

Author: Thomas DE SA <desathomas@gmail.com>
Date: Sun, 22 Oct 2023 17:46:42 +0200

   udfps: Apply dim layer in configureDisplay() callback

   Ensure that the timing of the dimming layer application is as close
   as possible to the timing of the illumination. Too early and you get
   the screen going dark for a few frames, too late and the screen gets
   bright for a few frames.

Author: danielml <daniel@danielml.dev>
Date:   Mon Jan 22 23:31:13 2024 +0100

    SystemUI: Only set dim behind UDFPS if it is actually enabled

    Setting dim behind the UDFPS layer causes the BiometricPrompt to loose
    the dim behind the dialog itself.

    Change-Id: Ib806481dc18ef9dfb87801b488975059cb88a377
    Signed-off-by: danielml <daniel@danielml.dev>

Change-Id: Icf84cc61e2448840944e50d3b5c48c9f24a7f9f5
3 files changed