commit | 30869024f9729347ec73e2f915bc34b5a13aebb0 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Fri Feb 12 20:07:43 2021 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Fri Feb 12 12:44:41 2021 +0000 |
tree | 1eba446f279e955d9c6c76ed3c1d4dd18936dcdf | |
parent | 224e5f0b31b7da229c1bd13f19b5da4f98d30484 [diff] |
Fix NPE in getCompatibleMagnificationSpecForWindow The commit 179a6b0 forgot to change the returned result. Note that if the "spec" is non-null, the old code will cause the source spec of DisplayMagnifier to be cumulatively multiplied and then become infinite scale. Bug: 180050756 Test: Enable compat scale and TalkBack Change-Id: I5a647d4129165021054631461fb97aef61def390