Commit Graph
674 Commits
Author SHA1 Message Date
Xin Li fdb989c500 DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp@6304901 into stage-aosp-master am: 4c26c52ea3
Change-Id: I09310079f719993fbd02eb011db6ccdd6b3081a5
2020-03-20 18:32:34 +00:00
Xin Li 4c26c52ea3 DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp@6304901 into stage-aosp-master
Bug: 151763422
Change-Id: I85f7f3d115fc1eb76c9f898fcf209a54a0d61e58
2020-03-19 10:10:41 -07:00
Automerger Merge Worker 17adffee66 Messaging: Add "Mark as read" quick action for message notifications am: f19e916a0d am: 959f8423b0
Change-Id: I5305acd2e53800b7a72e44e3f7c3752fb26d4b82
2020-03-17 18:23:45 +00:00
Automerger Merge Worker 959f8423b0 Messaging: Add "Mark as read" quick action for message notifications am: f19e916a0d
Change-Id: I42a2c9569a986169134e446d19727e8e9681bbcb
2020-03-17 18:09:14 +00:00
Paul Keith f19e916a0d Messaging: Add "Mark as read" quick action for message notifications
Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com>
Change-Id: I7194dca022e5062926fa35709de282721ca64320
2020-03-16 15:14:40 +01:00
Automerger Merge Worker b59eeef38b Merge "New interface to pick a contact as attachment" am: 1dc43f0e09 am: 274d9478af
Change-Id: I3d251f9b3c79aa4f352a45aeebc8266681ec59c6
2020-03-09 22:26:46 +00:00
Automerger Merge Worker 8167925f2e Fix WindowLeaked issue on AttachmentPreview am: 1412b40ec6 am: 7ad96ef75f
Change-Id: I4dd902b77806fb489ff2624662c0550c06e898c8
2020-03-09 22:26:29 +00:00
Automerger Merge Worker eb60468a54 Fix undesirable ripple effect on GalleryGridView am: e5c3d281ad am: 6660c49f3a
Change-Id: I256861b111d8744b4c2fdff14fe1f45adb0cc63f
2020-03-09 22:26:10 +00:00
Automerger Merge Worker 274d9478af Merge "New interface to pick a contact as attachment" am: 1dc43f0e09
Change-Id: I7e6c871f5ffd303d318936119774ee7ff96fb1c5
2020-03-09 22:07:51 +00:00
Automerger Merge Worker 7ad96ef75f Fix WindowLeaked issue on AttachmentPreview am: 1412b40ec6
Change-Id: I26ca59f2fb3474a3a8e781e3fee272cc2e5ea290
2020-03-09 22:07:45 +00:00
Automerger Merge Worker 6660c49f3a Fix undesirable ripple effect on GalleryGridView am: e5c3d281ad
Change-Id: Ic896bb1c66abed22ee11ad1725e6acb546d864f2
2020-03-09 22:07:33 +00:00
Treehugger Robot 1dc43f0e09 Merge "New interface to pick a contact as attachment" 2020-03-09 21:44:59 +00:00
Taesu Lee 1412b40ec6 Fix WindowLeaked issue on AttachmentPreview
Stop attaching animation before removal attachment views and hiding the
AttachmentPreview.

Test: Long-press to attach a media from GalleryGridView and uncheck the
      media to detach immediately.

Change-Id: Ia1014609c056c9f35e428f8968b58dc2c1b704f9
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2020-03-06 10:55:44 +00:00
Taesu Lee e5c3d281ad Fix undesirable ripple effect on GalleryGridView
Set focusableInTouchMode = ture for workaround.

Test: Long-press a media and release it on GalleryGridView, check
      whether there is any undesirable ripple effect or not.

Change-Id: I076c47338d11b396210648a68ae393761d334c03
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2020-03-06 19:18:05 +09:00
Taesu Lee 45d1e1d044 New interface to pick a contact as attachment
New ContactMediaChooser allows the user to pick a contact from contacts
apps as attachment.

Test: Manual

Change-Id: Idb00cd8a3164a3cac859947affd5cbcc7e41b8c2
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2020-03-05 18:57:22 +09:00
Automerger Merge Worker 7b96b2f6c2 ProcessPendingMessagesAction works based on subscriptions am: 4e99cc0a02 am: 0fee5a1e35
Change-Id: I8eaac7db46525eb28f66248a8fd58ccb027fd29b
2020-03-03 21:17:22 +00:00
Automerger Merge Worker 0fee5a1e35 ProcessPendingMessagesAction works based on subscriptions am: 4e99cc0a02
Change-Id: Ice20078c998ba8b081843e47c728c7069b394ca4
2020-03-03 21:05:18 +00:00
Taesu Lee 4e99cc0a02 ProcessPendingMessagesAction works based on subscriptions
PorcessPendingMessagesAction queues one message for sending/downloading
associated with a subscription triggering current action at a time. And
the ConnectivityUtil also works based on subscriptions so that pending
messages can be processed regardless of other phones' state in multi-sim
case.

