Kaydet (Commit) a8547448 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl Kaydeden (comit) Miklos Vajna

android: swap position of invalidateCursor and invalidateTiles

Change-Id: Iebc21915b92c82b0def3f4f61fb2128c2942d122
üst c2ab7797
......@@ -115,6 +115,18 @@ public class InvalidationHandler {
return new RectF(rectangle.centerX(), rectangle.bottom, rectangle.centerX(), rectangle.bottom);
}
/**
* Handles the tile invalidation message
*
* @param payload
*/
private void invalidateTiles(String payload) {
RectF rectangle = convertPayloadToRectangle(payload);
if (rectangle != null) {
LOKitShell.sendTileInvalidationRequest(rectangle);
}
}
/**
* Handles the cursor invalidation message
*
......@@ -136,18 +148,6 @@ public class InvalidationHandler {
}
}
/**
* Handles the tile invalidation message
*
* @param payload
*/
private void invalidateTiles(String payload) {
RectF rectangle = convertPayloadToRectangle(payload);
if (rectangle != null) {
LOKitShell.sendTileInvalidationRequest(rectangle);
}
}
/**
* Handles the selection start invalidation message
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment