Skip to content

Commit

Permalink
Fix: Sync latest TD changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cawilliamson committed Jan 31, 2024
1 parent b5a4c1d commit ae87c1f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ index 19b67b5f3def..ef5e4f617138 100644
mOverlay = overlay;
final int requestReason = overlay.getRequestReason();
if (requestReason == REASON_AUTH_KEYGUARD
@@ -1390,6 +1399,10 @@
updateViewDimAmount(true);

@@ -1386,6 +1386,10 @@ public class UdfpsController implements DozeReceiver, Dumpable {
return;
}
if (isOptical()) {
+ if (mIgnoreExtraDim) {
+ mColorDisplayManager.setReduceBrightColorsActivated(false);
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ index 4377dd7e70a7..91053b2c5f8e 100644
val hasSamsungMask = File(samsungActualMaskBrightness).exists()
var fodFileObserver: FileObserver? = null

- val xiaomiDispParam = "/sys/class/mi_display/disp-DSI-0/disp_param"
- val xiaomiDispParam = "/sys/class/mi_display/disp-DSI-0/disp_param"
- var hasXiaomiLhbm = File(xiaomiDispParam).exists()
+ val xiaomiDispParam = "/sys/class/mi_display/disp-DSI-0/disp_param"
+ var hasXiaomiLhbm = try {
Expand Down

0 comments on commit ae87c1f

Please sign in to comment.