mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
49c0f0ed43
The android magnifier widget does not work when using our SurfaceControl rendering path, as we no longer render in to the Surface provided by the SurfaceView, but instead into a child Surface we have created and attached the SurfaceControl. To fix this, we create a SurfaceView subclass, MagnifiableSurfaceView, which allows us to set an override Surface to be used by the magnifier. This class works by overriding getHolder() to return a custom SurfaceHolder, which returns our override Surface rather than the default one when called by the Magnifier class. Depends on D157308 Differential Revision: https://phabricator.services.mozilla.com/D157309 |
||
---|---|---|
.. | ||
android | ||
locales | ||
.eslintrc.js |