Merge "Fix regression in handling of empty dark regions"
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user