commit | a374ad6a5ecc98675a788d335434e70d11a3f03b | [log] [tgz] |
---|---|---|
author | Tiger <tigerhuang@google.com> | Wed Jun 12 23:49:19 2024 +0800 |
committer | Tiger <tigerhuang@google.com> | Wed Jun 12 23:49:19 2024 +0800 |
tree | 3838e250491e26bf0bb35d2d59f0b33cf9d987a9 | |
parent | 7c02512c27d20c628767c880e66fc928913e95e4 [diff] |
Prevent creating the redundant WindowInsets object This CL only calls WindowInsets#inset while any of the arguments is greater than zero. Bug: 346772491 Flag: NA Test: run WindowPolicyTests#testWindowInsets during fixed-rotation Change-Id: I6bcd97d02b7740eec91ffa5eabc8bb7bfbfae669