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

Commit 007cfa73 authored by Andreas Gampe's avatar Andreas Gampe
Browse files

Frameworks/base: Fix always-false equals

Rect != Insets.

Change-Id: I3d4ff890608e446b51f09a1b633af742f0c069d4
parent 30fcd2aa
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1979,7 +1979,8 @@ public interface WindowManager extends ViewManager {
            if (userActivityTimeout >= 0) {
                sb.append(" userActivityTimeout=").append(userActivityTimeout);
            }
            if (!surfaceInsets.equals(Insets.NONE)) {
            if (surfaceInsets.left != 0 || surfaceInsets.top != 0 || surfaceInsets.right != 0 ||
                    surfaceInsets.bottom != 0) {
                sb.append(" surfaceInsets=").append(surfaceInsets);
            }
            if (needsMenuKey != NEEDS_MENU_UNSET) {