commit | e312fad894609ddb9277d24eb9d27c14ae76e8b9 | [log] [tgz] |
---|---|---|
author | mincheli <mincheli@google.com> | Tue Sep 08 11:06:45 2020 +0800 |
committer | mincheli <mincheli@google.com> | Tue Sep 15 23:45:36 2020 +0800 |
tree | 43d553a831f9830151a1bb41dd569e1e89e97107 | |
parent | e9897deb31553c96fcce8e7d20500afc65a41766 [diff] |
Updates the rotation and dimensions even mirror view is not inflated yet Root cause: When the mirror view is not inflated yet, window magnification will not update its cached dimension values and rotation even there is a configuration settings changed. Solution: Not to early return if the mirror view is not inflated when onConfigurationChanged Bug: 167973318 Test: atest WindowMagnificationControllerTest Change-Id: I87290d16f3a10e7b88e8960391b89188443dacc8