commit | a061046704ffaaed6d7fe2cbc556e0eb6d646470 | [log] [tgz] |
---|---|---|
author | Charles Chen <charlesccchen@google.com> | Thu Apr 21 17:29:46 2022 +0800 |
committer | Charles Chen <charlesccchen@google.com> | Thu Apr 21 17:50:21 2022 +0800 |
tree | 3dd19479986cdb92480bbeff89e1ddab376b72eb | |
parent | 8dc089ff268c2726f8a9bb1327997ee8ff012abb [diff] |
Don't verify insets for floating windowing mode After [1], WindowMetrics APIs report all insets regardless of windowing mode, while View#getWindowInsets won't have any inset if it is a floating window. This CL changes to don't verify insets if the Activity's windowing mode is floating. [1]: Iae264b567c161bdf4f3d0248c5f81de92fd47828 Test: atest WindowMetricsOnActivityTests fixes: 229824513 Change-Id: I4e910b82fa4550f78b464a7c2c351e99fc4e2762