Format comments
This commit is contained in:
parent
598d604ca5
commit
17c97e577e
@ -181,10 +181,8 @@ public class AppDetails2 extends AppCompatActivity implements ShareChooserDialog
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onNearby() {
|
public void onNearby() {
|
||||||
/*
|
// If Bluetooth has not been enabled/turned on, then
|
||||||
* If Bluetooth has not been enabled/turned on, then
|
// enabling device discoverability will automatically enable Bluetooth
|
||||||
* enabling device discoverability will automatically enable Bluetooth
|
|
||||||
*/
|
|
||||||
Intent discoverBt = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);
|
Intent discoverBt = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);
|
||||||
discoverBt.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, 121);
|
discoverBt.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, 121);
|
||||||
startActivityForResult(discoverBt, REQUEST_ENABLE_BLUETOOTH);
|
startActivityForResult(discoverBt, REQUEST_ENABLE_BLUETOOTH);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user