Skip to content
Commit 30869024 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Fix NPE in getCompatibleMagnificationSpecForWindow

The commit 179a6b06 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
parent 224e5f0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment