summaryrefslogtreecommitdiffstats
path: root/src/com/android/messaging/ui
Commit message (Collapse)AuthorAgeFilesLines
* Allow intent shared subject or title to be mms subjectMarco Sirabella2019-10-291-3/+11
| | | | | | | | Fix some styling issues Thanks to LuK1337 on the irc channel for helpful pointers Change-Id: Ibb5eba030320467774cdac1d502ec36c98abcb43
* Messaging: Add "Mark as read" quick action for message notificationsPaul Keith2019-10-292-0/+25
| | | | Change-Id: I7194dca022e5062926fa35709de282721ca64320
* Messaging: Fix crash of blocked participant list activityDanny Baumann2019-10-291-7/+0
| | | | | | | | This activity was asserting that *only* the blocked participant list fragment is attached to it, but the lifecycle libraries also inject a fragment for their internal purposes. Change-Id: Iafd798337a38fc83cf45174b20a8b6a76bf20546
* Messaging: Don't crash on unsupported shared content typeLuca Stefani2019-10-291-2/+10
| | | | Change-Id: Ibbd164ecf73ed5b7d4af0cdc0ca670085e96633c
* MediaPicker: Check for NPEAnkit Gupta2019-10-291-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 Birg2019-10-291-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>
* Messaging app crashes after a few MMStnmy-cyngn2019-10-291-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 Kipnis2019-10-293-3/+9
| | | | | | | | | | | | 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 Kipnis2019-10-299-4/+842
| | | | | Change-Id: I690f941ac80a861e57494028f676a7db658bdce1 Ticket-Id: FEIJ-128, FEIJ-143
* Play an audible notification on receiving a class zero message.Arun Valiaparambil2019-10-291-0/+3
| | | | | | | | Changes ported from http://review.cyanogenmod.org/#/c/125457/ PAELLA-123 Change-Id: I1289790d32a3b69bf7892025bac5fa3bd74eeefc
* Messaging: Implement saved video attachments in MMSMartin Brabham2019-10-291-0/+30
| | | | | Change-Id: I184a8d84f019d916fd07d8b90fb96b80408c6768 Ticket-Id: CRACKLING-937
* Messaging: Toggable keyboard emoticons accessAdrianDC2019-10-291-0/+11
| | | | | | | * Allows keyboards to always display the line return key Change-Id: I9ecb19733f707d35771255018afebf0b5cda5e6d Signed-off-by: AdrianDC <radian.dc@gmail.com>
* Messaging: Implement option for swipe right to delete.Adnan Begovic2019-09-153-6/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: Author: Adnan Begovic <adnan@cyngn.com> Date: Thu Jan 14 17:20:43 2016 -0800 Messaging: Implement option for swipe to delete. No one wants to swipe to archive, that's stupid. Change-Id: Ia8f0fc675582ef343311e60b755e284322f25102 Author: chengzhi.hou <chengzhi.hou@ck-telecom.com> Date: Wed Feb 24 20:01:17 2016 +0800 Messaging: Swipe right to delete conversation Change "swipe delete" to "swipe right delete", so SwipeArchive and SwipeDelete can exist at the same time. Change-Id: Id66167c2e749f8ab0ee917e0138027c7404b8c90 Author: Michael Bestas <mikeioannina@cyanogenmod.org> Date: Tue Mar 1 02:27:16 2016 +0200 Improve swipe to delete strings Change-Id: I180d09a6680084d9fd87c6dafd56db18ca5a580a Author: Joey Rizzoli <joey@cyanogenmoditalia.it> Date: Mon Oct 17 16:32:25 2016 +0200 Messaging: show snackbar instead of toast when deleting conversation more consistency with archive action Change-Id: I06129850860a2a51c10ade65fb87c9f37a0c2bfa Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it> Change-Id: Ia8f0fc675582ef343311e60b755e284322f25102
* Ignore unexpected ACTION_DOWN for SIM avatar iconsTaesu Lee2019-09-151-0/+9
| | | | | | | | | | | Unexpected ACTION_DOWN raises setColorFilter() for SIM avatar icons in the SIM switcher. However, other actions to clear the filter cannot be received due to no clickable attribute. Test: Click SIM icon in SimSelectorView. Change-Id: Ic5972522a3442e3087c474b65add38a6d00511a5 Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
* Fix wrong PreferenceCategory for SMS delivery reportTaesu Lee2019-09-151-1/+1
| | | | | | | Test: Manual Change-Id: I3008c596e5559e51613ed2da43793187c79381f5 Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
* Fix assertion failures caused by different instance typeTaesu Lee2019-09-151-5/+7
| | | | | | | | | | | onAttachFragment() with ReportFragment instance is called first since Support Library 26.1.0 has been applied. Remove assert() and check instance to fix crash caused by the ReportFragement. Test: Manual Change-Id: I5a4d6bdd00ac94c5892527f5fe784b8f19701214 Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
* Fix MMS Config issues in Debug menuTaesu Lee2019-09-151-1/+9
| | | | | | | | | | | | | Fix - Wrong order of args for update(). - Wrong and missing configs in keyType map. And remove MMS config keys from the key list if the keyType map doesn't include them. Test: Manual Change-Id: Ib1876072625187baf15ce6e64f90785ed0ba3df8 Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
* Messaging: Fix generating id in android namespaceMichael Bestas2019-09-151-1/+1
| | | | | | | | | | Fixes: res/layout/apn_preference_layout.xml:40: warn: generated id 'android:id/title' for external package 'android'. res/layout/apn_preference_layout.xml:48: warn: generated id 'android:id/summary' for external package 'android'. Change-Id: Ia096fa2e072ba4391e3adad52d3f9c9abed0e976
* Merge changes from topic "am-d8363787-88bb-4e45-b57c-b18d9d8290cb" into ↵Atanas Kirilov2018-06-011-0/+13
|\ | | | | | | | | | | | | | | oc-dev am: f7bdc8fd87 am: 24fba8cf55 am: 8f2f5671b0 am: dc683fa0fd am: b6e222ec21 Change-Id: I1db1e411fcd7ee11dd7e8a0f345546ab2f75392a
| * [automerger] Messaging ignores file URIs shared via intent am: 9deefdf182 ↵Android Build Merger (Role)2018-05-251-0/+13
| |\ | | | | | | | | | | | | | | | am: ea03db3303 am: cd77076596 am: 9c69271a58 am: 0c21193863 Change-Id: Ifd8f26ed2cfc372c039fffa192a49293f234890b
| | * [automerger] Messaging ignores file URIs shared via intent am: 9deefdf182Android Build Merger (Role)2018-05-251-0/+13
| | |\ | | | | | | | | | | | | Change-Id: Ieaca25fa19b578953f88da445e2ecbd4b15f3a98
| | | * Messaging ignores file URIs shared via intentDavid Smith2018-05-251-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Remove usages of ActionBarActivity.Aurimas Liutikas2017-06-061-2/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ActionBarActivity has been deprecated for 2+ years and has been extending AppCompatActivity for all that time. These changes should be no-ops. Bug: 35253513 Test: None Change-Id: I699f327aaa99b26a0a0b562cf425203e4b625c33 (cherry picked from commit 11224977e72b1576cf6fff0c2154361a9d2ded2e)
* | | Migrate Messaging to androidx.Aurimas Liutikas2018-04-0956-94/+94
| | | | | | | | | | | | | | | | | | Test: make messaging Bug: 76692459 Change-Id: I9103450622f129311545648ac75f5b2f9fc2d04a
* | | Remove usages of ActionBarActivity.Aurimas Liutikas2017-05-181-2/+2
|/ / | | | | | | | | | | | | | | | | | | ActionBarActivity has been deprecated for 2+ years and has been extending AppCompatActivity for all that time. These changes should be no-ops. Bug: 35253513 Test: None Change-Id: I699f327aaa99b26a0a0b562cf425203e4b625c33
* | resolve merge conflicts of eafd58a to nyc-devTom Taylor2016-12-071-0/+13
|\| | | | | | | | | | | am: a43c5c5f18 Change-Id: Ibcf2308553a68a8deaa05d15548d3eca67d4579a
| * resolve merge conflicts of eafd58a to nyc-devTom Taylor2016-12-061-0/+13
| |\ | | | | | | | | | Change-Id: I58151ca0c248dd4b84c78c8e7ca73d5a80bbd962
| | * 32161610 Security Vulnerability - Information disclosure vulnerabilityTom Taylor2016-12-051-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in 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. Change-Id: I3393f3b886c837a49758b91945cf1e17ec9bee41 Fixes: 32161610
* | | Show badge icon if any participant in the conversation is work contactTony Mak2016-06-291-2/+1
| | | | | | | | | | | | | | | | | | | | | Precompute is_enterprise and stored the value in conversation table. Include is_enterprise in the ConversationList view. Change-Id: I2e31bd61c08d25a296aaa3e99cb24631ae2e7976
* | | Add badge in conversation view if the participant is a work contactTony Mak2016-06-281-0/+8
|/ / | | | | | | | | | | | | TODO: To handle conversation having more than one participants. Bug: 29065176 Change-Id: I3820454bf2b76c151dc3a13d9be270502029160d
* | Messenger refuses all file:///data/ urisTavis Bohne2016-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-161-2/+7
|\ \
| * | Messaging doesn't allow sharing of its own filesTavis Bohne2016-04-291-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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-162-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | BUG=26021888 BUG=28016344 (cherry picked from commit 6e00763823cd1b27ff88d25d0eb11f8addc3b2e6) Change-Id: If0e2f7b1c58cd064ebfdae8a9b735b391c5009fc
* | | 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-161-8/+43
|/ / | | | | | | | | | | | | | | | | TODO: Update the UI to show enterprise result separately (b/26021888) Bug: 28016344, 25977180 (cherry picked from commit 5c621e57256f5068a43f1456f9bab1194f0d27b2) Change-Id: I7130ae5e057ed750a29f64c5497a04b868613579
* / Messaging app ClassCastException (DecorContext -> Activity) when SMSoIMS is ↵Tom Taylor2016-03-211-2/+1
|/ | | | | | | | initiated Bug 27649619 Change-Id: I1c0de7c14abd255ceb9d61a377db3276c32fede0
* Access incoming audio files after user taps PlayShri Borde2015-08-214-22/+84
| | | | | | | 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
* Initial checkin of AOSP Messaging app.Mike Dodd2015-08-12154-0/+33536
| | | | | | b/23110861 Change-Id: I11db999bd10656801e618f78ab2b2ef74136fff1
* Revert "Initial checkin of AOSP Messaging app."Mike Dodd2015-08-12154-33536/+0
| | | | | | This reverts commit 461a34b466cb4b13dbbc2ec6330b31e217b2ac4e. Change-Id: Iac4ca77eeaa94989e91dead49a7959c905bd3078
* Initial checkin of AOSP Messaging app.Mike Dodd2015-08-12154-0/+33536
b/23110861 Change-Id: I9aa980d7569247d6b2ca78f5dcb4502e1eaadb8a