Commit Graph
51 Commits
Author SHA1 Message Date
Treehugger Robot d67e1db151 Merge "Fix NoSuchMethodError for getTypeInfo()" am: 919cb6afdd
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Messaging/+/1352082

Change-Id: I3c817f847749649e3540e3827263cc8f7184f2b3
2020-06-29 16:53:27 +00:00
Treehugger Robot 919cb6afdd Merge "Fix NoSuchMethodError for getTypeInfo()" 2020-06-29 16:40:57 +00:00
Taesu Lee f2d9199bfb Fix NoSuchMethodError for getTypeInfo()
Load an icon image for audio files from app resources instead because
ContentResolver#getTypeInfo() is for API level >= 29.
And it includes size-fit ic_photo_library_light images also.

Bug: 159987488
Test: Manual

Change-Id: Ie8f766f148a30e105e598e4b7e6b1b22bccda6ae
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2020-06-29 15:51:07 +09:00
Bill Yi 8e0d3e91f3 Import translations. DO NOT MERGE
BUG:148403740

TEST: m messaging

Merged-In: I4b74a267c0ed7cffe04d97ca465f2aa90ae1847a
Change-Id: Ie6f26f2a9e207adeee475e347f17dd8e0da78d9b
Auto-generated-cl: translation import
(cherry picked from commit 3bd7b79daa)
2020-06-28 18:51:48 +00:00
Treehugger Robot 6e1c1395cb Merge "Disallow making a call to emergency numbers" am: ab856cb957
Change-Id: Ic46575c128f0c2916296d5a31ef81561d5ed8aa1
2020-05-25 21:05:29 +00:00
Taesu Lee 9a0a21e836 Disallow making a call to emergency numbers
Show an error toast instead since ACTION_CALL intent cannot be used to
call emergency numbers.

Test: Make a call to an emergency number.

Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
Change-Id: Ia42c588848b643def068dec1d73e2e917a4b8214
2020-05-25 17:52:44 +09:00
Raman Tenneti c67142cead Revert "Messaging: Add "Mark as read" quick action for message notifications" am: eb1e0417eb
Change-Id: I631710ec3c472378ada25902c2c194dbf344fb24
2020-05-20 23:50:53 +00:00
Raman Tenneti eb1e0417eb Revert "Messaging: Add "Mark as read" quick action for message notifications"
This reverts commit f19e916a0d.

Reason for revert: Reverting per Taesu Lee's comments, because it doesn't work and has issues.

Change-Id: I778362b628f4c3ae076dd943e77dee415984fba0
2020-05-20 19:47:44 +00:00
Taesu Lee 9af5c7183b Fix to show APN prefs correctly am: 14853cb490
Change-Id: Ife9a0aa4272d91766b146d241fec43184e59862f
2020-05-05 02:14:51 +00:00
Taesu Lee 14853cb490 Fix to show APN prefs correctly
Test: Settings -> Advanced -> Access Point Names

Change-Id: Ia3ad443ac056a877abd6cd258c2219d8ee6ff181
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2020-05-04 18:48:30 +09: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
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 eb60468a54 Fix undesirable ripple effect on GalleryGridView am: e5c3d281ad am: 6660c49f3a
Change-Id: I256861b111d8744b4c2fdff14fe1f45adb0cc63f
2020-03-09 22:26:10 +00:00
Treehugger Robot 1dc43f0e09 Merge "New interface to pick a contact as attachment" 2020-03-09 21:44:59 +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 b330155fea Support audio attachments through GalleryMediaChooser am: 2716c26c23 am: 3359f4dee2
Change-Id: I3dd27f67c3cba49c84d7e50e579ca62d0121087d
2020-02-20 00:39:10 +00: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 9956a2173c Show attachments size during composing MMS am: 519ae7e902 am: 16c1d26f23
Change-Id: Ic28b459d9a60dba2279dfd3df630b83a9ee726d6
2020-02-19 22:37:59 +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 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
Danny Baumann ed22f4c61b Fix menu item highlight color. am: bbda7af9d3 am: ed1e4502bd
Change-Id: I279f68aeabefd96dafb141fe2fcbf6addc5f4e5f
2020-02-14 00:46:18 +00:00
Danny Baumann bbda7af9d3 Fix menu item highlight color.
Test: m
Change-Id: Ia5852a4de95ff355c6f2cd8275002d3c5cfb8370
2020-02-12 20:34:20 +01:00
Automerger Merge Worker ea8f30e05a Merge "Fix to show PersonItemView for TYPE_CHOOSER_GRID correctly" am: ce85205894 am: 65303c05f0
Change-Id: I4b149bd4874a369aeb86b51c7e1355926663f1f5
2020-02-11 23:03:14 +00:00
Automerger Merge Worker 1e05ee55d5 Merge "Fix wrong margin on widget conversation view" am: c91db32cf3 am: a32b5a65c2
Change-Id: Ie6b50ceebe4dcbe06e1a85b27860c632a0a01fc8
2020-02-11 22:36:58 +00:00
Automerger Merge Worker 5a2bb9d0ad Fix covering issue for video thumbnails on widget view am: 5e81c84ee9 am: bce317fabf
Change-Id: I978ec63eec50af170e5a5066d1ed91679692d63b
2020-02-11 22:36:53 +00:00
Treehugger Robot ce85205894 Merge "Fix to show PersonItemView for TYPE_CHOOSER_GRID correctly" 2020-02-11 22:31:28 +00:00
Treehugger Robot c91db32cf3 Merge "Fix wrong margin on widget conversation view" 2020-02-11 22:14:56 +00:00
Taesu Lee 1de47c7705 Fix to show PersonItemView for TYPE_CHOOSER_GRID correctly
Use match_parent instead.

