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

android: get LayerView from LOKitShell

Change-Id: I4fa3f7b0906eabd41d9e44a8780c2cc62241b41d
üst 3d8c72ec
...@@ -9,6 +9,8 @@ import android.util.DisplayMetrics; ...@@ -9,6 +9,8 @@ import android.util.DisplayMetrics;
import android.view.KeyEvent; import android.view.KeyEvent;
import android.view.MotionEvent; import android.view.MotionEvent;
import org.mozilla.gecko.gfx.LayerView;
public class LOKitShell { public class LOKitShell {
private static final String LOGTAG = LOKitShell.class.getSimpleName(); private static final String LOGTAG = LOKitShell.class.getSimpleName();
...@@ -94,4 +96,8 @@ public class LOKitShell { ...@@ -94,4 +96,8 @@ public class LOKitShell {
public static boolean isEditingEnabled() { public static boolean isEditingEnabled() {
return false; return false;
} }
public static LayerView getLayerView() {
return LibreOfficeMainActivity.mAppContext.getLayerClient().getView();
}
} }
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