Skip to content

Commit

Permalink
Merge pull request #53 from vanniktech/nullableannotation
Browse files Browse the repository at this point in the history
Add @nullable annotation to RxBluetooth#getBondedDevices()
  • Loading branch information
IvBaranov authored Nov 13, 2018
2 parents a9a8f91 + 933f7bb commit 5afc6ba
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import android.location.LocationManager;
import android.os.Build;
import android.os.Parcelable;
import android.support.annotation.Nullable;
import android.support.annotation.RequiresApi;
import android.text.TextUtils;
import com.github.ivbaranov.rxbluetooth.events.AclEvent;
Expand Down Expand Up @@ -160,7 +161,7 @@ public boolean disable() {
*
* @return unmodifiable set of {@link BluetoothDevice}, or null on error
*/
public Set<BluetoothDevice> getBondedDevices() {
@Nullable public Set<BluetoothDevice> getBondedDevices() {
return bluetoothAdapter.getBondedDevices();
}

Expand Down

0 comments on commit 5afc6ba

Please sign in to comment.