Kaydet (Commit) 54335c64 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

android: no need for "throws InterruptedException"

Change-Id: I93be9af0849a2515c27bc22892a201ec207d6775
üst 36214e5b
......@@ -25,7 +25,7 @@ public class LOKitThread extends Thread {
TileProviderFactory.initialize();
}
private boolean draw() throws InterruptedException {
private boolean draw() {
RectF rect = new RectF(0, 0, mTileProvider.getPageWidth(), mTileProvider.getPageHeight());
DisplayMetrics displayMetrics = LibreOfficeMainActivity.mAppContext.getResources().getDisplayMetrics();
mViewportMetrics = new ImmutableViewportMetrics(displayMetrics);
......@@ -51,7 +51,7 @@ public class LOKitThread extends Thread {
mController.setForceRedraw();
}
private void changePart(int partIndex) throws InterruptedException {
private void changePart(int partIndex) {
mTileProvider.changePart(partIndex);
mLayerClient.clearAllTiles();
refresh();
......@@ -88,7 +88,7 @@ public class LOKitThread extends Thread {
}
}
private void processEvent(LOEvent event) throws InterruptedException {
private void processEvent(LOEvent event) {
switch (event.mType) {
case LOEvent.LOAD:
load(event.getFilename());
......
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