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

Commit 04e0fc69 authored by Srikanth Chintala's avatar Srikanth Chintala
Browse files

Set additional info for LaunchBrowser error case.

A recent change in 3GPP TS 31.124 27.22.4.26 spec for
LAUNCH BROWSER SEQ 1.6. expects an additional info
'Default URL unavailable' incase where default url
is not set.

Fix: In CatService, while handling the Launch Browser
error response include the additonal info 'Default
URL unavailable'.

3GPP Ref link:
http://www.etsi.org/deliver/etsi_ts/131100_131199/131124/
13.02.00_60/ts_131124v130200p.pdf

Bug: 63270501
Change-Id: Idb80c1b8f36749a0ad6e5d53c7a4ac693917d884
parent 0886e96a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1006,6 +1006,13 @@ public class CatService extends Handler implements AppInterface {
                }
                break;
            case LAUNCH_BROWSER:
                if (resMsg.mResCode == ResultCode.LAUNCH_BROWSER_ERROR) {
                    // Additional info for Default URL unavailable.
                    resMsg.setAdditionalInfo(0x04);
                } else {
                    resMsg.mIncludeAdditionalInfo = false;
                    resMsg.mAdditionalInfo = 0;
                }
                break;
            // 3GPP TS.102.223: Open Channel alpha confirmation should not send TR
            case OPEN_CHANNEL: