1. 08 Aug, 2016 3 commits
  2. 05 Aug, 2016 2 commits
  3. 04 Aug, 2016 4 commits
  4. 03 Aug, 2016 5 commits
    • Meng Wang's avatar
      Change title of "Enhanced 4G LTE Mode" per carrier config · 06f2cacb
      Meng Wang authored
      Bug: 30629746
      Change-Id: Id3df02c2c06e02fe48b7877aafa1c55c28cebafa
      06f2cacb
    • Ta-wei Yen's avatar
    • Tyler Gunn's avatar
    • Tyler Gunn's avatar
      Send "pull failed" connection event when a call pull fails. · e120ff28
      Tyler Gunn authored
      Although this isn't explicitly used in Dialer at the moment, it was
      something defined and forgotten to be used.
      
      Bug: 29906222
      Change-Id: I6b722a8fb0ddd82fa1600ac81526f650b8aa5466
      e120ff28
    • Ta-wei Yen's avatar
      Replace transcription for unsupported VVM message type · 97569a4b
      Ta-wei Yen authored
      The VVM client only supports audio messages. Most other message types
      are filtered the moment the SYNC SMS is received, but some message type
      such as VVM3 DSN is indistinguishable from audio message and will pass
      through.
      
      DSN (Delivery Status Notification) is the notification when sending a
      email to some address has failed. VVM3 DSN triggers a SYNC SMS that is
      completely identical to normal audio messages, and can only be
      identified after accessing the IMAP server.
      
      Although DSN is not supported in the VVM client, some carrier has this
      feature in their voicemail telephone interface, and will send the DSN
      to the client, this must be handled or a unplayable message will be
      shown with no indication of errors.
      
      In this CL, if the client is unable to find the audio data for a
      voicemail, it will be deemed a an unsupported message, and its'
      transcription field will be replaced by an error message. This covers
      not only DSN but also any other unplayable message.
      
      While this solution is far from ideal, it is not expected to have a lot
      of users that use the DSN feature or other unknown message types.
      
      Change-Id: I482479b746776b563ebf5694a58a8c2cf534b0f2
      Fixes: 30588635
      97569a4b
  5. 02 Aug, 2016 1 commit
    • Ta-wei Yen's avatar
      Tweak visual voicemail · 4b3cb598
      Ta-wei Yen authored
      b/30513337 NPE when connection lost
      ImapConnection will try to log out when the connection closes, even
      when the connection is interrupted and logging out cannot be done.
      Doing so will cause a NPE.
      
      In this CL log out will only commence if the transport is still valid.
      
      b/30514504 Don't show "Activating" if VVM has been activated before
      The activating message is shown upon every boot but most of the time
      the account should be already activated, activation is just for book
      keeping.
      
      After this CL the activating message will only be shown if the account
      is never activated before on the device. Error message will still be
      posted if activation fails.
      
      b/30483028 getCallCapablePhoneAccounts() returns null
      This is working as intended, comments updated
      
      b/29363739 Unable to fetch voicemail from Marshmallow
      PhoneAccountHandle is stored in the database to determine which account
      to fetch voicemail from. Between M and N the PhoneAccountHandle value
      has changed, causing the entry in M voicemails to mismatch.
      
      In this CL if the phone account of the voicemail cannot be found, the
      client will try to search it as the M format
      
      + Fix NPE while updating quota when the preceding operations on the
        ImapHelper has already failed.
      
      Change-Id: Ia17e345c772892e17a005ae8f0c6c08255a0ef1f
      Fixes: 29363739
      Fixes: 30513337
      Fixes: 30514504
      4b3cb598
  6. 29 Jul, 2016 1 commit
    • Ta-wei Yen's avatar
      Fix NPE on phone boot and SIM removal · 5d351b96
      Ta-wei Yen authored
      In some cases TelecomManager.getCallCapablePhoneAccounts() might return
      a PhoneAccountHandle with a invalid subId on boot, which will cause
      a NPE when trying to convert the subId back to a PhoneAccountHandle
      in SimChangeReceiver.processSubId().
      
      SimChangeReceiver also might be triggered with a invalid subId that
      is not SubscriptionManager.INVALID_SUBSCRIPTION_ID.
      SubscriptionManager.isValidSubscriptionId() should be used instead of
      comparing with the constant.
      
      In this CL the subId is validated on the above events.
      PhoneAccountHandleConverter.fromSubId() will also handle invalid subId
      gracefully and return null. The null return value is checked in all
      usages.
      
      Change-Id: Ie703b1a2a826a2951e8cc90fccc6badd76928bd3
      Fixes: 30474294
      5d351b96
  7. 27 Jul, 2016 4 commits
  8. 26 Jul, 2016 5 commits
  9. 25 Jul, 2016 7 commits
  10. 22 Jul, 2016 3 commits
    • Ta-wei Yen's avatar
    • Ta-wei Yen's avatar
      Postpone error until no more retries are available · 016df6b5
      Ta-wei Yen authored
      Error messages generated from tasks that have retries are often short
      lived and not actionable. These errors should wait until no more
      retries are available before being shown.
      
      Before this CL, All error codes are written directly to the database
      when a event is triggered. After this CL, writing to the database
      requires a VoicemailStatus.Editor() object to be passed in. Usually
      the object will be the same direct-write object as before. But in
      retrying tasks, the object passed in will have the writes deferred
      until the result of the task is determined. The writes will only be
      committed if the task is successful or no more retries are left.
      
      Passing a error handling object deep down is not ideal. A better way
      will be throwing a exception back up so the task can decide how to
      handle it. Unfortunately, deeper codes cannot handle escaping
      exceptions gracefully, and changing it involves too much risk at this
      moment.
      
      + Subsequent activation does not show the activating message
      
      Fixes: 30284894
      Change-Id: I523e8aa2f89ff3af13016eccd2392cee302e79dc
      016df6b5
    • Tyler Gunn's avatar
  11. 21 Jul, 2016 5 commits