Commit c70a2c2e by Kim Jinsung

Bluetooth権限要求する際に「許可しない」タップ時のエラーメッセージをHTML側に表示するように修正

parent 3ac1bce3
......@@ -224,7 +224,7 @@ public class ABVCheckContentViewActivity extends ABVContentViewActivity {
switch(requestCode) {
case REQUEST_CODE_ENABLEBLUETOOTH_TEMPERATURE: // 中心温度計Bluetooth有効化要求
if( Activity.RESULT_CANCELED == resultCode ) { // 有効にされなかった
ABVToastUtil.showMakeText(getApplicationContext(), getString(R.string.msg_thermometer_connect_bluetooth_no_allow), Toast.LENGTH_SHORT);
errorAfterAbookCheckAip(getString(R.string.msg_thermometer_connect_bluetooth_no_allow));
return;
} else {
setThermometerDeviceInfo();
......@@ -232,7 +232,7 @@ public class ABVCheckContentViewActivity extends ABVContentViewActivity {
break;
case REQUEST_CODE_ENABLEBLUETOOTH_OKUDAKE: // 置くだけセンサーBluetooth有効化要求
if( Activity.RESULT_CANCELED == resultCode ) { // 有効にされなかった
ABVToastUtil.showMakeText(getApplicationContext(), getString(R.string.msg_okudake_connect_bluetooth_no_allow), Toast.LENGTH_SHORT);
errorAfterAbookCheckAip(getString(R.string.msg_okudake_connect_bluetooth_no_allow));
return;
} else {
startOkudakeBeaconScan();
......
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