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

Commit 1e7cfc38 authored by Nitin Srivastava's avatar Nitin Srivastava
Browse files

Bluetooth: Handle CPBS read command properly.

This change makes sure that AT+CPBS?
returns the SIM phonebook details once.

CRs-Fixed: 606837
Change-Id: I7b220032f863a5d50f35c3529ab59b0d0e53ac6b
parent 8e23d5c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -208,7 +208,7 @@ public class AtPhonebook {
                    if (atCommandResponse != null)
                    if (atCommandResponse != null)
                        mStateMachine.atResponseStringNative(atCommandResponse);
                        mStateMachine.atResponseStringNative(atCommandResponse);
                    mStateMachine.atResponseCodeNative(atCommandResult, atCommandErrorCode);
                    mStateMachine.atResponseCodeNative(atCommandResult, atCommandErrorCode);
                    break;
                    return;
                }
                }
                PhonebookResult pbr = getPhonebookResult(mCurrentPhonebook, true);
                PhonebookResult pbr = getPhonebookResult(mCurrentPhonebook, true);
                if (pbr == null) {
                if (pbr == null) {