It includes cleanup code as well.

Test: Manual

Change-Id: Id6b4f4a0aa6a3291e7a4d8a5d3f0fbb9db3c5b86
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2020-02-28 18:16:54 +09:00
Automerger Merge Worker 0f67dcbefe Merge "Allow intent shared subject or title to be mms subject" am: 4e84ad49bb am: 6d50e6af61
Change-Id: I780bf4bf5f9dc73937578a4945ec2e285dc42e87
2020-02-24 21:24:45 +00:00
Automerger Merge Worker 6d50e6af61 Merge "Allow intent shared subject or title to be mms subject" am: 4e84ad49bb
Change-Id: Iaecdd6653cda726bab14589df782930e57ef19a6
2020-02-24 21:08:05 +00:00
Treehugger Robot 4e84ad49bb Merge "Allow intent shared subject or title to be mms subject" 2020-02-24 20:54:01 +00:00
Automerger Merge Worker cac9047602 Merge "Update runner to AndroidJUnittest" am: 51262f2a8a am: ac81f92821
Change-Id: I0abd82490ce84253f5a7b81102f4a8c713aac283
2020-02-22 03:03:30 +00:00
Automerger Merge Worker ac81f92821 Merge "Update runner to AndroidJUnittest" am: 51262f2a8a
Change-Id: Ie828d6417fb7966befc8d8d188a3ad8576999a5e
2020-02-22 02:46:16 +00:00
Marco Sirabella c5cb15c9d8 Allow intent shared subject or title to be mms subject
Test: m, manual
Change-Id: Ibb5eba030320467774cdac1d502ec36c98abcb43
2020-02-22 02:41:01 +00:00
Julien Desprez 51262f2a8a Merge "Update runner to AndroidJUnittest" 2020-02-22 02:32:05 +00:00
Julien Desprez fc35b1cb99 Update runner to AndroidJUnittest
There is no reason to use the base class for
instrumentations.

Test: Make
Bug: 150008527
Change-Id: I1e5ec7a4edb8b764deb006e95ca4fd55b9127606
2020-02-21 13:34:25 -08:00
Automerger Merge Worker 7c546bf0f3 Allow acceptable media types only for sharing am: a8b76eafc4 am: 505f307d1b
Change-Id: Ia113b3b912f6a1fe345dda541546e5a203ef0ffe
2020-02-20 00:39:12 +00:00
Automerger Merge Worker b330155fea Support audio attachments through GalleryMediaChooser am: 2716c26c23 am: 3359f4dee2
Change-Id: I3dd27f67c3cba49c84d7e50e579ca62d0121087d
2020-02-20 00:39:10 +00:00
Automerger Merge Worker 505f307d1b Allow acceptable media types only for sharing am: a8b76eafc4
Change-Id: If336f625c4dc344fba9fd39387b915e1fe1e24a4
2020-02-20 00:23:32 +00:00
Automerger Merge Worker 3359f4dee2 Support audio attachments through GalleryMediaChooser am: 2716c26c23
Change-Id: Idcee4195169ec38d22dc6251fcb31a3ebe94491a
2020-02-20 00:23:29 +00:00
Taesu Lee a8b76eafc4 Allow acceptable media types only for sharing
Test: Manual

Change-Id: I20d5f8abf2ba7b7b620aa2a4ec1e0a43091f98c2
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2020-02-20 08:52:53 +09:00
Taesu Lee 2716c26c23 Support audio attachments through GalleryMediaChooser
GalleryMediaChooser supports audio types also. It displays simple audio
icon and file info for audio files on grid views.

Test: Manual

