mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 19:59:05 +01:00
remove force disable
This commit is contained in:
@@ -12,19 +12,7 @@ import javax.annotation.concurrent.Immutable;
|
||||
@Immutable
|
||||
@NotNullByDefault
|
||||
public class DisableBluetoothEvent extends BluetoothEvent {
|
||||
private boolean force;
|
||||
|
||||
public DisableBluetoothEvent(BluetoothEnableDisableReason reason) {
|
||||
super(reason);
|
||||
force = false;
|
||||
}
|
||||
|
||||
public DisableBluetoothEvent(boolean force){
|
||||
super(null);
|
||||
this.force = force;
|
||||
}
|
||||
|
||||
public boolean isForced(){
|
||||
return force;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user