Refactor DisplayCutout to use Rect instead of Region.
Test: unittest Bug: 112296834 Change-Id: I4245543c26f99afa59a34f5b6e6650b93d052a6e
This commit is contained in:
@@ -76,7 +76,7 @@ public class RegionInterceptingFrameLayout extends FrameLayout {
|
||||
continue;
|
||||
}
|
||||
|
||||
internalInsetsInfo.touchableRegion.op(riv.getInterceptRegion(), Op.UNION);
|
||||
internalInsetsInfo.touchableRegion.op(unionRegion, Op.UNION);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user