1. 20 Nov, 2014 1 commit
    • Ye Wen's avatar
      Make CREATOR columns read-only and auto set them in provider · e07acb9f
      Ye Wen authored
      - If an app (not SYSTEM or PHONE) tries to set CREATOR column when
      inserting a message, it will be silently overridden by the true pacakge
      name of the caller. Or if it tries to update the column, it will be
      sliently dropped.
      - Also fixed some PII issues
      
      b/18393308
      
      Change-Id: I4ac739b9a6cb78797f006f17c0eed3eeb64cc65e
      e07acb9f
  2. 07 Nov, 2014 2 commits
  3. 31 Oct, 2014 1 commit
  4. 28 Oct, 2014 1 commit
    • Tom Taylor's avatar
      The sub_id column in the carriers should be an INTEGER instead of a LONG · 1ad5f913
      Tom Taylor authored
      Recently the definition of subId was changed from a long to an int. Here's
      a place that still needs the change. Note that this won't "fix" existing
      carrier tables and change the column from a LONG to an INTEGER.
      This change will only affect new installations.
      
      Change-Id: I6465aa37d41a237bc6fa870bb601db1ddf63e9d9
      1ad5f913
  5. 23 Oct, 2014 1 commit
  6. 06 Oct, 2014 1 commit
  7. 02 Oct, 2014 1 commit
  8. 17 Sep, 2014 2 commits
  9. 15 Sep, 2014 1 commit
  10. 11 Sep, 2014 1 commit
  11. 10 Sep, 2014 1 commit
    • Tom Taylor's avatar
      Unable to make calls on LRW71C · c55054d7
      Tom Taylor authored
      Bug 17450595
      
      The code was trying to update a table that wasn't there. The table is
      lazily created in onOpen.
      
      Change-Id: I364cf16370a57fb702dd8175d54a8cfffb392426
      c55054d7
  12. 05 Sep, 2014 1 commit
    • Steven Liu's avatar
      Add HbpcdLookupProvider · 6e3c0dc4
      Steven Liu authored
      To support HBPCD(Handset Based Plus Code Dialing) and SMS international
      number conversion. this provider has all known countries information about
      telephone number, such as the assignment abou MCC, SID, IDD, NDD and other
      supporting information.
      
      Bug: 17210134
      Change-Id: I369083169bb3504f8de9774b65f3993dd561c525
      6e3c0dc4
  13. 04 Sep, 2014 1 commit
    • Tom Taylor's avatar
      Save mcc/mnc in SubInfoRecord · 7c6edbe1
      Tom Taylor authored
      Bug 17157686
      
      Add new mcc and mnc columns to siminfo table.
      
      Change-Id: I6b433284cb78b5ec31242891f1b21c3d0784ad95
      7c6edbe1
  14. 03 Sep, 2014 1 commit
  15. 15 Aug, 2014 1 commit
    • w19976's avatar
      Configure MTU based on network PCO MTU parameter · e9a6c45f
      w19976 authored
      Add logic to obtain the mtu from the network PCO parameter and set it to kernel
      when the mobile data connection is established. When there is no PCO mtu configured
      from the network, the mtu size defined in the corresponding APN will be used. In case
      no mtu size is defined for an APN used for data connection, the MCC/MNC based MTU
      defined in the framework overaly will be applied.
      
      bug:17046179
      Change-Id: I6465d4b8f2076aaa380ae3617fb3f24adbe136d4
      e9a6c45f
  16. 13 Aug, 2014 1 commit
  17. 12 Aug, 2014 2 commits
  18. 30 Jul, 2014 1 commit
  19. 28 Jul, 2014 1 commit
  20. 16 Jul, 2014 2 commits
  21. 12 Jul, 2014 2 commits
  22. 09 Jul, 2014 1 commit
  23. 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
  24. 22 Jun, 2014 1 commit
  25. 17 Jun, 2014 1 commit
  26. 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
  27. 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
  28. 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
  29. 27 Sep, 2013 1 commit
  30. 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
  31. 22 May, 2013 1 commit
  32. 09 Mar, 2013 1 commit
  33. 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
  34. 22 Feb, 2013 2 commits