Loading android/app/src/com/android/bluetooth/opp/BluetoothOppLauncherActivity.java +5 −0 Original line number Diff line number Diff line Loading @@ -75,6 +75,11 @@ public class BluetoothOppLauncherActivity extends Activity { Intent intent = getIntent(); String action = intent.getAction(); if (action == null) { Log.w(TAG, " Received " + intent + " with null action"); finish(); return; } if (action.equals(Intent.ACTION_SEND) || action.equals(Intent.ACTION_SEND_MULTIPLE)) { //Check if Bluetooth is available in the beginning instead of at the end Loading android/app/src/com/android/bluetooth/pbap/BluetoothPbapActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ public class BluetoothPbapActivity extends AlertActivity Intent i = getIntent(); String action = i.getAction(); mDevice = i.getParcelableExtra(BluetoothPbapService.EXTRA_DEVICE); if (action.equals(BluetoothPbapService.AUTH_CHALL_ACTION)) { if (action != null && action.equals(BluetoothPbapService.AUTH_CHALL_ACTION)) { showPbapDialog(DIALOG_YES_NO_AUTH); mCurrentDialog = DIALOG_YES_NO_AUTH; } else { Loading Loading
android/app/src/com/android/bluetooth/opp/BluetoothOppLauncherActivity.java +5 −0 Original line number Diff line number Diff line Loading @@ -75,6 +75,11 @@ public class BluetoothOppLauncherActivity extends Activity { Intent intent = getIntent(); String action = intent.getAction(); if (action == null) { Log.w(TAG, " Received " + intent + " with null action"); finish(); return; } if (action.equals(Intent.ACTION_SEND) || action.equals(Intent.ACTION_SEND_MULTIPLE)) { //Check if Bluetooth is available in the beginning instead of at the end Loading
android/app/src/com/android/bluetooth/pbap/BluetoothPbapActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ public class BluetoothPbapActivity extends AlertActivity Intent i = getIntent(); String action = i.getAction(); mDevice = i.getParcelableExtra(BluetoothPbapService.EXTRA_DEVICE); if (action.equals(BluetoothPbapService.AUTH_CHALL_ACTION)) { if (action != null && action.equals(BluetoothPbapService.AUTH_CHALL_ACTION)) { showPbapDialog(DIALOG_YES_NO_AUTH); mCurrentDialog = DIALOG_YES_NO_AUTH; } else { Loading