Commit 4cba0560 by Lee Jaebin

テスト用

parent da5143ab
...@@ -210,8 +210,10 @@ public class PairingSettingActivity extends ABVUIActivity { ...@@ -210,8 +210,10 @@ public class PairingSettingActivity extends ABVUIActivity {
LocationManager lm = (LocationManager) this.getSystemService(this.LOCATION_SERVICE); LocationManager lm = (LocationManager) this.getSystemService(this.LOCATION_SERVICE);
final boolean gpsEnabled = lm.isProviderEnabled(LocationManager.GPS_PROVIDER); final boolean gpsEnabled = lm.isProviderEnabled(LocationManager.GPS_PROVIDER);
final boolean network = lm.isProviderEnabled(LocationManager.NETWORK_PROVIDER);
Logger.i("-------------------lm : " + (lm != null ? "is not null" : "is null")); Logger.i("-------------------lm : " + (lm != null ? "is not null" : "is null"));
Logger.i("-------------------gpsEnabled : " + gpsEnabled); Logger.i("-------------------gpsEnabled : " + gpsEnabled);
Logger.i("-------------------network : " + network);
//端末側の位置情報許可チェック //端末側の位置情報許可チェック
if (!gpsEnabled) { if (!gpsEnabled) {
showSimpleAlertDialog(R.string.set_pairing_central_thermometer, R.string.msg_location_device_no_allow); showSimpleAlertDialog(R.string.set_pairing_central_thermometer, R.string.msg_location_device_no_allow);
......
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