Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 09bc4789 authored by mincheli's avatar mincheli
Browse files

Replaces AsyncTask with main handler for WindowMagnification

AsyncTask is deprecated so we use main handler instead to
return callback, onWindowMagnifierBoundsChanged.
And this change also add a null protection and unregister
OnLayoutChangeListener when window magnification is disabled.
And it can prevent null pointer exception.

Bug: 151394161
Bug: 151571627
Test: manual test, atest WindowMagnificationTest
    WindowMagnificationControllerTest
Change-Id: I421424582d8bad9e58fe5aca11feb75a31bd5b35
parent 6222fb87
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