summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 30481342: Security Vulnerability - TOCTOU in MmsProviderstable/cm-12.1-YOG4PJessica Wagantall2016-10-131-8/+28
| | | | | | | | | | | | | | | | | | | | | allows access to files as phone (radio) uid - DO NOT MERGE Problem: MmsProvider.openFile validated the current _data column in the DB and then called ContentProvider.openFileHelper which was again reading from the DB. A race condition could cause the second DB read to read an updated, malicious value. Fix: instead of doing the first DB check and calling ContentProvider.openFileHelper, we're now just calling MmsProvider.safeOpenFileHelper which does a single check. Test: used the POC provided for this incident. CYNGNOS-3286 b/30481342 Change-Id: I653129359130b9fae59d4c355320b266c158a698 (cherry picked from commit 53ff7691e0163f730ac9410da76e5ea61fe67343)
* Automatic translation importAbhisek Devkota2016-06-1317-0/+438
| | | | | Change-Id: I6403b2e6067423a0f3060032cfff152b03d2ccea Ticket: RM-154
* BlacklistProvider : Use helper methods from utils for validityDanesh M2015-09-141-69/+14
| | | | | | | issue-id: CYNGNOS-980 Change-Id: Ib605b80e5355df5f4ae050af819eca820427d52b (cherry picked from commit f1ac0c3756fe6cf14b19ca432f8b58f23625ba7a)
* Automatic translation importMichael Bestas2015-07-281-0/+1
| | | | | | CYNGNOS-264 Change-Id: If2cbe4d2b3ccb489295cea1c3bc2a557f9f71c7f (cherry picked from commit fbf5822cf339e2747e42e2dafeb62fcccf27750e)
* TelephonyProvider : Add sub_id to ICC columnsRohit Yengisetty2015-06-241-2/+4
| | | | | | | | sub_id was replaced with phone_id in b2fc4be and c22bb84 Adding sub_id alongside phone_id to revive broken Mms app functionality Change-Id: I03feb9cb0d2b3fc174dbe9c1dc66d702caf7f651 (cherry picked from commit d8da02b5eaadf18019fe1bb19ff781f41431c492)
* Add another db upgradeDave Daynard2015-05-151-0/+30
| | | | | | | | | | CAF added a lot of new columns to the database. We just haven't noticed because you only notice when you try to restore your apn database and you get SQL errors and an empty apn table... PS2: Don't bump rev number Change-Id: Iaac455916d3b7aaa2ef94563e4cf439fd4a308d4
* TelephonyProvider: change default IDD for Indonesiaemancebo2015-05-121-2/+2
| | | | | | | | HbpcdUtils takes the first IDD it gets back from the cursor. I updated both since the sql query sorts by mcc which is technically ambiguous. Change-Id: I9375db1d861cee453c72d6d545e8b8ed8e33f7af (cherry picked from commit 82c31966a42d35c1d2a5248486f4d6f24009b3f2)
* TelephonyProvider: Handle upgrade from 11 -> 12.1.Adnan Begovic2015-05-041-10/+32
| | | | Change-Id: I0fd2ab10c1ce1ce3db8e12c63b16b35010d0af2d
* Add proper DB upgrade path.Danny Baumann2015-04-073-17/+176
| | | | | | Add back the CM11 upgrade path and a phone_id -> sub_id conversion. Change-Id: I1f26dca48ac1536a524177ff20e59d7242100861
* APNs: Add statement to update carriers table to include read_only columnstaging/cm-12.1Patrick Lower2015-03-271-0/+3
| | | | | | * This fixes apns not showing in settings on a dirty flash from 12.0 to 12.1 Change-Id: I4e940b6200ab5a12bc45a2d86c5be7f3444cd12b
* Properly upgrade DBDanny Baumann2015-03-241-1/+14
| | | | Change-Id: I19509480797f4b530ce6dd57942f37227b469453
* Revert QC features we aren't using.Steve Kondik2015-03-234-585/+12
| | | | | | | | | | | | | | | | Revert "TelephonyProvider: Add CDMA call forwarding/waiting function" This reverts commit ea8aad945e06112e16293af5254c43c6fb4cad1f. Revert "TelephonyProvider: Enhance RCS messages performance." This reverts commit 0d554bbfcffd3764ce9d39d85cac6e9a97b01e47. Revert "TelephonyProvider: add RCS message clomn in telephonyProvider" This reverts commit 9b7de1dc374e96917e1e6c1f166c7b29dc1a168e. Change-Id: I7e357fa684953b3167c933c661f7c891f3633c85
* Automatic translation importMichael Bestas2015-03-234-0/+80
| | | | Change-Id: I076e67acf6ae4cab9e887be98c9915c60e57841d
* TelephonyProvider: allow specifying a protocol for preferred apnDan Pasanen2015-03-231-4/+6
| | | | Change-Id: I36f9aae610710702f16ba1c740c3c20b99543742
* TelephonyProvider: Update icon to MaterialMichael Bestas2015-03-235-0/+0
| | | | Change-Id: Ie17d7686272e1b81f049550435cf72b4c5f1ef11
* TelephonyProvider: compile files under srcRoman Birg2015-03-231-1/+1
| | | | | Change-Id: Ibc53027466da9f69eb58b3a6b146dd2b1311f425 Signed-off-by: Roman Birg <roman@cyngn.com>
* MmsProvider : Add ability to query types in a conversation threadDanesh M2015-03-231-7/+19
| | | | Change-Id: I72836d517376587dd441839af2d1255829bf5806
* MmsProvider : Add ability to delete mms given a thread idDanesh M2015-03-231-0/+7
| | | | Change-Id: I3b37699820b99a22db61f6aa1420f531c84d750b
* telephony: Add support for choosing a default APNSteve Kondik2015-03-232-1/+69
| | | | | | | | | | | * Sometimes, the standard method of choosing the "first" available APN is not what we want. Consider the case where a certain provider has both a "normal" APN and an LTE APN. The LTE APN is what we want, but it's not chosen. * Add a new overlayable value "config_preferred_apn" to handle this. A device can override this. The format is "apn,mcc,mnc". Change-Id: Ia6ca4159491bee15b3f18ad7ad524b8b0ffce2f2
* Bump the DB version from QC's changesRicardo Cerqueira2015-03-231-0/+4
| | | | | | | We still have some upgrade steps to do to upgrade from CM11, but prevent crashlooping of acore for people running L's original provider Change-Id: Ia28349bca23c8c7b71699a014756b4e3b061fe70
* Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.01.00.036.039 on remote branchLinux Build Service Account2015-03-150-0/+0
|\ | | | | | | Change-Id: Ibefe1171d911cd4635de6f17beaeb8491e37b6e1
| * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.02.036.038 on remote branchLinux Build Service Account2015-03-120-0/+0
|/| | | | | | | Change-Id: I5954572fa4af3f36cf41f0e66df3a9ea0affe9da
| * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.02.036.037 on remote branchLinux Build Service Account2015-03-110-0/+0
| |\ | | | | | | | | | Change-Id: I564a4de27ddfa046b9b25ffdd3c7ce2b0109ea67
| | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.02.036.036 on remote branchLinux Build Service Account2015-03-090-0/+0
| |/| | | | | | | | | | Change-Id: Icb750f08b9f316646c4d2bb99031d38fda8ddd8a
| | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.02.036.034 on remote branchLinux Build Service Account2015-03-040-0/+0
| | |\ | | | | | | | | | | | | Change-Id: Id0902c0c686d3e001936160d474c103aa3d92dff
| | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.02.036.033 on remote branchLinux Build Service Account2015-03-020-0/+0
| | |/| | | | | | | | | | | | | Change-Id: I61404216a940e67eecfa56d30a37dc6b2175313f
| | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.02.036.032 on remote branchLinux Build Service Account2015-02-260-0/+0
| | |/| | | | | | | | | | | | | Change-Id: Ie2506edc56bc79a622cc08c139fa3d248ef413e9
| | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.02.036.031 on remote branchLinux Build Service Account2015-02-240-0/+0
| | |/| | | | | | | | | | | | | Change-Id: Ic327895f886d901b5fd1a1b96021becc605def2a
| | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.02.036.029 on remote branchLinux Build Service Account2015-02-200-0/+0
| | |/| | | | | | | | | | | | | Change-Id: I0642e2aa51e02f29bb7a643c9b4c25dbf13f633d
| | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.02.036.027 on remote branchLinux Build Service Account2015-02-180-0/+0
| | |/| | | | | | | | | | | | | Change-Id: I7b93d6e13d22c43230e331284e25d235f986d821
| | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.02.036.026 on remote branchLinux Build Service Account2015-02-160-0/+0
| | |/| | | | | | | | | | | | | Change-Id: I6cd55c290d73256ff75c0c1e44aa037c84a51151
| | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.02.036.025 on remote branchLinux Build Service Account2015-02-120-0/+0
| | |/| | | | | | | | | | | | | Change-Id: Id9e81baf43465f3e91360d6066d46d1de1d16281
| | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.02.036.021 on remote branchLinux Build Service Account2015-02-040-0/+0
| | | |\ | | | | | | | | | | | | | | | Change-Id: Ia13ec06494d758676cb13abe49f5d4220cbff5a4
| | | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.02.036.020 on remote branchLinux Build Service Account2015-02-020-0/+0
| | | |/| | | | | | | | | | | | | | | | Change-Id: Ic4d7f6b4d11a379ceb25ee5e86a8a910e761cd02
| | | | * Merge "Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.02.036.018 on remote branch"Linux Build Service Account2015-01-220-0/+0
| | | | |\
| | | | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.02.036.018 on remote branchLinux Build Service Account2015-01-220-0/+0
| | | | |/| | | | | | | | | | | | | | | | | | | Change-Id: I7181dace31366f35b1b89ea8f09065510666a72a
| | | | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.00.036.017 on remote branchLinux Build Service Account2015-01-200-0/+0
| | | | |/| | | | | | | | | | | | | | | | | | | Change-Id: I479ae2067e57224b39efb7d5b96a62b6159f38ee
| | | | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.00.036.016 on remote branchLinux Build Service Account2015-01-190-0/+0
| | | | |/| | | | | | | | | | | | | | | | | | | Change-Id: I1e669828f406186ff49795eedd4331a08c2787d0
| | | | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.00.036.015 on remote branchLinux Build Service Account2015-01-160-0/+0
| | | | |/| | | | | | | | | | | | | | | | | | | Change-Id: Id7758ac9cd30d790c324b3767b76414da7d3ae7d
| | | | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.00.036.014 on remote branchLinux Build Service Account2015-01-140-0/+0
| | | | |/| | | | | | | | | | | | | | | | | | | Change-Id: I22a04d0a83593170a747830a2f907eaac99787d6
| | | | | * Merge "Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.00.036.013 on remote branch"Linux Build Service Account2015-01-120-0/+0
| | | | |/|
| | | | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.00.036.013 on remote branchLinux Build Service Account2015-01-120-0/+0
| | | | |/| | | | | | | | | | | | | | | | | | | Change-Id: I0ea33cf858e51762ae1a26fa97bbceb6c993f68b
| | | | | * Merge "Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.00.036.011 on remote branch"Linux Build Service Account2015-01-080-0/+0
| | | | |/|
| | | | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.00.036.011 on remote branchLinux Build Service Account2015-01-080-0/+0
| | | | |/| | | | | | | | | | | | | | | | | | | Change-Id: I429fdf7931448b6ef9a5c8539c0b77bb0f316c8c
| | | | | * Merge "Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.00.036.010 on remote branch"Linux Build Service Account2015-01-050-0/+0
| | | | |/|
| | | | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.00.036.010 on remote branchLinux Build Service Account2015-01-050-0/+0
| | | | |/| | | | | | | | | | | | | | | | | | | Change-Id: I1bfe47c51a11c46b440a073e7d135a48af0c5d00
| | | | | * Merge "Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.00.036.009 on remote branch"Linux Build Service Account2014-12-300-0/+0
| | | | |/|
| | | | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.00.036.009 on remote branchLinux Build Service Account2014-12-300-0/+0
| | | | |/| | | | | | | | | | | | | | | | | | | Change-Id: Iea07693f61750f7e1f489db3b4462e2ad63e9396
| | | | | * Merge "Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.00.036.008 on remote branch"Linux Build Service Account2014-12-240-0/+0
| | | | | |\
| | | | | | * Merge AU_LINUX_ANDROID_LA.BR.1.2.3_RB1.05.00.00.036.008 on remote branchLinux Build Service Account2014-12-240-0/+0
| | | | | |/| | | | | | | | | | | | | | | | | | | | | | Change-Id: I9ce43d2c003e872c3dda7130bcd32fc38e242068