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

Commit 9327ef1a authored by Shan Huang's avatar Shan Huang Committed by Automerger Merge Worker
Browse files

Merge "Set charging animation windows as trusted overlays so that touches can...

Merge "Set charging animation windows as trusted overlays so that touches can pass through." into sc-dev am: 10cbd1f1

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14174192

Change-Id: I24d680e0eef920c40822e9f0d2150078b1488bac
parents 681b4ef5 10cbd1f1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -121,6 +121,7 @@ public class WirelessChargingAnimation {
            params.setFitInsetsTypes(0 /* ignore all system bar insets */);
            params.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
                    | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;
            params.setTrustedOverlay();

            if (looper == null) {
                // Use Looper.myLooper() if looper is not specified.
+1 −0
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ class WiredChargingRippleController @Inject constructor(
        title = "Wired Charging Animation"
        flags = (WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
                or WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE)
        setTrustedOverlay()
    }

    @VisibleForTesting