Commit e518dcca authored by idic's avatar idic

大概可以work 應該

parent 26e29607
......@@ -487,4 +487,12 @@ public class DeviceOperatorActivity extends AppCompatActivity {
}
}
@Override
protected void onDestroy() {
super.onDestroy();
if (mBluetoothGatt != null) {
mBluetoothGatt.disconnect();
mBluetoothGatt.close();
}
}
}
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