1. 16 Jul, 2014 2 commits
  2. 12 Jul, 2014 2 commits
  3. 09 Jul, 2014 1 commit
  4. 01 Jul, 2014 1 commit
    • Ye Wen's avatar
      MMS auto persisting (4/4) · 88e83585
      Ye Wen authored
      Changed permission control for new SMS APIs. Only phone and system UID
      are allowed.
      
      b/14095333
      
      Change-Id: I140c0a895b07f72a7840927a1008ea8f7dce8d46
      88e83585
  5. 22 Jun, 2014 1 commit
  6. 17 Jun, 2014 1 commit
  7. 11 Jun, 2014 1 commit
    • Wink Saville's avatar
      Merge kwd to master. · e84c0a8c
      Wink Saville authored
      Add support for MSIM, specifically a table for managing subscriptions.
      
      Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
      e84c0a8c
  8. 16 Jan, 2014 1 commit
    • Tom Taylor's avatar
      MmsProvider throws an exception on unknown column · 3ad9da40
      Tom Taylor authored
      If the vcard importer is handed a uri to an MMS part, it will crash.
      The MmsProvider will throw an exception when it queries for a column
      name not in the schema. With this change, the MmsProvider will simply
      return a null cursor when queried for an unkonwn column.
      
      Change-Id: I967f4a631d24eb5a43a70d563c2008f555d0aa3c
      3ad9da40
  9. 10 Oct, 2013 1 commit
    • Jake Hamby's avatar
      Fix AppOps exception for SMS quick reply feature. · deb745d6
      Jake Hamby authored
      Sending a quick SMS reply to an incoming phone call was failing
      with a SecurityException due to new AppOps code. The root cause
      was the insert() call in SmsProvider was calling back into itself
      using the UID of the caller (com.android.mms) but the package name
      for the callee (com.android.phone).
      
      Wrapped the insert() method of SmsProvider with a helper function
      to save the Binder identity and restore it on completion. This
      allows the quick response to make its own provider queries using
      its own UID as well as package name. Read/write security checks
      will be performed by the content provider framework based on the
      manifest file, before insert() is called.
      
      Bug: 11006277
      Change-Id: I4c0c8041a2505c5aad8db9b2dbab5402728f9221
      deb745d6
  10. 27 Sep, 2013 1 commit
  11. 18 Sep, 2013 1 commit
    • Jake Hamby's avatar
      Fix permission check for reading SMS on UICC. · 1d71463e
      Jake Hamby authored
      When accessing SMS stored on UICC via TelephonyProvider, we need to
      use the com.android.phone UID for the call to IccSmsInterfaceManager
      to avoid a UID mismatch failure in the app ops check. Add code to
      SmsProvider to save and restore the original caller identity.
      Also set android:multiprocess attribute to false in the manifest so
      that the providers don't run inside the caller's process, which
      also leads to a security exception.
      
      Bug: 10131077
      Change-Id: Ie6d3477b14973632f3706201de91353950359ee0
      1d71463e
  12. 22 May, 2013 1 commit
  13. 09 Mar, 2013 1 commit
  14. 28 Feb, 2013 1 commit
    • Sungmin Choi's avatar
      read MVNO config and insert DB · 27045ef3
      Sungmin Choi authored
      Update DB version because of using new field for MVNO.
      If there is config of MVNO, insert MVNO data to telephony.db.
      Default value of fields related to MVNO sets empty value('').
      
      Bug: 8143480
      
      Change-Id: Idfa06c6f39a2c15ff4f0815724823f44b76ac819
      27045ef3
  15. 22 Feb, 2013 2 commits
  16. 20 Feb, 2013 1 commit
  17. 19 Feb, 2013 1 commit
  18. 15 Feb, 2013 1 commit
    • Hyejin Kim's avatar
      avoid stopping app in case of accessing empty db · cfdb743e
      Hyejin Kim authored
      Empty database is made by exception for loading apns.
      When accessing empty database, Setting App is stopped, sometimes.
      To avoid stopping app, check null if occuring SQLException
      
      Change-Id: I36e6676c54bd8b182fb16f896e04b8e051d3bf2d
      cfdb743e
  19. 06 Feb, 2013 1 commit
    • Sungmin Choi's avatar
      fix typo for exception message · 1a4f2bf0
      Sungmin Choi authored
      Currently, if occurs exception as loading apn, it shows message
      about time zone. So fix it as showing about loading apns.
      
      Change-Id: I7fbc0d7053edfd37cdeae24f41f806b9a8c20a44
      1a4f2bf0
  20. 05 Feb, 2013 1 commit
  21. 25 Jan, 2013 1 commit
    • Sungmin Choi's avatar
      fix typo for comment · 22b63066
      Sungmin Choi authored
      About version 7, change comment from protocol to bearer.
      And change file permission
      
      Change-Id: Ia09403a46a0c800f84c612713f020a9f31bf0205
      22b63066
  22. 17 Jan, 2013 1 commit
  23. 15 Nov, 2012 1 commit
    • Tom Taylor's avatar
      App crashed as it was moving to foreground and message was received · 15156cd6
      Tom Taylor authored
      Bug 7540115
      
      In the MmsSmsProvider, wrap the code that creates a new thread in a transaction.
      Creating a new thread requires multiple database operations. It's possible
      for the newly created thread to be deleted part of the way through the
      operation.
      
      Change-Id: I3cbf8ba4ad3f3f30b513280ac3defc276b4a70a0
      15156cd6
  24. 06 Nov, 2012 1 commit
  25. 17 Oct, 2012 1 commit
    • Tom Taylor's avatar
      Empty draft created on deleting a group MMS message · 1a45ce5c
      Tom Taylor authored
      Bug 7360609
      
      Cleanup pdu table on db upgrade to remove all rows with a NULL threadId.
      An earlier change made sure we only inserted rows with a valid threadId or
      with 0. A NULL threadId in the pdu table causes deleting a thread to fail.
      
      Change-Id: I38824aa879fed80fe2385633c46d3c7eab0ae3b8
      1a45ce5c
  26. 26 Sep, 2012 1 commit
    • Tom Taylor's avatar
      SMS delete behavior odd · 842e3110
      Tom Taylor authored
      Bug 7175606
      
      Wrap the delete operations in a transaction.
      
      Change-Id: I6b07a83f2dbac6e2bdb4da872863708aac27f5bc
      842e3110
  27. 09 Sep, 2012 1 commit
    • Tom Taylor's avatar
      Old thumbnail shown · 49c9ede3
      Tom Taylor authored
      Bug 6602473
      
      Don't reuse part and pdu ids because their uri's are used as keys for the
      pdu and thumbnail caches. Change the part and pdu tables to use
      AUTOINCREMENT keys. When copying over a table to a temp table, dropping the
      original, and renaming the temp to the original, all triggers associated
      with the original table are dropped. Those triggers have to be recreated.
      The changes look more extensive than they really are. There were many mms-related
      triggers in createCommonTriggers() that had to be moved to CreateMmsTriggers().
      I used a diff tool to compare the schema dumps from the database before
      and after to verify the tables and triggers are the same (and used
      that same tool in the first place to identify those missing triggers).
      
      Change-Id: I92a100db7479e28f3c1d62ff6adab961c5871113
      49c9ede3
  28. 07 Sep, 2012 1 commit
  29. 17 Aug, 2012 1 commit
    • Robert Greenwalt's avatar
      Require permissions to read APN DB. · 410a1228
      Robert Greenwalt authored
      Since the DB may contain corp passwords, we should secure it.
      Using the same permission as writing to the DB as the read is
      potentially as damaging as a write.
      
      bug:6922610
      Change-Id: If0c7382b0809d254410274588fab7a0e89594c71
      410a1228
  30. 17 Jul, 2012 1 commit
  31. 14 Jun, 2012 1 commit
  32. 05 Jun, 2012 2 commits
  33. 01 Jun, 2012 1 commit
    • Tom Taylor's avatar
      Thread can't be deleted · 4b14c35e
      Tom Taylor authored
      Bug 6593778
      
      Delete all the messages in a thread and the thread comes back. If you
      get a row in the pdu or sms table with an empty thread_id, the query to
      delete threads that aren't referenced by any message fails. The query
      has to weed out messages with no thread_ids.
      
      Change-Id: I2a2121a27a4d4ce9ed02b8415dc50b0a59623d94
      4b14c35e
  34. 11 May, 2012 1 commit
  35. 09 May, 2012 1 commit
    • Tom Taylor's avatar
      Thread with no recipients getting created · 5926996d
      Tom Taylor authored
      Bug 6453254
      
      Don't allow a thread to be created with no recipients. Return null so
      the situation can be dealt with by the caller.
      
      Change-Id: Idd82ac5967524287e894ecd72b2bc01a1d3f639f
      5926996d
  36. 27 Mar, 2012 1 commit