mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Added UI thread methods to AndroidExecutor.
This commit is contained in:
@@ -144,7 +144,7 @@ public class ShowQrCodeFragment extends BaseEventFragment
|
||||
final BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
|
||||
if (adapter != null && !adapter.isEnabled()) {
|
||||
waitingForBluetooth = true;
|
||||
androidExecutor.execute(new Runnable() {
|
||||
androidExecutor.runOnBackgroundThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
adapter.enable();
|
||||
|
||||
Reference in New Issue
Block a user