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

Commit 804cb880 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Guard against null BluetoothDevice extras.

Bug: 188364781
Change-Id: If976318763fac7e5cb4b59300f104c9cd9392eaf
parent 5014fbd6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -11470,9 +11470,11 @@ public class Intent implements Parcelable, Cloneable {
        if (mAction != null && mAction.startsWith("android.bluetooth.")
                && hasExtra(BluetoothDevice.EXTRA_DEVICE)) {
            final BluetoothDevice device = getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
            if (device != null) {
                device.prepareToEnterProcess(source);
            }
        }
    }

    /** @hide */
    public boolean hasWebURI() {