diff options
| author | Leon Scroggins III <scroggo@google.com> | 2021-12-23 14:24:58 -0500 |
|---|---|---|
| committer | Leon Scroggins III <scroggo@google.com> | 2021-12-28 10:12:12 -0500 |
| commit | f02c47d86f48d927d1d535e2a79a529ad736df08 (patch) | |
| tree | e76082ef6647f197a152e8c700daf8c2b1e3d4e5 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 906fe67bb4143ca272ef31198c1c93103bedff21 (diff) | |
Only updateDisplayDecoration if not the default
The default value for DISPLAY_DECORATION is false. If there's a new
SurfaceControl, we only need to set the flag if it's true. This avoids
applying an unnecesary transaction.
It also prevents a boot failure which is independently fixed by
Ib11d46439db57b90486bad07dd90f2cf0822182a.
Bug: 211797674
Bug: 211835607
Bug: 212402133
Test: boots
Change-Id: Iccb662f9a6312b547b3d28fa1f5c1e9ff5dce9eb
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
