Merge tm-dev-plus-aosp-without-vendor@8763363
Bug: 236760014 Merged-In: Ifcb9d4c564839199d998bd503f390f021c6bf3ad Change-Id: I9d69bcbc6916176beece2616f152ebd3d74fc0f8
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.android.settings.bluetooth;
|
||||
|
||||
import android.app.settings.SettingsEnums;
|
||||
import android.bluetooth.BluetoothAdapter;
|
||||
import android.bluetooth.BluetoothDevice;
|
||||
import android.content.Context;
|
||||
@@ -117,6 +118,8 @@ public class SavedBluetoothDeviceUpdater extends BluetoothDeviceUpdater
|
||||
if (device.isConnected()) {
|
||||
return device.setActive();
|
||||
}
|
||||
mMetricsFeatureProvider.action(mPrefContext,
|
||||
SettingsEnums.ACTION_SETTINGS_BLUETOOTH_CONNECT);
|
||||
device.connect();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user