1. 10 Aug, 2016 1 commit
  2. 09 Aug, 2016 2 commits
  3. 08 Aug, 2016 5 commits
  4. 06 Aug, 2016 1 commit
  5. 05 Aug, 2016 2 commits
  6. 04 Aug, 2016 5 commits
  7. 03 Aug, 2016 6 commits
  8. 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
  9. 31 Jul, 2016 1 commit
  10. 29 Jul, 2016 3 commits
    • Ta-wei Yen's avatar
      Fix NPE on phone boot and SIM removal · 3dbee23f
      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
      3dbee23f
    • Ta-wei Yen's avatar
      Reset voicemail status to disabled for not supported phone accounts · e5d6c9fd
      Ta-wei Yen authored
      In some cases a phone account might have already written to the status
      table, but the feature is later removed through changes in
      CarrierConfig. Previously the VVM client will just stop handling the
      account and the status will be stuck in the table. Sometimes it would
      leave a error that which will be shown to the user forever.
      
      After this CL, if the phone account has no VVM support, the status
      table entry will be reset to the disabled state, which will make the
      UI ignore the account.
      
      Bug: 30314643
      Change-Id: I0b67decd62d021de90d7d0ff0f5209e7f3e624ee
      e5d6c9fd
    • 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
  11. 27 Jul, 2016 5 commits
  12. 26 Jul, 2016 6 commits
  13. 25 Jul, 2016 2 commits