Skip to content

Commit 30685d7

Browse files
Fix Android encoding issue and integrate Docker container into PR workflow
1. Replaced non-ASCII '→' character with '->' in `AndroidScreenshotTask.java` to fix `javac` "unmappable character" errors in ASCII-only environments. 2. Migrated `.github/workflows/pr.yml` to run inside the `pr-ci-container` Docker image: - Added `packages: read` permission. - Configured `JAVA_HOME` using container environment variables (`JAVA_HOME_8`, etc.) instead of `actions/setup-java`. - Replaced redundant dependency downloads with local symlinks/copies from `/opt/cn1-binaries`. - Removed Java 25 from the build matrix as it's not supported in the container.
1 parent 0fe196f commit 30685d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Ports/Android/src/com/codename1/impl/android/AndroidScreenshotTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void onPixelCopyFinished(int copyResult) {
7373
new Handler(Looper.getMainLooper())
7474
);
7575
} catch (Throwable t) {
76-
// Any unexpected issue fallback
76+
// Any unexpected issue -> fallback
7777
Log.e(t);
7878
tryFallbackDraw(w, h);
7979
}

0 commit comments

Comments
 (0)