Skip to content

Commit 192d04c

Browse files
committed
made various set methods of the core non-synchronized
1 parent f2996ca commit 192d04c

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

platform/android/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="com.cgogolin.penandpdf"
4-
android:versionCode="65"
4+
android:versionCode="66"
55
android:versionName="1.3.5"
66
android:installLocation="auto">
77
<permission android:name="com.cgogolin.penandpdf.LAUNCH_PEN_AND_PDF_FILE_CHOOSER" />

platform/android/src/com/cgogolin/penandpdf/MuPDFCore.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ private native void updatePageInternal(Bitmap bitmap,
111111
private native boolean cookieAborted(long cookie);
112112

113113

114-
public synchronized native void setInkThickness(float inkThickness);
115-
public synchronized native void setInkColor(float r, float g, float b);
116-
public synchronized native void setHighlightColor(float r, float g, float b);
117-
public synchronized native void setUnderlineColor(float r, float g, float b);
118-
public synchronized native void setStrikeoutColor(float r, float g, float b);
119-
public synchronized native void setTextAnnotIconColor(float r, float g, float b);
114+
public native void setInkThickness(float inkThickness);
115+
public native void setInkColor(float r, float g, float b);
116+
public native void setHighlightColor(float r, float g, float b);
117+
public native void setUnderlineColor(float r, float g, float b);
118+
public native void setStrikeoutColor(float r, float g, float b);
119+
public native void setTextAnnotIconColor(float r, float g, float b);
120120
public synchronized native int insertBlankPageBeforeInternal(int position);
121121

122122
public synchronized native boolean javascriptSupported();

0 commit comments

Comments
 (0)