The use of bluetooth below is simply to simulate an activity that tries to use bluetooth
upon creation, so we can verify whether permissions are granted and accessible to the
activity once it launches.
BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
if ((mBluetoothAdapter != null) && (!mBluetoothAdapter.isEnabled())) {
mBluetoothAdapter.getName();
}