summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importHEADreplicant-6.0-0004-rc3replicant-6.0-0004-rc2cm-13.0Michael Bestas2019-08-10119-12766/+5979
| | | | Change-Id: Ib93059b46ae36881aa5402b335b6d49efc28fee6
* Messaging ignores file URIs shared via intentDavid Smith2018-08-082-0/+35
| | | | | | | | | | | | Fixes b/37629504 by not creating attachments from file URIs shared via intent. Sharing file URIs is disallowed by Android N and later and is no longer supported for this app. Test: manual using the Debug command added in this change Change-Id: Ibff486c94ac703a9a4c5a80e33b934a460804a8f Merged-In: Ibff486c94ac703a9a4c5a80e33b934a460804a8f (cherry picked from commit 9deefdf182d69f98d361d9d24de1e4892923dac5)
* Automatic translation importreplicant-6.0-0004-rc1Abhisek Devkota2017-12-139-0/+1275
| | | | Change-Id: If1f54e72c11bf71a87a724f0e4781db98dc72e1f
* DO NOT MERGEreplicant-6.0-0003Matt Sarett2017-09-201-2/+2
| | | | | | | | | | | | | Update callers *GifCloseFile for new GIFLIB DO NOT MERGE Bug:34697653 Test: build; existing CTS tests Original commit message: Fix build breakage caused by updating giflib Change-Id: I085379470620ec4db13f8baf7a9eb069747270b7 (cherry picked from commit 60519c717ebac07437af401006078bf944f93add)
* 37742976 - Catch bad gifsTom Taylor2017-09-201-1/+9
| | | | | | | | | | | | | | | | | * A security researcher crafted a gif that would cause the Android Bitmap code to throw an NPE. That would cause messaging to crash when decoding the NPE. Catch the NPE. Test: manually tested the "crash.gif" attached to the bug. Stepped through the debugger to verify we're catching the NPE and logging the attempt. Verified normal gifs still work. Bug: 37742976 Change-Id: Iab814d5b0b514bed0cecddd9a76f1fc095f90892 (cherry picked from commit 3671fd94ae1aad5c51d0730066e7f0c7b4c893ce) (cherry picked from commit e0f247e3994869567288f8057d9e3afec1dd2fe6) CVE-2017-0780
* Automatic translation importAbhisek Devkota2017-09-194-29/+62
| | | | Change-Id: Ifbcdbbe7256a54b88480b81c75217057521cfd8e
* Automatic translation importreplicant-6.0-0002Abhisek Devkota2017-07-271-0/+7
| | | | Change-Id: Ie67e7ffe842430ffbb700c04a212a0b25a498d28
* Automatic translation importAbhisek Devkota2017-06-222-9/+9
| | | | Change-Id: I72aeeb3b31625e8daf4d1c7b14cd0bb5ed34fb88
* Automatic translation importAbhisek Devkota2017-06-035-2/+11
| | | | Change-Id: I7b81d8b32cd030382d4c048fb443fd28d977e561
* Automatic translation importreplicant-6.0-0001Abhisek Devkota2017-04-28101-545/+456
| | | | Change-Id: Ie72a143b9fbbd991e719e04e9ea2e9c13ef99567
* 32161610 Security Vulnerability - Information disclosure vulnerability in ↵Tom Taylor2017-04-062-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | AOSP Messaging * Check to make sure the returned uri from the gallery picker does not point to bugle's data directory (or any subdir). * Test: Manual- * I created the test app in the bug, the one that injects the bad uri into Bugle. I verified the bad behavior before the fix and the good behavior after. * I tested the gallery to make sure picking photos, from the photos app and drive, still work. * I verified the behavior in the debugger to be sure the code is catching the bad uri from the test app. AOSP-Change-Id: I3393f3b886c837a49758b91945cf1e17ec9bee41 Fixes: 32161610 (cherry picked from commit 69ed579fb8092395c4ffeb64ff5147622def3d4a) Change-Id: Ifbfc78e6404f5f258a98026d3c5a5e76a107ddc8 (cherry picked from commit 9aaf452d882da24e19801fdb09df1e1311986482)
* Revert "resolve merge conflicts of eafd58a to nyc-dev"Sean McCreary2017-04-062-31/+0
| | | | | | This reverts commit 04b3ef8ed45bf90c7da89935209f0f4375137197. Change-Id: Id31930319d05e795a8cc35f37ad5b20fa3ce8c81
* 32764144 Security Vulnerability - heap buffer overflow in libgiftranscode.soTom Taylor2017-03-221-0/+5
| | | | | | | | | | | | | | | | | | in colorMap->Colors[colorIndex] * No range checking was done on a color index. Add range checking and bail if the color index is out of range. Test: tested sending a large gif that would invoke the GifTranscoder library to make the gif smaller. Bug: 32764144 CVE-2017-0494 Change-Id: I44f36274ec333ae1960fa8fc96b2dbde35fbaa66 (cherry picked from commit 6f763fef7ab16e28f6c43496e0f866e7803b4dc8) (cherry picked from commit 3f9821128abd66c4cd2f040d8243efb334bfad2d)
* 33388925 Mismatched new vs delete in framesequence libraryTom Taylor2017-03-221-2/+2
| | | | | | | | | | | | | | | | | | * The array allocations neglected to include [] so delete, instead of delete [] would get called. * Test Manual - tested sending a large gif that would invoke the GifTranscoder library to make the gif smaller. Bug: 33388925 CVE-2017-0476 Change-Id: I1e200e470d66ae615ffe9340ff9c049eaa73f63c (cherry picked from commit 837474a376a4599d57f791966080f93ca7afaf67) (cherry picked from commit 8ba22b48ebff50311d7eaa8d512f9d507f0bdd0d)
* resolve merge conflicts of eafd58a to nyc-devTom Taylor2017-03-132-0/+31
| | | | | | | Change-Id: I58151ca0c248dd4b84c78c8e7ca73d5a80bbd962 (cherry picked from commit a43c5c5f18d966355a63db194c931e02267a2695) (cherry picked from commit b5ef5630a7b05676ef9c48d43c3752712cefd814) mh0rst: Backport from android-7.1.1_r21
* 32807795 Security Vulnerability - AOSP Messaging App: thirdparty canTom Taylor2017-03-133-4/+39
| | | | | | | | | | | | | | | | | attach private files from "/data/data/com.android.messaging/" directory to the messaging app. * This is a manual merge from ag/871758 -- backporting a security fix from Bugle to Kazoo. * Don't export the MediaScratchFileProvider or the MmsFileProvider. This will block external access from third party apps. In addition, make both providers more robust in handling path names. Make sure the file paths handled in the providers point to the expected directory. Change-Id: I9e6b3ae0e122e3f5022243418f2893d4a0859edb Fixes: 32807795 (cherry picked from commit a2aa53f83afbd13b04cbdcca494fd3cf659c155d) (cherry picked from commit 9879d17384ac3e3d4046b7f79d21aee3a1183284)
* 32322450 Security Vulnerability - heap buffer overflow in libgiftranscode.soTom Taylor2017-03-131-0/+5
| | | | | | | | | | | | | | | | * No range checking was done on the background color index. Add range checking and bail if the color index is out of range. * Test Manual - tested sending the gif attached in the bug. - tested sending a 3.5mb gif to verify the gif transcoding was taking place. - tested on arm64, arm, and x86 devices. Change-Id: Id16ddccf05c8472ddebc1284b2a928dafd1be551 Fixes: 32322450 (cherry picked from commit bcc1f62715f8005684ac6b798d0d54224394e975) (cherry picked from commit 47971bccc973ed00ff9b30ce27dc28e0d2cc5cfc)
* Automatic translation importAbhisek Devkota2017-02-204-0/+508
| | | | Change-Id: Ie40e31950ada9521478743ac9eb206bcdc97b60b
* Revert "Add maps preview for addresses and integrate ridesharing request ↵Zhao Wei Liew2017-02-1922-574/+24
| | | | | | | | | | into Messaging" Get rid of dependencies on the ambient SDK. This reverts commit 1a3b89e56b63270c0394f5b50cd4ce3081c1f7ee. Change-Id: Iad616b41bbeb71a785f45fa4a359fe305099ade0
* Revert "Adding metrics related to Ridesharing"Zhao Wei Liew2017-02-195-422/+0
| | | | | | | | Get rid of dependencies on the ambient SDK. This reverts commit 7619c3c57f0e9cd41a26aa8170ecae05591ac466. Change-Id: If9f191cd610e30ef991b994c36b0192620b7c212
* Revert "Add permissions for ridesharing"Zhao Wei Liew2017-02-191-2/+0
| | | | | | | | Getting rid of dependencies on the ambient SDK. This reverts commit 9e542ad0be32bbd14bba6fd787235609f247d139. Change-Id: I1138d4f912e14e8137b031213f3e217b9fd3efa1
* Revert "Add don't optimize flag in proguard to avoid build error"Zhao Wei Liew2017-02-191-2/+0
| | | | | | | | Getting rid of ambient SDK dependencies. This reverts commit 6da984a4c2bf92030521709eefd738858a2d31ec. Change-Id: I4f36d47f3a0dbe68e26436f8d27779e8cfc610f7
* Revert "Fix getProviderInfo compile error after api change"Zhao Wei Liew2017-02-191-2/+2
| | | | | | | | Getting rid of dependencies on the ambient SDK. This reverts commit 435f3e70248f235ec918d08efa20178192053529. Change-Id: Ic1b83f7e2dd7fa2604bc39aaf44ff28891a67d54
* Revert "Adjust map and map bar UX"Zhao Wei Liew2017-02-197-56/+40
| | | | | | | | Getting rid of dependencies on the ambient SDK. This reverts commit c0de5d0cf1c44664fcfd9adf0568ac137c215512. Change-Id: Ic362df39edf25d34f1b4cd9f83d664750697d3f7
* Automatic translation importAbhisek Devkota2017-02-061-0/+40
| | | | Change-Id: I666946ef973f4861063c58691320a8343c10a3e1
* Automatic translation importAbhisek Devkota2017-02-021-0/+1
| | | | Change-Id: Ib006e8d39fb668c0de698c64ae6afdb192ed5215
* Automatic translation importAbhisek Devkota2017-02-014-2/+59
| | | | Change-Id: Id4138a26031545c4b55de94b57d28f74b9362704
* Automatic translation importAbhisek Devkota2017-01-264-24/+90
| | | | Change-Id: I4807cf1301b2790c627860d382c658e2c3468a4c
* Automatic translation importblinky@build012016-12-241-2/+2
| | | | | Change-Id: I4ca0f92f3ed763cdfaf78a1ed798ad97cce0d657 Ticket: -
* Automatic translation importblinky@build012016-12-211-1/+81
| | | | | Change-Id: Ib58093a63a5331271da32cab1a0fd02c354f002c Ticket: -
* Automatic translation importclyde@build012016-12-161-0/+81
| | | | | Change-Id: I0f462a7c387b6058ba01cb6b9b78345689c97d34 Ticket: -
* Automatic translation importpinky@build012016-12-151-0/+1
| | | | | Change-Id: I3caaed2ee2d21c4e00cdddb0a9f558457a4531b9 Ticket: -
* Automatic translation importinky@build012016-11-2914-16/+161
| | | | | Change-Id: I7c0e992b2361ffa19ccfbc36563c08fc1636d026 Ticket: -
* Messaging: Fix incorrect equality checkMichael W2016-11-182-2/+2
| | | | | | | | | | The change https://review.cyanogenmod.org/#/c/163343/ introduced an incorrect equality check resulting in sms not being sent when sms preference is set to "Always choose". Correctly use equals() to fix this issue. Change-Id: Ic1a4667163c8da5c3e2108e460c25c07e0903241
* really use the subId: PhoneAccountHandleMarcos Marado2016-10-202-2/+30
| | | | | | | | | | | | | | | | | | | | | | | PhoneAccountHandle's getId does *not* return subId, nor an int, but an unique String identifier: "A connection service must select identifiers that are stable for the lifetime of their users' relationship with their service, across many Android devices. For example, a good set of identifiers might be the email addresses with which with users registered for their accounts with a particular service." Not only onSimSelected is expecting to receive int subId, but more importantly, if you try to Integer.valueOf(selectedAccountHandle.getId()) you'll probably bump into a few NumberFormatException's (if the identifier is an email address, as the previous text suggests, this is what's going to happen). Fix this by actually using the subId for the PhoneAccount that has that PhoneAccountHandle. Change-Id: I366e25602db2f96ffb95192c7664993834ba99fc
* Adding metrics related to RidesharingVineet Patil2016-09-305-0/+422
| | | | | Change-Id: I07720930146f3c6219ad77da222a5cf0218b20d8 Issue-Id: RIDE-344
* MediaPicker: Check for NPEAnkit Gupta2016-09-301-0/+4
| | | | | | | | make sure view has been created before asking for its visibility. Issue-id: FEIJ-1135 Change-Id: Id5c537b5446c4e8edb1a6748d931e245fa31fd64
* Automatic translation importpinky@build012016-09-25100-0/+284
| | | | | Change-Id: I780ba5c88e5f917c51faafa489c59791d1f8ab07 Ticket: -
* Add permissions for ridesharingStephen Bird2016-09-161-0/+2
| | | | Change-Id: Icfe94e3ed0ce5cbe13d42de2fb6c2ee033579dc1
* Adjust map and map bar UXTyson Miller2016-09-137-40/+56
| | | | | | | | | | - Add ripple to map button bar - Fix drawable tint color for generic ride icon - Fix margins for map button bar - Map zoom is closer to spec, but layout still WIP Change-Id: I77c9a570aea1462f91d85c2bd149aac895712caa Issue-Id: RIDE-246, RIDE-241, RIDE-243
* Fix getProviderInfo compile error after api changeemancebo2016-09-131-2/+2
| | | | Change-Id: Ied74ba7efb73e0ed04fdbaf2b3d697f629c34906
* Add don't optimize flag in proguard to avoid build errorYvonne Wong2016-09-131-0/+2
| | | | Change-Id: Ia2ff248397f2c85a2c88896b23f177173fae35be
* Add maps preview for addresses and integrate ridesharing request into MessagingYvonne Wong2016-09-1322-24/+574
| | | | | | | | | | | | | | | | | | | - Uses the first map link found in a message to get a static map view - The static map view is shown as a preview and can be clicked to go into the default maps app - Clicking on request ride will lead the user to RideCoreUI with pickup location prefilled based on the address in the map link - Clicking on the directions button will lead the user to google maps's navigation - Display placeholder background when map is loading or offline with no cached image - Use RoundedCornerTransformation to transform the map into a bitmap with rounded corners - Show brand bitmap from ridesharing services if an active provider is chosen, otherwise display the generic ridesharing icon Change-Id: I8e74c6d9beeaa58f01f0a51e5a831c6697c890ea Issue-Id: RIDE-75, RIDE-76, RIDE-77
* Messaging: fix some int'l numbers from displaying incorrectlyRoman Birg2016-09-071-15/+4
| | | | | | | | | | The framework already handles a bunch of special cases and uses libphonenumber to format the number. Ticket: CYNGNOS-2945 Change-Id: If9b08b04b74bd1aa3b11214a42a15f7bfbc5ab48 Signed-off-by: Roman Birg <roman@cyngn.com>
* Messaging: fix bad recycle on sending two mms in a rowRoman Birg2016-09-071-0/+1
| | | | | | | | | | | When we are handling the add animation ourself, we need to call the dispatchAdd() to finish the operation so the recycler view can propely handle it. Ticket: CYNGNOS-3253 Change-Id: I7fe17e0f41446122f39bd99a394c3c51754724d3 Signed-off-by: Roman Birg <roman@cyngn.com>
* Automatic translation importclyde@build012016-09-062-0/+4
| | | | | Change-Id: Id8b7b564ea2f5a8a8d51c1f8dc7cce20d0a38787 Ticket: -
* Automatic translation importpinky@build012016-08-290-0/+0
| | | | | Change-Id: I09b6d8d3ee306289e485f38662241cffd11b9360 Ticket: -
* Automatic translation importpinky@build012016-08-2712-5/+1368
| | | | | Change-Id: I255923e97cd6e896e4c63234522c0e1203668311 Ticket: -
* Unachive conversations from unblocked participantsd34d2016-08-151-0/+41
| | | | | | | | | When a contact is blocked, the conversation with that participant is archived. This patch unarchives the conversation when the participant is no longer being blocked. Change-Id: Ief7146ad76fc786621f080c3909e922ace1f4a75 TICKET: CYNGNOS-3226
* Automatic translation importblinky@build012016-08-132-2/+9
| | | | | Change-Id: I6e17d6086897e2412bf2eb77fc25b0519814e4ee Ticket: -