SPP keeps connected in Android Pie when disabling Bluetooth in Setting menu

  • Thread starter Android Central Question
  • Start date
A

Android Central Question

My app has Bluetooth SPP connection feature.
When I disable Bluetooth feature in Setting UI, an SPP connection in my app is disconnected.

However, Android 9 (Pie), an SPP connection keeps connected in the case.
It seems both A2DP and HFP were disconnected.

I confirmed the behavior in some devices.

Is it the expected behavior in Android 9 (Pie)?