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

Commit d0b523d8 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "BluetoothInCallService: Check null for getDetails().getExtras() in isSilentRingingRequested"

parents 90786a07 77d4e3fc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -269,7 +269,8 @@ public class BluetoothCall {

    // helper functions
    public boolean isSilentRingingRequested() {
        return getDetails().getExtras().getBoolean(Call.EXTRA_SILENT_RINGING_REQUESTED);
        return getDetails().getExtras() != null
                && getDetails().getExtras().getBoolean(Call.EXTRA_SILENT_RINGING_REQUESTED);
    }

    public boolean isConference() {