summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2019-12-26 14:13:40 -0800
committerchaviw <chaviw@google.com>2019-12-26 15:47:37 -0800
commitaa0d74e6c6f116527dd0a58ef495c78896ffa14b (patch)
tree7911b30cfee40a7e64678bc302db24857c81f183 /rs/java/android/renderscript/RenderScript.java
parent4c3a915c365afbce1733c3f4e21da29465f31314 (diff)
Removed regionId from updateTapExcludeRegion request.
There was no need for regionId in the request since you can just replace the previous region with a new one. This reduces confusion and simplifies the code. This also allowed TapExcludeRegionHolder to get deleted and just store the excluded region in the WindowState. Additionally, this fixed a bug where the excluded region would get overwritten when the window region was smaller. If the window region was resized later, the exclude region would remain small. This is also preparing for more uses of this API with embedded windows and window magnification. Test: ActivityViewTest Change-Id: Ia151115b5a5e8f2ce5e606fe627821dcfef5d9b5
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions