Commit 15c9fbe0 by onuma

呼気エラー時に表示する文言を変更する時にNullPointerExceptionが発生するのを修正した。

parent eeddb878
......@@ -409,7 +409,9 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
runOnUiThread(new Runnable() {
@Override
public void run() {
mMeasureDialog.setMessage(getString(R.string.msg_breath_error));
if (mMeasureDialog != null) {
mMeasureDialog.setMessage(getString(R.string.msg_breath_error));
}
}
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment