Merge "Exit device details page when bond state is BOND_NONE" into main
This commit is contained in:
@@ -123,6 +123,14 @@ public class BluetoothDeviceDetailsFragment extends RestrictedDashboardFragment
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDeviceBondStateChanged(
|
||||
@NonNull CachedBluetoothDevice cachedDevice, int bondState) {
|
||||
if (cachedDevice.equals(mCachedDevice)) {
|
||||
finishFragmentIfNecessary();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
private final BluetoothAdapter.OnMetadataChangedListener mExtraControlMetadataListener =
|
||||
|
Reference in New Issue
Block a user