diff options
| author | 2023-06-27 19:39:11 +0800 | |
|---|---|---|
| committer | 2023-06-28 15:29:16 +0800 | |
| commit | f53559546e55ad9f3bfb36426b4ff21157da3f60 (patch) | |
| tree | f2f3898e4ace28dae663db12e38467af2ac1a8de /libs/androidfw/FileStream.cpp | |
| parent | 52f45340a9acb9aad28f24da88e146a20acad4f4 (diff) | |
Introduce InsetsSource#FLAG_FORCE_CONSUMING
It controls whether the insets provided by the source should be forcibly
consumed.
We have mForceConsumeSystemBars to achieve the similar logic, however,
it cannot control individual types. And when it is changed, there is no
guarantee that the new value will be sent to the clients. This CL fixes
the issues.
After this CL, the legacy "alwaysConsumeSystemBars" will be redundant,
and there will be a follow-up CL to clean it up.
Fix: 277891341
Test: Launch immersive apps in kids space and make sure their content
wouldn't be obscured by navigation bar.
Change-Id: I1c8b628660d7cde167f5bc832f8cc7568ab87d61
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions