Refactor DisplayCutout to use Rect instead of Region.

Test: unittest
Bug: 112296834

Change-Id: I4245543c26f99afa59a34f5b6e6650b93d052a6e
This commit is contained in:
Issei Suzuki
2018-08-20 17:28:41 +02:00
parent f322456bd8
commit 43190bdf40
18 changed files with 833 additions and 211 deletions

View File

@@ -76,7 +76,7 @@ public class RegionInterceptingFrameLayout extends FrameLayout {
continue;
}
internalInsetsInfo.touchableRegion.op(riv.getInterceptRegion(), Op.UNION);
internalInsetsInfo.touchableRegion.op(unionRegion, Op.UNION);
}
};