Test: Check grid views for a vcard on AttachmentChooserFragment.

Change-Id: I60acc77d9c0cd9608187d86f71fc4d2c7e78afb7
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2020-02-11 15:03:12 +09:00
Taesu Lee 5e81c84ee9 Fix covering issue for video thumbnails on widget view
Use ic_video_play_light.png having background transparent to show the
video thumbnails correctly.

Test: Check a widget for conversations including a video attachment.

Change-Id: I1333a3be41e53ce7e8ad1a64849e726c73cda153
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2020-02-11 15:02:30 +09:00
Taesu Lee f3ae4c19fb Fix wrong margin on widget conversation view
Change layout_marginTop as -2dp to enclose message_list between top_line
and bottom_line.

Test: Check a widget for conversations.

Change-Id: I097303134e8ea079de39ac18746a51e1937b92c3
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2020-02-11 15:02:12 +09:00
Bill Yi 3bd7b79daa Import translations. DO NOT MERGE
BUG:148403740

TEST: m messaging

Change-Id: I4b74a267c0ed7cffe04d97ca465f2aa90ae1847a
Auto-generated-cl: translation import
2020-01-27 16:55:48 -08:00
Taesu Lee 2b7516e5a0 Fix FATAL EXCEPTION on SmsStorageLowWarningActivity
Added new "Translucent" style for SmsStorageLowWarningActivity instead.

Test: am start com.android.messaging/.ui.SmsStorageLowWarningActivity

Change-Id: Ie8b0df64ac046343c93ca8b4ffa93c5e49cc73ad
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2019-08-13 16:40:16 +09:00
Raman Tenneti a7a1d07ce1 AOSP/Messaging - Fix many improperly formatted resource strings in Messaging.
TODO: Need to run translation to fix across all languages.

Bug: 135617299
Test: manual - Did a "make -j40" and verified that there are no warnings in strings.xml.
Change-Id: I3f993fcea42c041d609e0f714cf3b0a2a6383816
2019-07-08 19:16:28 +00:00
Michael Bestas a6accb4a53 Messaging: Fix generating id in android namespace
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
2019-03-03 16:23:45 +02:00
Aurimas Liutikas 1b693ea7df Migrate Messaging to androidx.
Test: make messaging
Bug: 76692459
Change-Id: I9103450622f129311545648ac75f5b2f9fc2d04a
Merged-In: I9103450622f129311545648ac75f5b2f9fc2d04a
2019-02-14 22:59:57 +00:00
Roozbeh Pournader 65d0bead73 Rename language+country resources to just language
Bug: 26496609
Test: none
Change-Id: I78092318110a6916e07a5213e3584bf04ddd954c
2017-01-10 20:57:09 -08:00
Vineeta Srivastava 1156cd7408 Bell: enable WPAS
Bell is going to turn on cmas in near future.

Bug: 31316405
Change-Id: Ibf14cf645db5ed0aa3007a91f4c3a28bb1148382
2016-10-24 15:59:07 -07:00
Tony Mak 7ad7ac27f1 Show badge icon if any participant in the conversation is work contact
Precompute is_enterprise and stored the value in conversation table.
Include is_enterprise in the ConversationList view.

Change-Id: I2e31bd61c08d25a296aaa3e99cb24631ae2e7976
2016-06-29 10:58:33 +01:00
Tony Mak dec1aca348 Set the background of linearlayout to be transparent
Change-Id: Iffe33b61ec8d5caca6007c39be02bdaa2f1cb028
2016-06-28 15:48:59 +01:00
Tony Mak 2a50ffe57c Add badge in conversation view if the participant is a work contact
TODO: To handle conversation having more than one participants.

Bug: 29065176
Change-Id: I3820454bf2b76c151dc3a13d9be270502029160d
2016-06-28 15:44:27 +01:00
Tony Mak c4073ff4ce Add badge icon for work contact in search result
BUG=26021888
BUG=28016344
(cherry picked from commit 6e00763823cd1b27ff88d25d0eb11f8addc3b2e6)

Change-Id: If0e2f7b1c58cd064ebfdae8a9b735b391c5009fc
2016-05-16 16:35:06 +01:00
Tony Mak 9045160771 Separate work and personal contacts search result
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
2016-05-16 16:34:43 +01:00
Ye Wen 372e48607e Change "Touch" to "Tap"
b/26749422

Change-Id: I2ca48f7534bf18344a4e6d85470543d23b3dfa5c
2016-01-29 14:39:34 -08:00
Ye Wen 1bc276100f Theme colored ic_preview_pause and ic_preview_play icons
b/23071029

Change-Id: I3cdd249a7e86fc351ee12620b2d3062eee91af57
2015-09-01 15:29:16 -07:00
Shri Borde fd80890f7f Bug 23071029: Assets with the right color
Change-Id: Ia20f275257ffb199910c08f8b5fba22339f8f8cf
2015-08-21 12:58:50 -07:00
Mike Dodd d3b009ae55 Initial checkin of AOSP Messaging app.
b/23110861

Change-Id: I11db999bd10656801e618f78ab2b2ef74136fff1
2015-08-12 12:47:26 -07:00
Mike Dodd ef8c7abbcf Revert "Initial checkin of AOSP Messaging app."
This reverts commit 461a34b466.

Change-Id: Iac4ca77eeaa94989e91dead49a7959c905bd3078
2015-08-12 18:48:39 +00:00