Commit Graph
128 Commits
Author SHA1 Message Date
LineageOS Infra 94c0b8734b Automatic translation import
Change-Id: Ic10cf8ae6574bba350e8d12b0e217501e81cdc14
2025-03-01 17:50:25 +00:00
LineageOS Infra ff479f4ca4 Automatic translation import
Change-Id: Iee2fccd125915894e7891247a681042d9c7556b2
2025-02-15 15:47:26 +00:00
LineageOS Infra ee1c105fc1 Automatic translation import
Change-Id: Ie67d6cb6fda6a1c232a8bbd30cf58e25697e01db
2025-02-01 14:28:41 +00:00
Michael W 3b720fb586 Messaging: Move "Start chat" string to cm_strings.xml
* We don't have strings.xml in the translation pipe yet so move it to
  our own strings instead
* Add an explainer comment as well

Change-Id: I392837e194c7c5d5b4b44d5cbba2ef2f521857ed
2025-01-20 21:56:38 +01:00
LineageOS Infra c3f90af163 Automatic translation import
Change-Id: Iae84ceffae7e3b10f58ad14dc7d2730783fd8bb3
2025-01-15 20:54:54 +00:00
Michael W 7f639e3652 Messaging: Use MaterialComponents everywhere instead of AppCompat
* This is the proper thing to do
* Also fixes crash when forwarding a message

Change-Id: Ib3f34477cc9b76b1979f9e6f2f39e0f9222c16ee
2025-01-01 13:12:32 +01:00
Michael W 6cdd458b69 Messaging: Tint recipient field properly
We need to tint the underline ourselves, reyling on forceDarkAllowed
does nothing here

Change-Id: I2c390a76df5aef6e16512295521d073dbe25d5fc
2024-12-26 17:43:06 +01:00
Michael W 8ae38097b0 Messaging: Style ViewPagerTabStrip's underline properly
White will be black on dark theme -> we want white there as well

Change-Id: I7ca3b3b39ea6acc1069878bb2df98ccb269fb7dc
2024-12-26 17:31:30 +01:00
Michael W bbf90339d2 Messaging: Style the subject line properly
It needs it's own dark-theme color and a bigger border radius

Change-Id: I4f8e3dfec07653332106b8535c7431402833f159
2024-12-26 15:54:38 +01:00
Michael W e11745afd4 Messaging: Style the attachment choosers properly
On light background they stand out lighter, but on dark they just blend
in - we can reuse the attachment background to fix that!

Change-Id: I0e0f09d0cd305ce1bc8aa07c3a20b79993d40e60
2024-12-26 15:54:38 +01:00
Michael W 3788b9d318 Messaging: Style the attachments properly
* With dark theme, they suddenly don't stand out from the background
  anymore
* Give them more rounding but not as much as the chat bubbles

Change-Id: I32c1036bda348e0c58e1cb37edbe9c7fc72309e7
2024-12-26 15:54:37 +01:00
Michael W 6e9a803f1c Messaging: Handle default SMS app setting properly
* We don't need two settings basically doing the same
* Handling the change needs to happen via RoleIntent, not
  ACTION_CHANGE_DEFAULT
* Our own name sometimes can't be retrieved from package manager (?) -
  just use it from strings

Change-Id: I28abc52329f00b33a316533f12a54a517cba3514
2024-12-26 15:54:37 +01:00
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
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äkiandAsher Simonds 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