Delegate Magnifier.show to do nothing
Magnifier.show tries to create a new Surface, and the native side of the
Surface object is not supported in layoutlib. That causes a crash when
attempting to display a Magnifier.
Do nothing instead, as Magnifier is not a critical thing to support for
layoutlib.
Bug: 247083133
Test: check manually for Studio
Change-Id: If61eca7b6e85fe7f13edbe93c5088ede5db7a65b
(cherry picked from commit d0d1a712cb99dae61c5727e54930f9664ec6de4a)
Merged-In: If61eca7b6e85fe7f13edbe93c5088ede5db7a65b
2 files changed