Commit Graph

1337 Commits

Author SHA1 Message Date
Ido Ben-Hur
d8a0bf022d Messaging: FrameSequence -> ImageDecoder
fixes playing / displaying gifs
replaces old deprecated FrameSequence & FrameSequenceDrawable libs

Change-Id: Id65fff90bdd09af86480636a8a0e404aeb39580f
2024-09-16 02:25:12 +03:00
Michael W
b11039ed8c Messaging: Allow deletion of messages without a sim inserted
* Currently there is a check in place checking for the presence of a
  preferred sim card
* For deletion of a conversation and message this is unnecessary and
  deleting a conversation from the main view does also not have that check
  already, so replace the check with just checking for being the default
  messaging app

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/5974
Test: Try deleting a single message or conversation from within
 conversation before and after
Change-Id: Icd47882eb29e16a17ad57a79ea5e0c0f7855ffc6
2024-09-09 05:47:00 +03:00
Michael W
37b7f1a539 Messaging: All contacts: Remove space for sections
* Due to the sections not working anymore since we removed the duplicate
  numbers, we are left with a rather large empty space left of the
  contacts
* Disable sectioning to make it look properly again

Change-Id: Iff1849b80d70269933708e5440809c657f0d70d9
2024-09-09 05:47:00 +03:00
nift4
46ee5ce5e0 Messaging: fix crash
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.messaging/com.android.messaging.ui.SmsStorageLowWarningActivity}: java.lang.IllegalStateException: Fragment com.android.messaging.ui.SmsStorageLowWarningFragment$ChooseActionDialogFragment must be a public static class to be  properly recreated from instance state.

Change-Id: I78d46a6f74383a4b865759bc980240f6f73ff20d
2024-09-09 05:47:00 +03:00
nift4
77203378cc Messaging: Add notification channels where missing
Change-Id: I1cb3177704542fc48c42dc18a9e1f4d3118d4193
2024-09-09 05:46:59 +03:00
Tommy Webb
5784795fe2 Fix crash on forwarding messages
onAttachFragment in ForwardMessageActivity does not necessarily have
to be provided with a ConversationListFragment, so there is no need to
assert this. Just move along, as is done in VCardDetailActivity, etc.

Change-Id: I41825c9c118d71d447b820d29f60fb10ef2d5fdf
2024-09-09 05:46:59 +03:00
Michael W
5da4861969 Messaging: Fix input text box background on light mode
* Commit 5628e20 introduced different colors for light and dark
  mode but unfortunately chose a too light color so it was equal
  to the background
* Go back to white on light theme, as prior to the mentioned patch

Change-Id: I4ff27b792374cffcfeaeb0b018553aed7a93eef9
2024-09-09 05:46:59 +03:00
Georg Veichtlbauer
8b52a4662e Messaging: Set input text box background
Fixes the background in dark mode. Also modify the color for light
mode to be a very light shade of the neutral color.

Change-Id: I8a420405dcc478f5d50bf9b1d4739a58f8cd976a
2024-09-09 05:46:59 +03:00
Timi Rautamäki
72bf6ce95d Messaging: Use Material You colors
Co-authored-by: Golbinex <2061409-Golbinex@users.noreply.gitlab.com>
Co-authored-by: Semavi Ulusoy <doc.divxm@gmail.com>
Co-authored-by: minarypenguin <alexfinhart@gmail.com>
Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: Ib3c4b7f17cc48516dafb641fdb03e27135e4d3e8
2024-09-09 05:46:59 +03:00
Timi Rautamäki
14f271ca78 Messaging: Update checkmark PNG drawable with XML drawable
Co-authored-by: Asher Simonds <dayanhammer@gmail.com>
Change-Id: Ibb58bad95d347542b3bac9bf7b88d7b5595cbda6
2024-09-09 05:46:59 +03:00
Michael W
09e4b197ff Messages: Only youuuuu...
* Removing the arrow from the message bubbles and adding a little
  rounding to them and the input bar already does a lot in
  modernizing the look of the app

Change-Id: Ia6466968553856fdf2ea15c10cfed79402e36a5d
2024-09-09 05:46:59 +03:00
Michael W
c416c287eb Messaging: Don't show numbers of contacts multiple times
* Somehow there are multiple entries per some numbers, sometimes stored
  with, sometimes without spaces and/or invisible characters
* This leads to the same number being shown multiple times
* Don't add those entries by comparing number and type of all
  already added entries with the staging one

Change-Id: Ic815393d3d4f4ba56107f42c9d8940309564554c
2024-09-09 05:46:59 +03:00
Han Wang
1970f9ea99 Messaging: Show quick reply choices only on wearable devices
Change-Id: I4b81643c051a9b1377f2046c1aa0515c590736fc
2024-09-09 05:46:58 +03:00
Timi Rautamäki
76219e63bf Messaging: restore AOSP colors for selected messages
* This is to have text-select handles differ from background color.

Change-Id: Ia3c1dcf8d2073db3157f17f08b60df6cc6fe1c51
2024-09-09 05:46:58 +03:00
Michael Bestas
6ed3b8e37f Messaging: Remove unused resources
These have been removed in the notification channel commit

