diff --git a/b2g/components/AlertsHelper.jsm b/b2g/components/AlertsHelper.jsm index 4dfe8ca829b..9260c1066af 100644 --- a/b2g/components/AlertsHelper.jsm +++ b/b2g/components/AlertsHelper.jsm @@ -178,8 +178,8 @@ let AlertsHelper = { return helper.fullLaunchPath(); } else if (typeof message === "object" && kNotificationSystemMessageName in message) { - return - helper.resolveFromOrigin(message[kNotificationSystemMessageName]); + return helper.resolveFromOrigin( + message[kNotificationSystemMessageName]); } } diff --git a/b2g/config/emulator-ics/sources.xml b/b2g/config/emulator-ics/sources.xml index a8c3ec9cf99..738902c0b28 100644 --- a/b2g/config/emulator-ics/sources.xml +++ b/b2g/config/emulator-ics/sources.xml @@ -19,7 +19,7 @@ - + diff --git a/b2g/config/emulator-jb/sources.xml b/b2g/config/emulator-jb/sources.xml index 74f1df0a786..c675da86828 100644 --- a/b2g/config/emulator-jb/sources.xml +++ b/b2g/config/emulator-jb/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/emulator-kk/sources.xml b/b2g/config/emulator-kk/sources.xml index a0c3b330a53..15e768dcf6f 100644 --- a/b2g/config/emulator-kk/sources.xml +++ b/b2g/config/emulator-kk/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/emulator/sources.xml b/b2g/config/emulator/sources.xml index a8c3ec9cf99..738902c0b28 100644 --- a/b2g/config/emulator/sources.xml +++ b/b2g/config/emulator/sources.xml @@ -19,7 +19,7 @@ - + diff --git a/b2g/config/flame/sources.xml b/b2g/config/flame/sources.xml index 0bca8862d43..c88df55867f 100644 --- a/b2g/config/flame/sources.xml +++ b/b2g/config/flame/sources.xml @@ -18,7 +18,7 @@ - + diff --git a/b2g/config/gaia.json b/b2g/config/gaia.json index 9e97425f8a6..4b74ed73887 100644 --- a/b2g/config/gaia.json +++ b/b2g/config/gaia.json @@ -4,6 +4,6 @@ "remote": "", "branch": "" }, - "revision": "1b0c17f9088596cff6bcae64418ce45f91d64dec", + "revision": "3cb56b927c764ceca3c305a12d70eb24af062e92", "repo_path": "/integration/gaia-central" } diff --git a/b2g/config/hamachi/sources.xml b/b2g/config/hamachi/sources.xml index 53c3d224721..f999668c27e 100644 --- a/b2g/config/hamachi/sources.xml +++ b/b2g/config/hamachi/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/helix/sources.xml b/b2g/config/helix/sources.xml index c2d77659c48..2ec79ec0c27 100644 --- a/b2g/config/helix/sources.xml +++ b/b2g/config/helix/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/inari/sources.xml b/b2g/config/inari/sources.xml index 396df077ae0..fb5f7f1fdb5 100644 --- a/b2g/config/inari/sources.xml +++ b/b2g/config/inari/sources.xml @@ -19,7 +19,7 @@ - + diff --git a/b2g/config/leo/sources.xml b/b2g/config/leo/sources.xml index 431735aa77a..e45a548d702 100644 --- a/b2g/config/leo/sources.xml +++ b/b2g/config/leo/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/mako/sources.xml b/b2g/config/mako/sources.xml index c3190666c3b..824e1a503d5 100644 --- a/b2g/config/mako/sources.xml +++ b/b2g/config/mako/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/wasabi/sources.xml b/b2g/config/wasabi/sources.xml index 9ec335cb870..0bcf2b38034 100644 --- a/b2g/config/wasabi/sources.xml +++ b/b2g/config/wasabi/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/dom/bluetooth/bluedroid/hfp/BluetoothHfpManager.cpp b/dom/bluetooth/bluedroid/hfp/BluetoothHfpManager.cpp index 71507f456f7..3276ae82d8e 100644 --- a/dom/bluetooth/bluedroid/hfp/BluetoothHfpManager.cpp +++ b/dom/bluetooth/bluedroid/hfp/BluetoothHfpManager.cpp @@ -897,6 +897,7 @@ BluetoothHfpManager::HandleVoiceConnectionChanged(uint32_t aClientId) voiceInfo->GetType(type); mPhoneType = GetPhoneType(type); + // Roam bool roaming; voiceInfo->GetRoaming(&roaming); mRoam = (roaming) ? 1 : 0; @@ -904,7 +905,13 @@ BluetoothHfpManager::HandleVoiceConnectionChanged(uint32_t aClientId) // Service nsString regState; voiceInfo->GetState(regState); - mService = (regState.EqualsLiteral("registered")) ? 1 : 0; + + int service = (regState.EqualsLiteral("registered")) ? 1 : 0; + if (service != mService) { + // Notify BluetoothRilListener of service change + mListener->ServiceChanged(aClientId, service); + } + mService = service; // Signal JSContext* cx = nsContentUtils::GetSafeJSContext();