Commit 15c9fbe0 by onuma

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

parent eeddb878
...@@ -409,8 +409,10 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity { ...@@ -409,8 +409,10 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
runOnUiThread(new Runnable() { runOnUiThread(new Runnable() {
@Override @Override
public void run() { public void run() {
if (mMeasureDialog != null) {
mMeasureDialog.setMessage(getString(R.string.msg_breath_error)); 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