Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63c4db64 authored by chenlei7's avatar chenlei7 Committed by android-build-merger
Browse files

Merge "Fix NPE when receives null action." am: 2b8e19a7 am: 470d4fdf

am: 22b669ba

Change-Id: If7c5a40a4343d7ae2c38bcc11c6e6fd2bf81b633
parents 1009f900 22b669ba
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -81,6 +81,12 @@ public class BluetoothOppLauncherActivity extends Activity {
            return;
        }

        if (action == null) {
            Log.w(TAG, "action is null");
            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
            if (!isBluetoothAllowed()) {