Closed
Bug 1206289
Opened 9 years ago
Closed 9 years ago
Additional TTY mode support
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(feature-b2g:2.2r+, b2g-v2.2r fixed, b2g-master wontfix)
RESOLVED
FIXED
feature-b2g | 2.2r+ |
People
(Reporter: cyang, Assigned: bevis)
References
Details
(Whiteboard: [caf priority: p2][CR 910889])
Attachments
(5 files, 11 obsolete files)
4.21 KB,
patch
|
bevis
:
review+
|
Details | Diff | Splinter Review |
8.71 KB,
patch
|
bevis
:
review+
|
Details | Diff | Splinter Review |
3.11 KB,
patch
|
bevis
:
review+
|
Details | Diff | Splinter Review |
5.18 KB,
patch
|
bevis
:
review+
|
Details | Diff | Splinter Review |
2.45 KB,
patch
|
bevis
:
review+
|
Details | Diff | Splinter Review |
Hi Hsinyi/Bevis, Sorry we only caught this now but looks like the original TTY mode support in bug 1185438 isn't exactly what we need. These are the additional support we need: 1) To query/set TTY mode, RIL requests made so there should be callbacks for them once the response to these requests are received 2) Again, because of the RIL requests being made, the APIs need to take in clientId like the other APIs in nsITelephonyService 3) Some TTY behavior depends on whether the headset is plugged in or not. In particular, nsITelephonyAudioService.idl needs to supply something similar to WiredHeadsetManager [1] for: - isWiredHeadsetOn() which provides the status of whether a headset is plugged in or not - onHeadsetPluggedInChanged which would notify registered listeners when a headset is plugged/unplugged - setParameters() to allow tty_mode to be set with the audio manager [1] https://www.codeaurora.org/cgit/quic/la/platform/packages/services/Telecomm/tree/src/com/android/server/telecom/WiredHeadsetManager.java?h=LA.AF.1.1.1
Updated•9 years ago
|
Flags: needinfo?(htsai)
Updated•9 years ago
|
Whiteboard: [CR 910889]
Updated•9 years ago
|
Whiteboard: [CR 910889] → [caf priority: p2][CR 910889]
Assignee | ||
Comment 1•9 years ago
|
||
(In reply to Carol Yang [:cyang] from comment #0) > Hi Hsinyi/Bevis, > > Sorry we only caught this now but looks like the original TTY mode support > in bug 1185438 isn't exactly what we need. These are the additional support > we need: > > 1) To query/set TTY mode, RIL requests made so there should be callbacks for > them once the response to these requests are received > 2) Again, because of the RIL requests being made, the APIs need to take in > clientId like the other APIs in nsITelephonyService > 3) Some TTY behavior depends on whether the headset is plugged in or not. In > particular, nsITelephonyAudioService.idl needs to supply something similar > to WiredHeadsetManager [1] for: > - isWiredHeadsetOn() which provides the status of whether a headset is > plugged in or not > - onHeadsetPluggedInChanged which would notify registered listeners when a > headset is plugged/unplugged > - setParameters() to allow tty_mode to be set with the audio manager > > [1] > https://www.codeaurora.org/cgit/quic/la/platform/packages/services/Telecomm/ > tree/src/com/android/server/telecom/WiredHeadsetManager.java?h=LA.AF.1.1.1 Hi Carol, As we discussed earlier in bug 1185438, Mozilla is expected to provide setter/getter API of the TTY Mode preference in Web API. The underlying implementation of the TTY mode is expected to be done by the chip vendors because the corresponding implementation might be various with different chip solution. Hence, with this getter/setter APIs, the TelephonyService replace by CAF could check the current value of the TTY mode preference and monitor the change of the TTY mode preference with additional information of current headset status to apply the TTY mode to multiple modems and audio respectively. The only problem I saw currently is how to be informed of the HEADSET status change in gecko. I'll follow-up this item and feedback it soon, so set the NI on myself. -- BTW, here is the implementation in AOSP for your reference: 1. A predefined user preference for TTYMode (Off, Full, HCO, VCO) and default set to Off. 2. TtyManager in CallManager: (currentTtyMode to Off by default) http://androidxref.com/5.1.1_r6/xref/packages/services/Telecomm/src/com/android/server/telecom/TtyManager.java#72 - Listen to user preference change & headset plugged in change: - if wired headset is plugged, defined newTtyMode to the preferred one. Set to Off, Otherwise. - if currentTtyMode != newTtyMode, set currentTtyMode to newTtyMode and - notify tty_mode to AudioManager via AudioManager.setParameters. - notify tty_mode to TtyManager in each phone instance to set TTY mode properly. http://androidxref.com/5.1.1_r6/xref/packages/services/Telephony/src/com/android/services/telephony/TtyManager.java#updateTtyMode 3. TtyManager in PhoneGlobals: - Listen to user preference change to update UI TTY Mode to each phone. (IMS Phone currently. This is weird!) - Update TTY Mode notify from TtyManager in CallManager to each modem/phone instances. 4. CallStateMonitor for PhoneGlobals: - Listen to the TTY Mode changed from remote party and display a dialog to inform the user to change the tty mode accordingly. (Only available from IMS currently)
Flags: needinfo?(htsai) → needinfo?(btseng)
Assignee | ||
Comment 2•9 years ago
|
||
The change of HEADSET could be observed by adding an observer for the topic of "headphones-status-changed"[1]. If a wrapper of this is required to have a clear interface between MOZ-RIL and CAF-RIL. We could define a listener for this in nsITelephonyAudioService. [1] http://mxr.mozilla.org/mozilla-b2g37_v2_2/source/dom/system/gonk/AudioManager.cpp#406
Flags: needinfo?(cyang)
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(btseng)
Reporter | ||
Comment 3•9 years ago
|
||
(In reply to Bevis Tseng[:bevistseng][:btseng] from comment #1) > (In reply to Carol Yang [:cyang] from comment #0) > > Hi Hsinyi/Bevis, > > > > Sorry we only caught this now but looks like the original TTY mode support > > in bug 1185438 isn't exactly what we need. These are the additional support > > we need: > > > > 1) To query/set TTY mode, RIL requests made so there should be callbacks for > > them once the response to these requests are received > > 2) Again, because of the RIL requests being made, the APIs need to take in > > clientId like the other APIs in nsITelephonyService > > 3) Some TTY behavior depends on whether the headset is plugged in or not. In > > particular, nsITelephonyAudioService.idl needs to supply something similar > > to WiredHeadsetManager [1] for: > > - isWiredHeadsetOn() which provides the status of whether a headset is > > plugged in or not > > - onHeadsetPluggedInChanged which would notify registered listeners when a > > headset is plugged/unplugged > > - setParameters() to allow tty_mode to be set with the audio manager > > > > [1] > > https://www.codeaurora.org/cgit/quic/la/platform/packages/services/Telecomm/ > > tree/src/com/android/server/telecom/WiredHeadsetManager.java?h=LA.AF.1.1.1 > > Hi Carol, > > As we discussed earlier in bug 1185438, Mozilla is expected to provide > setter/getter API of the TTY Mode preference in Web API. > The underlying implementation of the TTY mode is expected to be done by the > chip vendors because the corresponding implementation might be various with > different chip solution. Agreed that implementation will be done by chip vendors. I think what we didn't take into consideration was that the setting/getting of TTY mode are asynchronous calls. In particular, the call here will result in a RIL request sent down to modem. This is why we need a CB after receiving the response from those requests. For the same reason, this is why we need a clientId. http://androidxref.com/5.1.1_r6/xref/packages/services/Telephony/src/com/android/services/telephony/TtyManager.java#92 > > Hence, with this getter/setter APIs, the TelephonyService replace by CAF > could check the current value of the TTY mode preference and monitor the > change of the TTY mode preference with additional information of current > headset status to apply the TTY mode to multiple modems and audio > respectively. > > The only problem I saw currently is how to be informed of the HEADSET status > change in gecko. > I'll follow-up this item and feedback it soon, so set the NI on myself. > > > -- > > BTW, here is the implementation in AOSP for your reference: > 1. A predefined user preference for TTYMode (Off, Full, HCO, VCO) and > default set to Off. > 2. TtyManager in CallManager: (currentTtyMode to Off by default) > > http://androidxref.com/5.1.1_r6/xref/packages/services/Telecomm/src/com/ > android/server/telecom/TtyManager.java#72 > - Listen to user preference change & headset plugged in change: > - if wired headset is plugged, defined newTtyMode to the preferred one. > Set to Off, Otherwise. > - if currentTtyMode != newTtyMode, set currentTtyMode to newTtyMode > and > - notify tty_mode to AudioManager via AudioManager.setParameters. > - notify tty_mode to TtyManager in each phone instance to set > TTY mode properly. > > http://androidxref.com/5.1.1_r6/xref/packages/services/Telephony/src/com/ > android/services/telephony/TtyManager.java#updateTtyMode > 3. TtyManager in PhoneGlobals: > - Listen to user preference change to update UI TTY Mode to each phone. > (IMS Phone currently. This is weird!) > - Update TTY Mode notify from TtyManager in CallManager to each > modem/phone instances. > 4. CallStateMonitor for PhoneGlobals: > - Listen to the TTY Mode changed from remote party and display a dialog > to inform the user to change the tty mode accordingly. (Only available from > IMS currently)
Flags: needinfo?(cyang)
Reporter | ||
Comment 4•9 years ago
|
||
(In reply to Bevis Tseng[:bevistseng][:btseng] from comment #2) > The change of HEADSET could be observed by adding an observer for the topic > of "headphones-status-changed"[1]. > > If a wrapper of this is required to have a clear interface between MOZ-RIL > and CAF-RIL. > We could define a listener for this in nsITelephonyAudioService. > > [1] > http://mxr.mozilla.org/mozilla-b2g37_v2_2/source/dom/system/gonk/ > AudioManager.cpp#406 Thanks Bevis. Aside from observing headset change, there should be a wrapper to allow us to query the headset status as well.
Flags: needinfo?(btseng)
Assignee | ||
Comment 5•9 years ago
|
||
(In reply to Carol Yang [:cyang] from comment #3) > Agreed that implementation will be done by chip vendors. I think what we > didn't take into consideration was that the setting/getting of TTY mode are > asynchronous calls. In particular, the call here will result in a RIL > request sent down to modem. This is why we need a CB after receiving the > response from those requests. For the same reason, this is why we need a > clientId. > > http://androidxref.com/5.1.1_r6/xref/packages/services/Telephony/src/com/ > android/services/telephony/TtyManager.java#92 > The behavior in my mind is actually the same to what have done in AOSP: 1. The getter/setter of TTY mode is as simple as what we have done for mute/speaker. 2. The implementation will try to apply the TTY mode when all the conditions are fufilled, including: a. detecting the HEADSET status. b. detecting the change of TTY preference. b. apply the TTY mode to the Audio and all the modems(depends on how many clientIds available including the ims client). In AOSP, 1. the telecom.TtyManager will detect the change of TTY preference: http://androidxref.com/5.1.1_r6/xref/packages/services/Telecomm/src/com/android/server/telecom/TtyManager.java#117 2. Update the tty mode to audio and ask each telephony.TtyManager bound to dedicated Phone instance to set the TTY mode to the protocol. http://androidxref.com/5.1.1_r6/xref/packages/services/Telephony/src/com/android/services/telephony/TtyManager.java#93 And there is no need to report the error to the app layer if there is something wrong in audio or in protocol. http://androidxref.com/5.1.1_r6/xref/packages/services/Telephony/src/com/android/services/telephony/TtyManager.java#52 Hence, based on these assumption, We have done step 1) in bug 1185438, and expect step 2) to be done by CAF. Is there anything that we misunderstood? In addition, I'll check how to get current headset status in gecko, so keep NI on me.
Assignee | ||
Comment 6•9 years ago
|
||
(In reply to Bevis Tseng[:bevistseng][:btseng] from comment #5) > The behavior in my mind is actually the same to what have done in AOSP: > 1. The getter/setter of TTY mode is as simple as what we have done for > mute/speaker. > 2. The implementation will try to apply the TTY mode when all the conditions > are fufilled, including: > a. detecting the HEADSET status. > b. detecting the change of TTY preference. > c. apply the TTY mode to the Audio and all the modems(depends on how many > clientIds available including the ims client). In addition, based on this design, we don't have to expose the |clientId| from API perspective, IMO.
Flags: needinfo?(btseng)
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(btseng)
Assignee | ||
Comment 7•9 years ago
|
||
(In reply to Carol Yang [:cyang] from comment #4) > Thanks Bevis. Aside from observing headset change, there should be a wrapper > to allow us to query the headset status as well. I'll expose the listener and the getter in TelephonyAudioService for the headset status in this bug. :)
Flags: needinfo?(btseng)
Assignee | ||
Updated•9 years ago
|
status-b2g-v2.2r:
--- → affected
status-b2g-master:
--- → wontfix
Assignee | ||
Comment 8•9 years ago
|
||
(In reply to Bevis Tseng[:bevistseng][:btseng] from comment #7) > (In reply to Carol Yang [:cyang] from comment #4) > > Thanks Bevis. Aside from observing headset change, there should be a wrapper > > to allow us to query the headset status as well. > > I'll expose the listener and the getter in TelephonyAudioService for the > headset status in this bug. :) BTW, In addition to the headset, is there anything else required to be exposed from AudioManager? For example, in AOSP, the telecom.TtyManager will set additional parameters "tty_mode" into AudioManager: http://androidxref.com/5.1.1_r6/xref/packages/services/Telecomm/src/com/android/server/telecom/TtyManager.java#89 Currently, we expect this could be done by CAF internally.
Flags: needinfo?(cyang)
Assignee | ||
Comment 9•9 years ago
|
||
(In reply to Bevis Tseng[:bevistseng][:btseng] from comment #8) > (In reply to Bevis Tseng[:bevistseng][:btseng] from comment #7) > > (In reply to Carol Yang [:cyang] from comment #4) > > > Thanks Bevis. Aside from observing headset change, there should be a wrapper > > > to allow us to query the headset status as well. > > > > I'll expose the listener and the getter in TelephonyAudioService for the > > headset status in this bug. :) > > BTW, > In addition to the headset, is there anything else required to be exposed > from AudioManager? > For example, in AOSP, the telecom.TtyManager will set additional parameters > "tty_mode" into AudioManager: > http://androidxref.com/5.1.1_r6/xref/packages/services/Telecomm/src/com/ > android/server/telecom/TtyManager.java#89 > > Currently, we expect this could be done by CAF internally. You have mentioned that you need an API to set ttymode to audio system in comment 0.
Flags: needinfo?(cyang)
Assignee | ||
Comment 10•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → btseng
Assignee | ||
Comment 11•9 years ago
|
||
Assignee | ||
Comment 12•9 years ago
|
||
Assignee | ||
Comment 13•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8664791 -
Attachment description: (v3) Part 3: Add TTY Mode Support in RIL Worker. → (v1) Part 3: Add TTY Mode Support in RIL Worker.
Assignee | ||
Comment 14•9 years ago
|
||
Hi Carol, The attached patches are WIP for your reference of 1. How the headset/ttymode related APIs to be exposed from TelephonyAudioService. (Part2) 2. How MOZ-RIL adopt these APIs to support TTY in TelephonyService. (Part3) Please let us know if this could meet your need for the TTY implementation in CAF-RIL. Thanks!
Flags: needinfo?(cyang)
Reporter | ||
Comment 15•9 years ago
|
||
(In reply to Bevis Tseng[:bevistseng][:btseng] from comment #6) > (In reply to Bevis Tseng[:bevistseng][:btseng] from comment #5) > > The behavior in my mind is actually the same to what have done in AOSP: > > 1. The getter/setter of TTY mode is as simple as what we have done for > > mute/speaker. So I did notice that in TelephonyAudioService, prefs is used to store the TTY mode. Will this persist over device reboot? > > 2. The implementation will try to apply the TTY mode when all the conditions > > are fufilled, including: > > a. detecting the HEADSET status. > > b. detecting the change of TTY preference. > > c. apply the TTY mode to the Audio and all the modems(depends on how many > > clientIds available including the ims client). > > In addition, based on this design, we don't have to expose the |clientId| > from API perspective, IMO. I'm still verifying if down at the modem level, if setting TTY mode is subscription agnostic. If this is something that is going to be an issue, I'll bring it up with you later. I see your point regarding no need to report response for query/set so agree that no CB is needed. As for your WIP patch, I think you are providing what we need in TelephonyAudioService. Thanks!
Flags: needinfo?(cyang)
Reporter | ||
Updated•9 years ago
|
Flags: needinfo?(btseng)
Assignee | ||
Comment 16•9 years ago
|
||
Additional APIs from TelephonyAudioService is required per comment 0 and comment 15.
blocking-b2g: --- → 2.2r?
Assignee | ||
Comment 17•9 years ago
|
||
(In reply to Carol Yang [:cyang] from comment #15) > So I did notice that in TelephonyAudioService, prefs is used to store the > TTY mode. Will this persist over device reboot? Yes, the preference is persistent over device reboot. > > I'm still verifying if down at the modem level, if setting TTY mode is > subscription agnostic. If this is something that is going to be an issue, > I'll bring it up with you later. Here is my test result in flame to both clientIds: I got with positive response from both clients when applying the TTY mode no matter there is a SIM inserted or not.
Flags: needinfo?(btseng)
Assignee | ||
Comment 18•9 years ago
|
||
Fix the problem that blocking the request to ril_worker.
Attachment #8664792 -
Attachment is obsolete: true
Assignee | ||
Comment 19•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=902fb484e5f4
Assignee | ||
Comment 20•9 years ago
|
||
Hi Carol, I have one problem regarding AudioSystem::SetParameter("tty_mode=tty_xxx"); In patch Part1 & Part2, I have defined a Wrapper to set expected TTY mode to the AudioSystem. However, when testing, I always get an ERROR in Flame said: > E/audio_a2dp_hw( 206): adev_set_parameters: ERROR: set param called even when stream out is null Even the parameter I set is correct: > D/audio_hw_primary( 206): adev_set_parameters: enter: tty_mode=tty_off The error seems to be reported from the audio driver which we are not able to access. We are not pretty sure if there is any limitation on Flame for the TTY support in Audio part. Would you mind to see if you are able to apply the |tty_mode| parameter into AudioSystem with the patches of Part1 & Part2? If the result is positive, then we can help to land this patch into 2.2r safely. :) Thanks!
Flags: needinfo?(cyang)
Reporter | ||
Comment 21•9 years ago
|
||
(In reply to Bevis Tseng[:bevistseng][:btseng] from comment #20) > Hi Carol, > > I have one problem regarding AudioSystem::SetParameter("tty_mode=tty_xxx"); > > In patch Part1 & Part2, I have defined a Wrapper to set expected TTY mode to > the AudioSystem. > However, when testing, I always get an ERROR in Flame said: > > E/audio_a2dp_hw( 206): adev_set_parameters: ERROR: set param called even when stream out is null > Even the parameter I set is correct: > > D/audio_hw_primary( 206): adev_set_parameters: enter: tty_mode=tty_off > > The error seems to be reported from the audio driver which we are not able > to access. > We are not pretty sure if there is any limitation on Flame for the TTY > support in Audio part. > > Would you mind to see if you are able to apply the |tty_mode| parameter into > AudioSystem with the patches of Part1 & Part2? > If the result is positive, then we can help to land this patch into 2.2r > safely. :) > > Thanks! I checked with our Audio team and the response is that this error can be ignored.
Flags: needinfo?(cyang)
Assignee | ||
Comment 22•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=548d4a9fff96
Assignee | ||
Comment 23•9 years ago
|
||
Hi Alaster, May I have your review for exposing the headset state and the setter of TTY Mode to audio system? Thanks!
Attachment #8664789 -
Attachment is obsolete: true
Attachment #8667715 -
Flags: review?(alwu)
Assignee | ||
Comment 24•9 years ago
|
||
Hi Hsinyi, In this patch, 1. Add wrapper APIs of headset/tty mode from AudioManager. 2. More straight-forward implementation of getter/setter for TTY preference without "nsPref:changed" observer involved to ensure that the the preference is updated after set. May I have your review for these change? Thanks!
Attachment #8664790 -
Attachment is obsolete: true
Attachment #8667717 -
Flags: review?(htsai)
Assignee | ||
Comment 25•9 years ago
|
||
Hi Hsinyi, May I have your review for the API of setting TTY in ril_worker.js? BTW, the TTY related constants added in ril_consts.js is not used but just for reference from the one defined in ril.h in AOSP. Thanks!
Attachment #8664791 -
Attachment is obsolete: true
Attachment #8667719 -
Flags: review?(htsai)
Assignee | ||
Comment 26•9 years ago
|
||
To have the support of applying preferred TTY mode in TelephonyService.
Attachment #8665306 -
Attachment is obsolete: true
Attachment #8667720 -
Flags: review?(htsai)
Assignee | ||
Comment 27•9 years ago
|
||
Add Test case to verify headset listener in TelephonyAudioService.
Attachment #8667721 -
Flags: review?(htsai)
Comment 28•9 years ago
|
||
Comment on attachment 8667715 [details] [diff] [review] (v3) Part 1: Expose Headset State and TTY Mode from AudioManager. Review of attachment 8667715 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, thanks! ::: dom/system/gonk/nsIAudioManager.idl @@ +42,5 @@ > + const unsigned short TTY_MODE_OFF = 0; > + const unsigned short TTY_MODE_FULL = 1; > + const unsigned short TTY_MODE_HCO = 2; > + const unsigned short TTY_MODE_VCO = 3; > + Could you add the comment to shortly describe what is TTY?
Attachment #8667715 -
Flags: review?(alwu) → review+
Assignee | ||
Comment 29•9 years ago
|
||
(In reply to Alastor Wu [:alwu][OOO from 10/3-10/11] from comment #28) > Comment on attachment 8667715 [details] [diff] [review] > (v3) Part 1: Expose Headset State and TTY Mode from AudioManager. > > Review of attachment 8667715 [details] [diff] [review]: > ----------------------------------------------------------------- > > LGTM, thanks! > > ::: dom/system/gonk/nsIAudioManager.idl > @@ +42,5 @@ > > + const unsigned short TTY_MODE_OFF = 0; > > + const unsigned short TTY_MODE_FULL = 1; > > + const unsigned short TTY_MODE_HCO = 2; > > + const unsigned short TTY_MODE_VCO = 3; > > + > > Could you add the comment to shortly describe what is TTY? Sure! :)
Assignee | ||
Comment 30•9 years ago
|
||
Sorry for uploading wrong patch of Part 4.
Attachment #8667720 -
Attachment is obsolete: true
Attachment #8667720 -
Flags: review?(htsai)
Attachment #8668768 -
Flags: review?(htsai)
Updated•9 years ago
|
Attachment #8667719 -
Flags: review?(htsai) → review+
Comment 31•9 years ago
|
||
Comment on attachment 8668768 [details] [diff] [review] (v3) Part 4: Add TTY Mode Support in TelephonyService. Review of attachment 8668768 [details] [diff] [review]: ----------------------------------------------------------------- r=me with comment addressed, thank you! ::: dom/telephony/gonk/TelephonyService.js @@ +178,5 @@ > > this._cdmaCallWaitingNumber = null; > > + this._headsetState = gAudioService.headsetState; > + gAudioService.registerListener(this); Did you forget to call unregisterListener() when shutting down?
Attachment #8668768 -
Flags: review?(htsai) → review+
Comment 32•9 years ago
|
||
Comment on attachment 8667717 [details] [diff] [review] (v3) Part 2: Add Wrapper APIs in TelephonyAudioService. Review of attachment 8667717 [details] [diff] [review]: ----------------------------------------------------------------- Thank you, Bevis :) ::: dom/telephony/gonk/TelephonyAudioService.js @@ +78,5 @@ > QueryInterface: XPCOMUtils.generateQI([Ci.nsITelephonyAudioService, > Ci.nsIObserver]), > > + _shutdown: function() { > + Services.prefs.removeObserver(kPrefRilDebuggingEnabled, this); I think this is not necessary according to [1]. [1] https://dxr.mozilla.org/mozilla-central/source/modules/libpref/nsPrefBranch.cpp?from=nsPrefBranch.cpp&case=true#662
Attachment #8667717 -
Flags: review?(htsai) → review+
Assignee | ||
Comment 33•9 years ago
|
||
Comment on attachment 8668768 [details] [diff] [review] (v3) Part 4: Add TTY Mode Support in TelephonyService. Review of attachment 8668768 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/telephony/gonk/TelephonyService.js @@ +178,5 @@ > > this._cdmaCallWaitingNumber = null; > > + this._headsetState = gAudioService.headsetState; > + gAudioService.registerListener(this); My bad, I'll address this in next update. Thanks!
Assignee | ||
Comment 34•9 years ago
|
||
Comment on attachment 8667717 [details] [diff] [review] (v3) Part 2: Add Wrapper APIs in TelephonyAudioService. Review of attachment 8667717 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/telephony/gonk/TelephonyAudioService.js @@ +78,5 @@ > QueryInterface: XPCOMUtils.generateQI([Ci.nsITelephonyAudioService, > Ci.nsIObserver]), > > + _shutdown: function() { > + Services.prefs.removeObserver(kPrefRilDebuggingEnabled, this); Cool, glad to know this! Thanks!
Comment 35•9 years ago
|
||
Comment on attachment 8667721 [details] [diff] [review] (v3) Part 5: Add Test Case for Headset Detection. Review of attachment 8667721 [details] [diff] [review]: ----------------------------------------------------------------- Test is the best!
Attachment #8667721 -
Flags: review?(htsai) → review+
Assignee | ||
Comment 36•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=86bf4f254263
Assignee | ||
Comment 37•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e5680848a349
Updated•9 years ago
|
Assignee | ||
Comment 38•9 years ago
|
||
upload final patch of part 1.
Attachment #8667715 -
Attachment is obsolete: true
Attachment #8669501 -
Flags: review+
Assignee | ||
Comment 39•9 years ago
|
||
upload final patch of part 2 to address comment 32.
Attachment #8667717 -
Attachment is obsolete: true
Attachment #8669502 -
Flags: review+
Assignee | ||
Comment 40•9 years ago
|
||
upload final patch of part 3.
Attachment #8667719 -
Attachment is obsolete: true
Attachment #8669503 -
Flags: review+
Assignee | ||
Comment 41•9 years ago
|
||
upload final patch of part 4 to address comment 31.
Attachment #8668768 -
Attachment is obsolete: true
Attachment #8669504 -
Flags: review+
Assignee | ||
Comment 42•9 years ago
|
||
upload final patch of part 5.
Attachment #8667721 -
Attachment is obsolete: true
Attachment #8669505 -
Flags: review+
Comment 44•9 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g37_v2_2r/rev/2c5ac35a9f61 https://hg.mozilla.org/releases/mozilla-b2g37_v2_2r/rev/695914e0ed1d https://hg.mozilla.org/releases/mozilla-b2g37_v2_2r/rev/9aacca580eda https://hg.mozilla.org/releases/mozilla-b2g37_v2_2r/rev/4852b5eb9b83 https://hg.mozilla.org/releases/mozilla-b2g37_v2_2r/rev/b8bc3d446c8f
Keywords: checkin-needed
Comment 45•9 years ago
|
||
Patched already landed in v2.2r.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•