Skip to content
Snippets Groups Projects
Commit 8fffc93b authored by akwizgran's avatar akwizgran
Browse files

Rewrote Android invitation wizard to use Views instead of Activities.

parent 538c3e1b
No related branches found
No related tags found
No related merge requests found
......@@ -349,10 +349,10 @@ class DroidtoothPlugin implements DuplexPlugin {
if(!running) return;
}
if(adapter.getScanMode() == SCAN_MODE_CONNECTABLE_DISCOVERABLE) return;
Intent intent = new Intent(ACTION_REQUEST_DISCOVERABLE);
intent.putExtra(EXTRA_DISCOVERABLE_DURATION, 60);
intent.addFlags(FLAG_ACTIVITY_NEW_TASK);
appContext.startActivity(intent);
Intent i = new Intent(ACTION_REQUEST_DISCOVERABLE);
i.putExtra(EXTRA_DISCOVERABLE_DURATION, 120);
i.addFlags(FLAG_ACTIVITY_NEW_TASK);
appContext.startActivity(i);
}
private static class BluetoothStateReceiver extends BroadcastReceiver {
......
......
......@@ -11,7 +11,7 @@ import net.sf.briar.api.transport.ConnectionWriter;
/**
* A ConnectionWriter that buffers its input and writes a frame whenever there
* is a full frame to write or the flush() method is called.
* is a full frame to write or the {@link #flush()} method is called.
* <p>
* This class is not thread-safe.
*/
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment