Loading core/java/android/widget/Magnifier.java +4 −4 Original line number Diff line number Diff line Loading @@ -215,11 +215,11 @@ public final class Magnifier { final Point windowCoords = getCurrentClampedWindowCoordinates(); final InternalPopupWindow currentWindowInstance = mWindow; sPixelCopyHandlerThread.getThreadHandler().post(() -> { synchronized (mLock) { if (mWindow != currentWindowInstance) { // The magnifier was dismissed (and maybe shown again) in the meantime. return; } synchronized (mLock) { mWindow.setContentPositionForNextDraw(windowCoords.x, windowCoords.y); } }); Loading Loading
core/java/android/widget/Magnifier.java +4 −4 Original line number Diff line number Diff line Loading @@ -215,11 +215,11 @@ public final class Magnifier { final Point windowCoords = getCurrentClampedWindowCoordinates(); final InternalPopupWindow currentWindowInstance = mWindow; sPixelCopyHandlerThread.getThreadHandler().post(() -> { synchronized (mLock) { if (mWindow != currentWindowInstance) { // The magnifier was dismissed (and maybe shown again) in the meantime. return; } synchronized (mLock) { mWindow.setContentPositionForNextDraw(windowCoords.x, windowCoords.y); } }); Loading