view.loadTileset();
}
- if (needsReset && (view != null) && (activity != null)) {
- activity.onOptionsChanged();
- } else {
- Log.d("ShisenSho", "Preferences changed, but no view or activity online - huh?");
+ if (needsReset) {
+ if ((view != null) && (activity != null)) {
+ activity.onOptionsChanged();
+ } else {
+ Log.d("ShisenSho", "Preferences changed, but no view or activity online - huh?");
+ }
}
}