commit | 27da5b04d44e76e884f8148684eb36311923c651 | [log] [tgz] |
---|---|---|
author | Bill Lin <lbill@google.com> | Thu Aug 12 14:11:25 2021 +0800 |
committer | Bill Lin <lbill@google.com> | Thu Aug 12 17:29:27 2021 +0800 |
tree | 0a8cb22b33fa46149b63b779af3d2c0760d28123 | |
parent | 3904d7eef7b091592f6a1323ddfd5ebb31939aee [diff] |
Don't create one-handed-background-panel after rotation From code flow, when onConfigurationChanged() by rotating OneHandedBackgroundPanelOrganizer#showBackgroundPanelLayer() will be invoked and then create one-handed-background-panel even though OHM is not activated. Besides, this could introduce overhead on SF. Test: manual rotate and dumpsys check HWC layers Test: atest WMShellUnitTests Bug: 196306312 Change-Id: Ia766078d5c76b08ab5b24e0ce965ad1d085e4686