Change-Id: I98b605156af3c1909c0141a2b99380b5da11c1e2
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2020-02-20 08:52:44 +09:00
Automerger Merge Worker ce07c244fd Support video attachments through GalleryMediaChooser am: 6c77158718 am: 98391bc0d1
Change-Id: Ib883cd3e8b798795cb5ce2dbb7fb8a4a96038027
2020-02-19 22:39:34 +00:00
Automerger Merge Worker f0f178efb9 Do not show the fail icon for a group conversation am: a531636ae3 am: a7b17eaad0
Change-Id: I8b1f5e2b0be01983e6318f154a7c091fded126d4
2020-02-19 22:39:32 +00:00
Automerger Merge Worker 9956a2173c Show attachments size during composing MMS am: 519ae7e902 am: 16c1d26f23
Change-Id: Ic28b459d9a60dba2279dfd3df630b83a9ee726d6
2020-02-19 22:37:59 +00:00
Automerger Merge Worker 98391bc0d1 Support video attachments through GalleryMediaChooser am: 6c77158718
Change-Id: I152f496a6438e2dc907f5137a8bc8c747996c4df
2020-02-19 22:24:48 +00:00
Automerger Merge Worker a7b17eaad0 Do not show the fail icon for a group conversation am: a531636ae3
Change-Id: Id117a26b797a246a913ebd02f3525e6d4f0fd980
2020-02-19 22:24:46 +00:00
Automerger Merge Worker 16c1d26f23 Show attachments size during composing MMS am: 519ae7e902
Change-Id: I9657d749f7aa58914d4c8958d57ff9cd0348b742
2020-02-19 22:21:19 +00:00
Taesu Lee 6c77158718 Support video attachments through GalleryMediaChooser
GalleryMediaChooser supports video types and more image types also. And
video thumbnails are overlaid with the play button image to distinguish
between images and videos.

Note:
 1. EXTRA_ALLOW_MULTIPLE is not specified for ACTION_GET_CONTENT.
 2. Files, methods and variables' name are still including "image".
 3. Content descriptions are not updated.

Test: Manual

Change-Id: I961928f150e4ae8ee80a1fba2f20c37fb5426669
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2020-02-19 18:36:32 +09:00
Taesu Lee a531636ae3 Do not show the fail icon for a group conversation
Test: Check an widget

Change-Id: Ie1ea35e0bd36891abf8b476b5409a99fa439a1b6
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2020-02-18 15:53:06 +09:00
Taesu Lee 519ae7e902 Show attachments size during composing MMS
It shows attachments size during composing MMS.
Note: Images could be resized before sending.

Test: Manual

Change-Id: I63eafe0d57259a7742ab839c4d96d595675e70e9
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2020-02-18 15:53:06 +09:00
Taesu Lee 6113906c54 Actual attachments size is the minimum size except images am: c00d290df7 am: f731097e63
Change-Id: Ieedb788409e8ffb3178628cbc815891fc0ca1d29
2020-02-17 23:23:35 +00:00
Taesu Lee f731097e63 Actual attachments size is the minimum size except images am: c00d290df7
Change-Id: I482808786b8a16d529835c4afaf6bc37fc88012a
2020-02-17 23:09:30 +00:00
Taesu Lee c00d290df7 Actual attachments size is the minimum size except images
Only images can be compressed before sending. Actual size got from a
content uri is used for computing the minimum size for others.

Test: Manual

Change-Id: Id8d6ec24f80fe0eae70b6b1686ca7b199c70e313
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2020-02-17 12:08:45 +09:00
tnmy-cyngn f86941b88e Messaging app crashes after a few MMS am: c12077e4fb am: d62d85aafa
Change-Id: I0b7f2f84b5be4f0cd13e16d52b74741f501cba8e
2020-02-14 11:06:44 +00:00
tnmy-cyngn d62d85aafa Messaging app crashes after a few MMS am: c12077e4fb
Change-Id: I844cce1e262f006a12d452e8024363fc13bb5758
2020-02-14 10:48:19 +00:00
Danny Baumann ed22f4c61b Fix menu item highlight color. am: bbda7af9d3 am: ed1e4502bd
Change-Id: I279f68aeabefd96dafb141fe2fcbf6addc5f4e5f
2020-02-14 00:46:18 +00:00
Diogo Ferreira 0e0a2009bf MessageQueue: Process pending messages per subscription am: 91abcc6c8e am: 5bf10fc9aa
Change-Id: Ie5e2f8996747896e098a8a2a2dddc4a87c0b668c
2020-02-14 00:46:14 +00:00
Danny Baumann ed1e4502bd Fix menu item highlight color. am: bbda7af9d3
Change-Id: I49d79c8d712478a0cad7ea07e4fd465a1575ccdf
2020-02-14 00:32:07 +00:00
Diogo Ferreira 5bf10fc9aa MessageQueue: Process pending messages per subscription am: 91abcc6c8e
Change-Id: I0b0e57eed9555a39d5a059d57e8dee794dce219a
2020-02-14 00:32:04 +00:00