resolve merge conflicts of b34cf86 to nyc-dev-plus-aosp am: 89b8babe6a
am: 69118dc9b1
Change-Id: I99d1b094d3de31905d1a72636146794c5ff00334
This commit is contained in:
@@ -199,6 +199,13 @@ public class TetherSettings extends RestrictedSettingsFragment
|
|||||||
@Override
|
@Override
|
||||||
public void onDestroy() {
|
public void onDestroy() {
|
||||||
mDataSaverBackend.remListener(this);
|
mDataSaverBackend.remListener(this);
|
||||||
|
|
||||||
|
BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
|
||||||
|
BluetoothProfile profile = mBluetoothPan.getAndSet(null);
|
||||||
|
if (profile != null && adapter != null) {
|
||||||
|
adapter.closeProfileProxy(BluetoothProfile.PAN, profile);
|
||||||
|
}
|
||||||
|
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user