- 16 Jul, 2014 2 commits
-
-
Ye Wen authored
b/14095333 Change-Id: I77d33a177fadba482c1571b59a10d6ebf1863a43
-
Shishir Agrawal authored
The change allows carrier apps to modify the APN database without requiring the WRITE_APN_SETTINGS permission. BUG=15993876 Change-Id: I82be8b18f985a750ed0df4d8004299dc842750c9
-
- 12 Jul, 2014 2 commits
-
-
Ye Wen authored
New SMS and MMS database columns: archived and creator b/14095333 Change-Id: I4d79014c12ac622b098c1b7892134ce842f70f83
-
Colin Cross authored
This reverts commit 95526160. Change-Id: I2f509217e0904359a8c37630f783097729d09709
-
- 09 Jul, 2014 1 commit
-
-
Ye Wen authored
New SMS and MMS database columns: archived and creator b/14095333 Change-Id: I6e7a91aa3a6371b621982083419341939d95e610
-
- 01 Jul, 2014 1 commit
-
-
Ye Wen authored
Changed permission control for new SMS APIs. Only phone and system UID are allowed. b/14095333 Change-Id: I140c0a895b07f72a7840927a1008ea8f7dce8d46
-
- 22 Jun, 2014 1 commit
-
-
Wink Saville authored
For multiple sim support we added a new table, siminfo, which needs to be created if it doesn't exist when upgrading a device. Added additional debug. Bug: 15669560 Change-Id: I1f3fb2aba219e0a723d272a413b9108d4630c672
-
- 17 Jun, 2014 1 commit
-
-
Ye Wen authored
b/15673719 Change-Id: I0f3d6c3bfaead109edef283ac45d7e5f8c3220b4
-
- 11 Jun, 2014 1 commit
-
-
Wink Saville authored
Add support for MSIM, specifically a table for managing subscriptions. Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
-
- 16 Jan, 2014 1 commit
-
-
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
-
- 10 Oct, 2013 1 commit
-
-
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
-
- 27 Sep, 2013 1 commit
-
-
Robert Greenwalt authored
bug:10916762 Change-Id: I65c457da89dbdbde35971a00e7056409c4a57227
-
- 18 Sep, 2013 1 commit
-
-
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
-
- 22 May, 2013 1 commit
-
-
Robert Greenwalt authored
If you ask for results other than type, mmsc, mmsproxy or mmsport you'll need permissions to do so. bug:7632229 Change-Id: I02d8ce8427dd21d9fd1fe17d225de16a88d2e617
-
- 09 Mar, 2013 1 commit
-
-
Hyejin Kim authored
Change-Id: Ie3e5773a6b62db12c6a7ea8b582a6deb85774322
-
- 28 Feb, 2013 1 commit
-
-
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
-
- 22 Feb, 2013 2 commits
-
-
Tom Taylor authored
Bug 8214355 Change-Id: I45c93047ced465277a46c6a33d6ef590ab0bf8bb
-
Tom Taylor authored
Bug 8214355 Change-Id: I45c93047ced465277a46c6a33d6ef590ab0bf8bb
-
- 20 Feb, 2013 1 commit
-
-
Tom Taylor authored
Bug 8214355 Only allow files in mms's app_parts directory to be opened. Tested with the code found in the bug, before and after this change. (cherry picked from commit 8168ff8c) Change-Id: Ieab4cf20f6191aba5c2118d454dcf69f5e268308
-
- 19 Feb, 2013 1 commit
-
-
Tom Taylor authored
Bug 8214355 Only allow files in mms's app_parts directory to be opened. Tested with the code found in the bug, before and after this change. Change-Id: Ifce883caf1631d352ae264266614d58d125964bf
-
- 15 Feb, 2013 1 commit
-
-
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
-
- 06 Feb, 2013 1 commit
-
-
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
-
- 05 Feb, 2013 1 commit
-
-
Dianne Hackborn authored
Change-Id: I17b5154c2eb53cbde9d562fb23a9ce047fe41327
-
- 25 Jan, 2013 1 commit
-
-
Sungmin Choi authored
About version 7, change comment from protocol to bearer. And change file permission Change-Id: Ia09403a46a0c800f84c612713f020a9f31bf0205
-
- 17 Jan, 2013 1 commit
-
-
jewon.lee authored
APN reset to default time is faster than old. Change-Id: Iddf2b36d358d210bdb55893246f06389c3f89d3e
-
- 15 Nov, 2012 1 commit
-
-
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
-
- 06 Nov, 2012 1 commit
-
-
whliang authored
I got a wrong cursor when select by MmsSms.CONTENT_FILTER_BYPHONE_URI,then I found the source code use the addr._id as the foreign key of the pdu._id, so I fix it Change-Id: Id6218854b4977ee7ce60c4b199b230679562e0f5 Signed-off-by:
whliang <shanji2078@gmail.com>
-
- 17 Oct, 2012 1 commit
-
-
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
-
- 26 Sep, 2012 1 commit
-
-
Tom Taylor authored
Bug 7175606 Wrap the delete operations in a transaction. Change-Id: I6b07a83f2dbac6e2bdb4da872863708aac27f5bc
-
- 09 Sep, 2012 1 commit
-
-
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
-
- 07 Sep, 2012 1 commit
-
-
Tom Taylor authored
Bug 7113015 Add a new column in the pdu that keeps track of whether a message is text-only. The UI can use that flag to decide whether to show the attachment box or not. Change-Id: I158dd07d415f24f0200c81f39de6feac03f37f8b
-
- 17 Aug, 2012 1 commit
-
-
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
-
- 17 Jul, 2012 1 commit
-
-
Wink Saville authored
Change-Id: I5378acae02693356ca4a0546cd9346910c29d9dc
-
- 14 Jun, 2012 1 commit
-
-
Wink Saville authored
Change-Id: I5378acae02693356ca4a0546cd9346910c29d9dc
-
- 05 Jun, 2012 2 commits
-
-
Tom Taylor authored
Bug 6609647 Change-Id: I6cce1746238cb02b112340298adfd23896c39b3f
-
Tom Taylor authored
Bug 6609647 Change-Id: I6cce1746238cb02b112340298adfd23896c39b3f
-
- 01 Jun, 2012 1 commit
-
-
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
-
- 11 May, 2012 1 commit
-
-
Tom Taylor authored
Bug 6476357 Mms provider search query would choke on quoted words. Use selection arguments instead of string building to pass in search string. Change-Id: Ida45cc0a16366779012c264ffbda021985f01fa6
-
- 09 May, 2012 1 commit
-
-
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
-
- 27 Mar, 2012 1 commit
-
-
Tom Taylor authored
Bug 5158047 Needed changes for new drm scheme. Change-Id: I48ec9e435c02a2d2b225aabfc11ae59fad97a902
-