diff options
| author | 2022-02-23 22:52:32 +0100 | |
|---|---|---|
| committer | 2022-02-28 05:14:35 +0000 | |
| commit | acaf3857157a45141362b923a616b67670ce981c (patch) | |
| tree | 90360c547bef9aacb29baa6f715ccadb08591b34 /libs/androidfw/ZipFileRO.cpp | |
| parent | 4d897c6ad0f07d78765c67424c61f9521be4f28a (diff) | |
Add SystemApi to set unrestricted keep-clear rects
This CL allows applications to choose whether to set restricted or
unrestricted keep-clear areas by adding a dedicated SystemApi for
unrestricted keep-clear areas - View#setUnrestrictedKeepClearRects. The
SET_UNRESTRICTED_PREFER_KEEP_CLEAR_AREAS permission is now only checked
for keep-clear areas from that API
Bug: 221094507
Test: atest CtsWindowManagerDeviceTestCases:KeepClearRectsTests
Test: atest WindowStateTests#testUnrestrictedKeepClearAreas
Change-Id: I89ca3149117b4d457c5521d617880870706d7793
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions