Commit Graph

116 Commits

Author SHA1 Message Date
Michael W
e5eb059fbd Messaging: Rename in german
Messaging is not translated "SMS/MMS", use the proper word "Nachrichten"

Change-Id: I7b5a42598e4eca1162a806d9634fa7cb793f62da
2024-12-26 15:54:37 +01:00
Michael W
590243f8a8 Messaging: ContactMediaChooser: Remove permission requesting
We never reach this state when we remove the permission, so it makes
no sense to have code for it

Change-Id: I97f2f5d438148234ea1887462ab65735721da2f8
2024-12-26 15:54:37 +01:00
Michael W
7f464b401c Messaging: Replace own camera handling with pickers
We do not need to handle camera on our own - there are apps out there
that are made for that!

Change-Id: Ifeb70e46b17bff5eb8d85c8775589efac4f2c284
2024-12-26 15:54:37 +01:00
Michael W
e335f6bec8 Messaging: Use ActivityResultContracts for media and contacts
Instead of handling showing and picking the media ourselves,
use existing AcitivityResultContracts to pick images, videos
or contacts

Change-Id: I20079ad94882cc6bbfeae8d57ca0e4aa30612c01
2024-12-26 15:54:37 +01:00
Michael W
d4ac014a74 Messaging: Use an extended FAB
With proper color scheme and "Start chat" text

Change-Id: I320b169b2bec354db7b0ebc3e81149aaf575092f
2024-12-26 15:54:37 +01:00
Pranav Vashi
056cf5f79e Messaging: Fix navigation bar theming
Change-Id: I6a346063eb4420738561bd0ffe44cd5629f9f59f
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-12-26 15:54:37 +01:00
Michael W
e29b158fba Messaging: Remove unused code
Change-Id: I8093bb3e305ae323f7069bf42f9e83f8c8647cc7
2024-12-26 15:54:37 +01:00
Michael W
2a09fa3cb9 Messaging: Fix indicated issues in layouts
Follow AS recommendations

Change-Id: I7a5241651ccd3fd5ea5efce44db848e3bc3a1c12
2024-12-26 15:54:37 +01:00
Michael W
5ed268cee1 Messaging: Style the SwitchPreferences
Use the newer style of A15

Change-Id: I75a0e54f70f837d21d3aaa746f2e0ec7af226eda
2024-12-26 15:54:35 +01:00
Michael W
a2f67b4f7b Messaging: Remove GServices
We don't have an actual implementation returning anything but the
defaults, so apply the defaults directly anywhere we need them

Change-Id: Ic651b4b13977799f2f4d2c702c430798fbff77f8
2024-12-26 14:55:12 +01:00
Michael W
7f22a3eea7 Messaging: Remove low storage handling
* SMS are the least of your storage issues, if you reach the limit
* Both Intent.ACTION_DEVICE_STORAGE_LOW and
  Intent.ACTION_DEVICE_STORAGE_LOW are not delivered to apps after O
* Remove all now unused strings from all languages - we don't sync those
  with crowdin (yet)

Change-Id: If01f937acdafbb34d5a9e792db54de4761ec4cc5
2024-12-26 14:55:12 +01:00
Michael W
101b31e873 Messaging: Remove unused resources
Change-Id: I2155df1ee077be150ca5140dd225409b019506a4
2024-12-26 14:55:12 +01:00
Michael W
d869533f6f Messaging: Use xml drawables
Replace the pngs with xml drawables

Change-Id: I71be32c36194d3b34b54287a09789f73087600ef
2024-12-26 14:55:12 +01:00
Michael W
4ecf5bc70a Messaging: Fix wrong icons
Somehow these two archive icons were actually download and forward icons

Change-Id: I61e644005067caae1f2a0661cd07e93692fdb58d
2024-12-26 14:55:12 +01:00
Michael W
7c55a6d56a Messaging: Remove compatibility for old android versions
Change-Id: Id9065d60525a509271a0e64c0e349e857cb998e2
2024-12-26 14:55:12 +01:00
Michael W
9bbc7a8f99 Messaging: Fix file permissions
No need to be executable

Change-Id: I71d4c03eed558a15489f71fa9ac69d42bdcef474
2024-12-26 14:55:12 +01:00
Michael W
009df43b06 Messaging: Remove cell broadcasts
* Packagemanager doesn't tell us about its' availability anymore
* It's accessible from notification settings, no need for the app to
  be able to launch them

