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

Commit 352b68bf authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Fix regression in handling of empty dark regions"

parents 8c4113ea a2078ca3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -91,6 +91,9 @@ public interface DarkIconDispatcher {
     *         areas, false otherwise
     */
    static boolean isInAreas(ArrayList<Rect> areas, View view) {
        if (areas.isEmpty()) {
            return true;
        }
        for (Rect area : areas) {
            if (isInArea(area, view)) {
                return true;