Commit 40997eca by Lee Jaebin

テストビルド

parent 4cba0560
...@@ -6,6 +6,7 @@ import android.bluetooth.BluetoothDevice; ...@@ -6,6 +6,7 @@ import android.bluetooth.BluetoothDevice;
import android.bluetooth.le.BluetoothLeScanner; import android.bluetooth.le.BluetoothLeScanner;
import android.bluetooth.le.ScanCallback; import android.bluetooth.le.ScanCallback;
import android.bluetooth.le.ScanResult; import android.bluetooth.le.ScanResult;
import android.content.Context;
import android.content.DialogInterface; import android.content.DialogInterface;
import android.content.Intent; import android.content.Intent;
import android.location.LocationManager; import android.location.LocationManager;
...@@ -208,7 +209,7 @@ public class PairingSettingActivity extends ABVUIActivity { ...@@ -208,7 +209,7 @@ public class PairingSettingActivity extends ABVUIActivity {
//BlueTooth許可チェック //BlueTooth許可チェック
if (!requestBluetoothFeature()) return; if (!requestBluetoothFeature()) return;
LocationManager lm = (LocationManager) this.getSystemService(this.LOCATION_SERVICE); LocationManager lm = (LocationManager) getSystemService(Context.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); 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"));
......
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