Skip to content

Commit 6a323a3

Browse files
committed
quick fix to not access other activities
1 parent 7b2ce0c commit 6a323a3

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="jwtc.android.chess"
4-
android:versionCode="139"
5-
android:versionName="8.6.11"
4+
android:versionCode="141"
5+
android:versionName="8.7.1"
66
android:installLocation="auto"
77
>
88
<application android:name=".MyApplication" android:icon="@drawable/icon" android:label="@string/app_name"

app/src/main/java/jwtc/android/chess/ChessImageView.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,11 @@ public void onDraw(Canvas canvas) {
128128

129129
bmp = _arrPieceBitmaps[ico._color][ico._piece];
130130

131-
if (_start.sActivity.equals("Play") && _options.is_bFlipBlack() &&
132-
(_options._radioBlack.isChecked() ? ico._color == 1 : ico._color == 0)) { // flips black for human vs human without
133-
canvas.rotate(180, getWidth()/2, getHeight()/2); // autoflip on while in Play mode
134-
}
131+
// quick fix to not access other activities
132+
// if (_start.sActivity.equals("Play") && _options.is_bFlipBlack() &&
133+
// (_options._radioBlack.isChecked() ? ico._color == 1 : ico._color == 0)) { // flips black for human vs human without
134+
// canvas.rotate(180, getWidth()/2, getHeight()/2); // autoflip on while in Play mode
135+
// }
135136

136137
canvas.drawBitmap(bmp, _matrix, _paint);
137138

0 commit comments

Comments
 (0)