Change-Id: Iacb73880f54eb6011f20669759c38d7284e0a814
2024-09-09 05:46:58 +03:00
z3DD3r
e51017a0f2 Messaging: Update cellbroadcast package name
As part of mainline effort, AOSP cellbroadcast package name was changed
from com.android.cellbroadcast to com.android.cellbroadcast.module

Change-Id: Ie1f27abb0f645dd53c26d164b03c5e93c3c13cdc
2024-09-09 05:46:58 +03:00
Blaise
a4cbbd9039 Messaging: Contact Colors
Adds the option to use individual colors for contacts.
Matches the colors used in Contacts.

Change-Id: I9f222308a900c5d47ec16f83232bd7f6d9af6cd7
2024-09-09 05:46:58 +03:00
Scott Warner
657e0460fe Messaging: Use a DayNight launch theme
This prevents the white launch screen from appearing when the system theme
is dark

Change-Id: I861f9e5a58b4bb52385c75459fc4de73532d15a8
2024-09-09 05:46:58 +03:00
Jesse Chan
2970e7d0be Messaging: disable auto dark theming on message bubble
Change-Id: I7f90b5642712d222df4ad1b1e0143a61e76b90ca
Signed-off-by: Jesse Chan <jc@lineageos.org>
2024-09-09 05:46:58 +03:00
Jesse Chan
2088686b47 Messaging: allow framework to do dark theming automatically
Change-Id: Ia213448239b279b9b4bd753e32b01956f0f9691f
2024-09-09 05:46:58 +03:00
Han Wang
c1423b83b8 Messaging: Require external legacy storage
Since the recent API bump, when trying to attach images
from the built-in picker, all images are shown blank due
to an EACCES permission error.

Change-Id: I0a7c581300879a43f251b2e6279a1c9c11ca79eb
2024-09-09 05:46:57 +03:00
Jesse Chan
7066788d58 Messaging: bump target SDK version to 29
Change-Id: I2067146755ddc73c0ac31cf2096d17adbd98d071
2024-09-09 05:46:57 +03:00
Michael Bestas
d27b7ca8bd Messaging: Add sysconfig allowlist xml
Change-Id: I2665ac3be3bb63daeaa0e5c109b73ca6152b95ce
2024-09-09 05:46:57 +03:00
Michael Bestas
f858d3e492 Messaging: Notification channel string fixes
* Convert AOSP translations for renamed string
* Move new string so we can translate it

Change-Id: I4da7137e77f8a88196c94b2b98107ead1efabd65
2024-09-09 05:46:56 +03:00
Luca Stefani
4246987beb Messaging: Implement per conversation channels. Update API level to 28.
* Get rid of in-app settings for notifications, replaced by channels features
* Remove all the notification plumbing and dead code

Test: m, manual

Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com>
Signed-off-by: Joey <joey@lineageos.org>
Signed-off-by: Danny Baumann <dannybaumann@web.de>
Signed-off-by: Arne Coucheron <arco68@gmail.com>
Signed-off-by: Lyubo <lyubodzhamov@gmail.com>
Change-Id: Idb39ca32751d40b3376934775d2119dd6cc7e297
2024-09-09 05:46:38 +03:00
Luca Stefani
2fa1f81707 Don't build with platform certificate
Change-Id: Iec6798c9139ab62e054efbf714aa07d154f93852
2024-09-09 05:46:38 +03:00
Joey
0b435321f0 Messaging: use white nav bar
Change-Id: I0ac3ca705efe208a76eb4fe40f22e7cd8456515a
Signed-off-by: Joey <joey@lineageos.org>
2024-09-09 05:46:37 +03:00
Ankit Gupta
1967aa9fc8 MediaPicker: Check for NPE
make sure view has been created before asking for
its visibility.

Change-Id: I0f0c36f8edf83c518bf07ef05399eda5d6b0f78a
Issue-id: FEIJ-1135
2024-09-09 05:46:37 +03:00
Arun Valiaparambil
4b218d1561 Play an audible notification on receiving a class zero message.
Changes ported from http://review.cyanogenmod.org/#/c/125457/

PAELLA-123

Change-Id: I1289790d32a3b69bf7892025bac5fa3bd74eeefc
2024-09-09 05:46:37 +03:00
jrizzoli
5492b1aa0f Messaging: bring back accent color
Change-Id: I217da3339dcfbe87388b5ee06b156e37c205df4f

Messaging: make some more elements use accent instead of primary

Change-Id: I5fb55c50b049effc7ffed8d30208dcffb8182c42
Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>

Change-Id: I217da3339dcfbe87388b5ee06b156e37c205df4f
2024-09-09 05:46:36 +03:00
Adnan Begovic
086bb5c3f5 Messaging: Implement option for swipe right to delete.
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
2024-09-09 05:45:11 +03:00
Asher Simonds
950286f001 Messaging: Bring in the new icon
* Part of the new iconset made by Asher Simonds