Change-Id: I10b7742917f8639c94b0187f158cc30156f90e92
2024-12-26 14:55:12 +01:00
Michael W
6a10100821 Messaging: Properly style dialogs
Forwarding messages
Before: Dialog is white and rectangular
After: Dialog is rounded and dark theme has dark background

Settings->Advanced->My phone number
Before: Dialog is white and rectangular
After: Dialog is rounded and dark theme has dark background

Change-Id: I719b15cbe062899b4f5eaccd599eaf45e89dfd3d
2024-12-26 14:55:12 +01:00
Michael W
f3863c9a39 Messaging: Remove tests
Nobody runs them anyway

Change-Id: I2b07847509269af31430abc6cb0fb190f08d45f9
2024-12-26 14:55:00 +01:00
minarypenguin
5ce3a1b2db Messaging: Fix activity bar menu icons tint
Change-Id: Ife5af067eb39a3a75e67fd0d7241f4b2e13e23a6
2024-12-22 17:04:27 +01:00
Michael Bestas
eace932850 Messaging: Remove navigation bar divider
Change-Id: I4194546dd26498cea1859bdda62f4297078fe7bb
2024-12-22 17:04:27 +01:00
DarkJoker360
6e71ff0015 Messaging: Use light icons on conversations select menu
Change-Id: I48fa0e707494bf393a2c671dbca7a3a53af2411a
2024-12-22 17:04:27 +01:00
LineageOS Infra
0895e556a0 Automatic translation import
Change-Id: I1b6e7f31c6505430b6d2487cfaecab1194318b8d
2024-12-16 06:30:06 +00:00
LineageOS Infra
23527d71dd Automatic translation import
Change-Id: Ie0783ccfff42ca31fe8410838ad81c7c39cc8266
2024-11-16 06:48:15 +00:00
LineageOS Infra
2663c4e772 Automatic translation import
Change-Id: Iddf33bd588de30c83b7ee8c6b64129099d1132da
2024-10-31 17:49:38 +00: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
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
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
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
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
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
Scott Dunn
d755ff51da Correct APNs for Carolina West Wireless
Change-Id: I124d7914536acbdc1454ddfaf8f0051342dd5d28
2022-03-11 01:58:12 +00:00
Timi Rautamäki
e0fd216324 Messaging: remove unused drawables
Test: m
Change-Id: Ia744e9a9696fa2df94dac80e2839db8f2bb785c4
2022-02-17 13:20:50 +00:00
Yusuke
c1275efbfd Signed-off-by: Yusuke <yusuke.furuya@rakuten.com>
Add: MMS config file for Rakuten Mobile MNO

Added MMS config file for Rakuten Mobile MNO to define maxMessageSize, maxImageHeight and maxImageWidth.

Bug: 180193973
Bug: 180247421
Test: no testing
Change-Id: I93519f549220a4c200dfaa06a24bf9d5ae211e29
2021-03-04 23:07:20 +00:00
Xin Li
dd810e2520 Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
Bug: 166295507
Merged-In: Ie84f1ff41433b8d07cf1306723e772dd598b3ccf
Change-Id: Ia11f7837439c1b4f12ba51e676952659a5fb542f
2020-08-27 10:16:52 -07:00
Raman Tenneti
8fe5feae57 AOSP/Messaging - Update language to comply with Android's inclusive language guidance. am: 4b52654e98
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Messaging/+/1378899

Change-Id: Ic5eb962d272432725f634d485742e025a15b8011
2020-07-30 01:26:06 +00:00
Raman Tenneti
4b52654e98 AOSP/Messaging - Update language to comply with Android's inclusive language guidance.
See https://source.android.com/setup/contribute/respectful-code for reference

BUG=161896447

Test: make and make messagingtests
Change-Id: I01c520f1d5e9eab8dbb25b08d133ae34bd301093
2020-07-29 16:43:46 -07:00
Treehugger Robot
55aa308fcb Merge "Fix NoSuchMethodError for getTypeInfo()" am: 919cb6afdd am: d67e1db151
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Messaging/+/1352082

Change-Id: I323966094ad9d4c62f0a744de762dfb25d4c7c09
2020-06-29 17:02:59 +00:00
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