mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Turn off Bluetooth again when not required anymore
and when errors occur. Also do not turn off Bluetooth when just changing device orientation.
This commit is contained in:
@@ -39,6 +39,8 @@ class ErrorView extends AddContactView implements OnClickListener {
|
||||
removeAllViews();
|
||||
Context ctx = getContext();
|
||||
|
||||
container.disableBluetooth();
|
||||
|
||||
LayoutInflater inflater = (LayoutInflater) ctx.getSystemService
|
||||
(Context.LAYOUT_INFLATER_SERVICE);
|
||||
View view = inflater.inflate(R.layout.invitation_error, this);
|
||||
|
||||
Reference in New Issue
Block a user