mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-10 08:02:40 +01:00
DroidFish: Don't disable boldface in android 4.2. The crash bug only affects 4.1.
This commit is contained in:
@@ -30,7 +30,7 @@ public final class Util {
|
|||||||
// Using bold face causes crashes in android 4.1, see:
|
// Using bold face causes crashes in android 4.1, see:
|
||||||
// http://code.google.com/p/android/issues/detail?id=34872
|
// http://code.google.com/p/android/issues/detail?id=34872
|
||||||
final int sdkVersion = Integer.parseInt(Build.VERSION.SDK);
|
final int sdkVersion = Integer.parseInt(Build.VERSION.SDK);
|
||||||
if (sdkVersion >= 16) {
|
if (sdkVersion == 16) {
|
||||||
boldStart = "";
|
boldStart = "";
|
||||||
boldStop = "";
|
boldStop = "";
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user