Co-authored-by: Michael W <baddaemon87@gmail.com>
Change-Id: I26a01d171ee78dd50b6a2c0d3efc3249f731a747
2024-09-09 05:45:11 +03:00
Joey
0ced42c0f1 Messaging: define app category
Change-Id: I045f394cd2dfa9018cb5d9463c35371bc8814690
Signed-off-by: Joey <joey@lineageos.org>
2024-09-09 05:45:11 +03:00
Android Build Coastguard Worker
b12ae5b15b Snap for 11828632 from da757e89e7 to 24Q3-release
Change-Id: I7cbab67181c07c125fccff69cbdd0fc5ab383618
2024-05-11 01:21:05 +00:00
Xin Li
da757e89e7 [automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: 66fe5627e6 -s ours
am skip reason: Merged-In I102674aa519cf562aa8d0b852ebb8067748894a6 with SHA-1 c6b06859a3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Messaging/+/27273844

Change-Id: I6a1c0c5ec8d62cd88132156494ed592e2e113ab6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-10 05:27:40 +00:00
Xin Li
66fe5627e6 Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I102674aa519cf562aa8d0b852ebb8067748894a6
Change-Id: I7d4c5e5a30eb6b63834adfaee83d44c8836c66f4
2024-05-06 12:09:30 -07:00
Android Build Coastguard Worker
130a88432d Snap for 11746631 from 52c6106377 to 24Q3-release
Change-Id: I75a01d66588048e70c02030c562ffbc7a879d383
2024-04-22 23:21:21 +00:00
Treehugger Robot
52c6106377 Merge "Migrate Test Targets to New Android Ownership Model" into main am: c223d1c8ca am: addf459dda
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Messaging/+/2946536

Change-Id: I502b090f39ed8a086a7d70c34f7e9678d5642a9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-22 18:02:07 +00:00
Treehugger Robot
addf459dda Merge "Migrate Test Targets to New Android Ownership Model" into main am: c223d1c8ca
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Messaging/+/2946536

Change-Id: Iba073a7b6e202e9b53998bc00984e20df2ac44e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-22 17:39:38 +00:00
Treehugger Robot
c223d1c8ca Merge "Migrate Test Targets to New Android Ownership Model" into main 2024-04-22 17:03:46 +00:00
Android Build Coastguard Worker
6a23432fe6 Snap for 11728787 from 6116e9927c to 24Q3-release
Change-Id: Ic0c51d1f3f20c753f9965e7b2f86a7305fc57c16
2024-04-17 23:22:24 +00:00
Cole Faust
6116e9927c Remove unused makefiles am: 2e59ddc8b1 am: 599ccf6a5d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Messaging/+/3037740

Change-Id: Ifa4f9f1bacdad3fe1232f975a6e8f3f4e13878d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 17:55:40 +00:00
Cole Faust
599ccf6a5d Remove unused makefiles am: 2e59ddc8b1
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Messaging/+/3037740

Change-Id: I62ec4b8ebd29ad38537ed6dcdfb784ece9625804
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 17:34:26 +00:00
Cole Faust
2e59ddc8b1 Remove unused makefiles
These appear to not be used, especially since messaging was converted
to soong in aosp/2018480

Test: Presubmits
Change-Id: Ida5b810f1b5e2d1f512b14901b2e1a3ec4c02281
2024-04-12 10:39:41 -07:00
Android Build Coastguard Worker
543deb0f6b Snap for 11545716 from b27f3f6520 to 24Q3-release
Change-Id: I8f09c35e47c6f3a7e0ede43fb6adc97ee87e18e7
2024-03-08 00:21:01 +00:00
Xin Li
b27f3f6520 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: a268d72062 -s ours am: 50ca63eef5 -s ours
am skip reason: Merged-In I3a7b6043fc086e561ff08cfe2aa62b63d7111725 with SHA-1 39d9a7cff7 is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Messaging/+/2989100

Change-Id: I8a0710835664cfe17976f1db49acd68f84c786f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:46:34 +00:00
Xin Li
50ca63eef5 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: a268d72062 -s ours
am skip reason: Merged-In I3a7b6043fc086e561ff08cfe2aa62b63d7111725 with SHA-1 39d9a7cff7 is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Messaging/+/2989100

Change-Id: I5da36e55150f5b797e25dfc8b061e0083fcac675
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:55:09 +00:00
Xin Li
a268d72062 Merge Android 14 QPR2 to AOSP main
Bug: 319669529
Merged-In: I3a7b6043fc086e561ff08cfe2aa62b63d7111725
Change-Id: Ie3b6eef7da0cfdc72cc9d8fe38b5496bb4fe5a61
2024-03-06 09:30:05 -08:00
Android Build Coastguard Worker
087c0be027 Snap for 11463929 from a3e17333ad to 24Q3-release
Change-Id: I42b69577dd9e51ea59ca22aa9cc33b7d151b796b
2024-02-17 02:21:32 +00:00
Ram Peri
a3e17333ad Merge "Update the imports to androidx.test.filters.*" into main 2024-02-16 18:12:53 +00:00