summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Messaging: show snackbar instead of toast when deleting conversationJoey Rizzoli2016-10-173-2/+12
| | | | | | | more consistency with archive action Change-Id: I06129850860a2a51c10ade65fb87c9f37a0c2bfa Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* MediaPicker: Check for NPEAnkit Gupta2016-10-171-0/+4
| | | | | | | | make sure view has been created before asking for its visibility. Change-Id: I0f0c36f8edf83c518bf07ef05399eda5d6b0f78a Issue-id: FEIJ-1135
* Messaging: fix bad recycle on sending two mms in a rowRoman Birg2016-10-171-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: Ia8755a1b10ac678c304ac7e1208336e11fbe7b77 Signed-off-by: Roman Birg <roman@cyngn.com>
* Use app settings for conversation settings if no custom setArtem Shvadskiy2016-10-174-6/+69
| | | | | Change-Id: I07adfd75c465ae40e477470d66587df21d560c4d issue-id: FEIJ-1291
* Messaging app crashes after a few MMStnmy-cyngn2016-10-171-1/+2
| | | | | | | | | | In some scenarios, data not bound when SIM state change local broadcasts are received. See stacktrace for more info. Protect against/skip call to update() in such scenarios. Change-Id: Iee7775a74d22808cb262e8973ca70e5e1f0acfc9 Bug-Id: CYNGNOS-3062, KIPPER-718
* Fixed storage permission issue for attachmentsGary Kipnis2016-10-173-3/+9
| | | | | | | | | | | | | | Moved some audio library tab related string to cm_strings.xml When Storage Permissions were being requested and granted, they were applied to either the Gallery (image & video) or Audio tab. This patch makes sure that the permissions are propagated to both. Change-Id: Ic8a3316616fad6fdf1cbc771aba360a031db88ad TicketId: Kipper-587 TicketId: Crackling-937 TicketId: Feij-143 TicketId: Porridge-64
* Added support for video and audio mms attachmentsGary Kipnis2016-10-1717-10/+1059
| | | | | Change-Id: I690f941ac80a861e57494028f676a7db658bdce1 Ticket-Id: FEIJ-128, FEIJ-143
* Add UI/UX capability to attach a saved video to a MMS messageMartin Brabham2016-10-171-2/+3
| | | | | Change-Id: I34c6ac3303ba90aed86ec9c350adc5866c11bce1 Ticket-Id: CRACKLING-937
* Play an audible notification on receiving a class zero message. ChangesArun Valiaparambil2016-10-172-0/+12
| | | | | | | | ported from http://review.cyanogenmod.org/#/c/125457/ PAELLA-123 Change-Id: I1289790d32a3b69bf7892025bac5fa3bd74eeefc
* Messaging: Implement saved video attachments in MMSMartin Brabham2016-10-174-12/+75
| | | | | Change-Id: I184a8d84f019d916fd07d8b90fb96b80408c6768 Ticket-Id: CRACKLING-937
* Messaging: Toggable keyboard emoticons accessAdrianDC2016-10-172-0/+21
| | | | | | | * Allows keyboards to always display the line return key Change-Id: I9ecb19733f707d35771255018afebf0b5cda5e6d Signed-off-by: AdrianDC <radian.dc@gmail.com>
* Messaging: Swipe right to delete conversationchengzhi.hou2016-10-174-16/+20
| | | | | | | Change "swipe delete" to "swipe right delete", so SwipeArchive and SwipeDelete can exist at the same time. Change-Id: Id66167c2e749f8ab0ee917e0138027c7404b8c90
* MessageQueue: Process pending messages per subscriptionDiogo Ferreira2016-10-171-48/+122
| | | | | | | | | | | | | | The message dispatcher will only queue one message at a time for both sending and downloading. On multi-sim scenarios this causes failures in a subscription to delay all messages added after the one that fails. This patch changes the pending messages processor to queue one message per subscription for both sending and received, instead of one globally. Change-Id: Ia54906089dccbbe694aab7bf995ac08480d3e4f8 Ticket: CRACKLING-877
* Messaging: change Avatar fontFamily to sans-serif-mediumAltaf-Mahdi2016-10-171-1/+1
| | | | | | Match the changes in ContactsCommon Change-Id: Ica94f00e6121c550ea0bc1dfe73a52162dccda71
* Messaging: Implement option for swipe to delete.Adnan Begovic2016-10-173-1/+66
| | | | | | No one wants to swipe to archive, that's stupid. Change-Id: Ia8f0fc675582ef343311e60b755e284322f25102
* Messenger refuses all file:///data/ urisTavis Bohne2016-05-172-5/+7
| | | | | | | | | | | | | We've been informed it's possible for an app to create a world readable hardlink in L in its own /data directory that links to another apps private data, including Messenger data. The hardlink bypassed our existing checks. So now we simply refuse all file: uris in the /data/ directory. Other apps shouldn't be sending file uris anyway, and we dont know of any that send file:///data/ uris. Bug: 28793303 Change-Id: I778bb2bcb9e11185357093c59fc1fa3f6caa26a1
* Merge "Messaging doesn't allow sharing of its own files" into nyc-devTavis Bohne2016-05-162-2/+24
|\
| * Messaging doesn't allow sharing of its own filesTavis Bohne2016-04-292-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Previously, Messaging allowed sharing of any file it had permission to reach. This meant that bad apps could share a link to file:///data/data/com.android.messaging/databases/bugle_db and Messaging would happily send all this sensitive information to the target. Worse, a bad app could share a softlink to this file, where the symlink was picture.jpg with the image/jpg type. -Now, when sanitizing attachments, we make sure any filepaths don't lead to any Bugle-specific directories. -getApplicationInfo().dataDir is a symlink to /data/data/com.android.messaging, and appears to be the only directory where we store personal data. -Most apps share as contentUris, including Messaging, so Messaging can still share to itself. Change-Id: Ic464bc1f099029a030793c478aaf88b957d8bad1 Fixes:28076752
* | Add badge icon for work contact in search resultTony Mak2016-05-163-5/+28
| | | | | | | | | | | | | | | | BUG=26021888 BUG=28016344 (cherry picked from commit 6e00763823cd1b27ff88d25d0eb11f8addc3b2e6) Change-Id: If0e2f7b1c58cd064ebfdae8a9b735b391c5009fc
* | Cleanup enterprise feature in ContactUtilTony Mak2016-05-161-15/+4
| | | | | | | | | | | | | | | | | | | | | | 1. Remove isWorkProfileSupported checking, api level checking is enough. 2. Replace the hardcoded uri with the corresponding api. BUG=26797244 BUG=28016344 (cherry picked from commit 0d7a1cce157e4ffb26d5fefb9908bbeffcb1d03c) Change-Id: I76edad19dc6a19aa77b523cb960f716fca08944d
* | Separate work and personal contacts search resultTony Mak2016-05-161-61/+196
| | | | | | | | | | | | | | | | | | | | | | | | | | This change allows sms app to show search result of different directories in different partitions. Currently, only personal default and enterprise default directory are searched. BUG=26021888 BUG=28016344 (cherry picked from commit 59666b32c192bd28807ccd2f9153c796668bdf13) Change-Id: I733ceaae806d13661861126ce61c34108ac7e662
* | Search enterprise directory as well in SMS appTony Mak2016-05-162-24/+101
| | | | | | | | | | | | | | | | | | TODO: Update the UI to show enterprise result separately (b/26021888) Bug: 28016344, 25977180 (cherry picked from commit 5c621e57256f5068a43f1456f9bab1194f0d27b2) Change-Id: I7130ae5e057ed750a29f64c5497a04b868613579
* | Add isAtLeastN in OsUtilVictor Chang2016-05-111-0/+11
|/ | | | | Bug: 28016344 Change-Id: I431b4fed3f2114d1f1b311416a892f608a846e4c
* Messaging app ClassCastException (DecorContext -> Activity) when SMSoIMS is ↵Tom Taylor2016-03-211-2/+1
| | | | | | | | initiated Bug 27649619 Change-Id: I1c0de7c14abd255ceb9d61a377db3276c32fede0
* Remove "_" variable for Java 8Ye Wen2016-02-091-2/+2
| | | | | | b/27045502 Change-Id: I7ce2bb262fdc2b64f2c6b3cb629a2ec93450b265
* Access incoming audio files after user taps PlayShri Borde2015-08-216-23/+90
| | | | | | | For platforms with insecure handling of media files, media files should be opened only after the user chooses to play the media. Change-Id: I5f9bbd1f8468a704a5962f0dddd3c8b11bba8bea
* Fix build for latest Guava.Mike Dodd2015-08-121-24/+0
| | | | | | b/23110861 Change-Id: Iccd6e66f996fd00880cc3024085c838235da0adb
* Initial checkin of AOSP Messaging app.Mike Dodd2015-08-12469-0/+112633
| | | | | | b/23110861 Change-Id: I11db999bd10656801e618f78ab2b2ef74136fff1
* Revert "Initial checkin of AOSP Messaging app."Mike Dodd2015-08-12469-112633/+0
| | | | | | This reverts commit 461a34b466cb4b13dbbc2ec6330b31e217b2ac4e. Change-Id: Iac4ca77eeaa94989e91dead49a7959c905bd3078
* Initial checkin of AOSP Messaging app.Mike Dodd2015-08-12469-0/+112633
b/23110861 Change-Id: I9aa980d7569247d6b2ca78f5dcb4502e1eaadb8a