Commit Graph
1471 Commits
Author SHA1 Message Date
Michael Bestas b57c41709d Merge tag 'android-16.0.0_r1' into lineage-23.0
Android 16.0.0 release 1

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCaEhhFAAKCRDorT+BmrEO
# eLOdAKCHPJhTvoM0MAV2zS8sTjDG0Y4hwQCfckYdgli0zMEeKt+oxUJzQ0ORmNA=
# =f32s
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Jun 10 19:45:08 2025 EEST
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Christoffer Adamsen (2) and others
# Via Automerger Merge Worker (15) and others
* tag 'android-16.0.0_r1':
  [owners] Remove rtenneti@google.com from OWNERS
  packages/apps/Messaging: remove deprecated Mockito usages
  Do not keep runtime invisible annotations in proguard.flags
  Explicitly keep default constructor in rules without members
  Revert "Remove abandoned implementation."
  Remove abandoned implementation.

 Conflicts:
	proguard.flags
	tests/src/com/android/messaging/FakeFactory.java
	tests/src/com/android/messaging/datamodel/media/ImageRequestTest.java
	tests/src/com/android/messaging/ui/attachmentchooser/AttachmentChooserFragmentTest.java
	tests/src/com/android/messaging/ui/contact/ContactPickerFragmentTest.java
	tests/src/com/android/messaging/ui/conversation/ComposeMessageViewTest.java
	tests/src/com/android/messaging/ui/conversation/ConversationFragmentTest.java
	tests/src/com/android/messaging/ui/conversationlist/ConversationListFragmentTest.java
	tests/src/com/android/messaging/ui/mediapicker/AudioRecordViewTest.java
	tests/src/com/android/messaging/ui/mediapicker/GalleryGridItemViewTest.java
	tests/src/com/android/messaging/ui/mediapicker/MediaPickerTest.java

Change-Id: Ica660f1b6ac136254bc8e91ebee9469f30ebd7c1
2025-06-15 21:21:15 +03:00
Michael W 8af12822f8 Messaging: Remove setHost() logic
* This relies too much on call order and other things to go right
* We can use the activity just fine for it

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/8623
Change-Id: I048910258cedaa21e26fb88a57e5028ae1df9f83
2025-05-18 09:18:48 +00:00
Michael W 6161d0fca1 Messaging: Get rid of everything around the local apn database
Change-Id: Ie1916e93b274009494e76d6d99f36a025139127d
2025-05-18 09:18:48 +00:00
Michael W aad904a01b Messaging: Use Start and End instead of Left and Right
That way we don't need a separate file for these styles anymore

Change-Id: If689fba727f9b678b628c7bfb51fa8e4474d68de
2025-05-18 09:18:48 +00:00
Michael W 2f9b1386f8 Messaging: Remove unused or not required classes and methods
Change-Id: I28ebaecc503ee58c74fc8081162777f861dd4516
2025-05-18 09:18:48 +00:00
Michael W f0b25f0760 Messaging: Remove unused resources
Change-Id: Id3e69fae5773ac49f16b34d428218c3ce12cbe4b
2025-05-18 09:18:48 +00:00
Michael W c4bbba9441 Messaging: We don't need to check for verbose logging everywhere
We can just do this in the actual method

Change-Id: I80e89b0ab97926749851628b1bd34e8cd9dc82f2
2025-05-18 09:18:48 +00:00
Michael W 8613b6bcc8 Messaging: Fix wrong super() call
Change-Id: Ide21f259ff1e3b0e54811f14a5ce831c94a0da8f
2025-05-18 09:18:48 +00:00
Michael W 9fd4fa6bb9 Messaging: Explicitly specify Locale where needed
Change-Id: I636e9cceed0e73bcf957ebbda5e239982e681fd7
2025-05-18 09:18:48 +00:00
Michael W 37e5757779 Messaging: Extend AppCompatImageView instead of ImageView
Follow AS recommendation

Change-Id: Id3577cce05e73593183ea33d93c97858f9977a17
2025-05-18 09:18:48 +00:00
Michael W 7acbc6a9ca Messaging: No need to access private color members
These are public and thus we don't need "@*"

Change-Id: Iaddafed125c14e21750871c7a07abd1c4c03aee4
2025-05-18 09:18:48 +00:00
Michael W 37ac798c53 Messaging: Remove VisibleForAnimation
It's meant for reflection, but we don't care about that

Change-Id: Id2310a04fb90f39cb9b52fcb183073504b64bcba
2025-05-18 09:18:48 +00:00
LineageOS Infra 8d8c36708a Automatic translation import
Change-Id: Ib6f00a18f614b5fac8e31cf24f456f031251037a
2025-05-15 12:56:02 +00:00
LineageOS Infra 7120148897 Automatic translation import
Change-Id: Ie633b3f57231e2eb6d13101c5316099994aa81fd
2025-05-01 16:33:24 +00:00
LineageOS Infra b3f84ba453 Automatic translation import
Change-Id: I7b72f43ef1d430cb4aff5e8fb1fae81581532032
2025-04-15 13:55:29 +00:00
LineageOS Infra 0c2fc16c8b Automatic translation import
Change-Id: Ieef595ad3118084c77d6dc09dc5b4dc78fd450bc
2025-04-07 16:25:32 +00:00
Michael W 3c107a2161 Messaging: Migrate attachments to MediaStore
* Saving them doesn't work otherwise
* We don't have to care about MediaScanner and DownloadManager
  anymore that way, either

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/8573
Change-Id: I7a3b1dc6916feff4849bdfa2b8937460c32bc5a2
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
(cherry picked from commit 93bd39838d4a395dd710796b0e71ada1ec1f5ff2)
2025-04-04 16:33:58 +00:00
Tommy Webb 906ee2fb94 fixup! Messaging: Fix javadoc
Change-Id: Ic91c78f4e2b31e0764930cfd7ed7d376e9ba3851
2025-03-30 18:25:17 +02:00
Tommy Webb 8796975d4a Messaging: Messages are highly important
Set IMPORTANCE_HIGH so that message notifications will pop on screen
by default.

Issue: calyxos#2984
Change-Id: I6d6d823310bc0ad5f06a47df69446ebf502894dd
2025-03-30 18:25:17 +02:00
Michael W a39f270385 Messaging: Fix wrong thumb tint
forceDarkAllowed once again messes with proper styling

Change-Id: I1d59477ae4dbd7d081787f90eab633027b575bf3
2025-03-11 22:41:22 +01:00
Thomas Turner a8f89a1bb6 Messaging: Resolve missing symbol
packages/apps/Messaging/src/com/android/messaging/ui/ContactIconView.java:60: error: cannot find symbol
        final int iconSizeId = a.getInt(R.styleable.ContactIconView_iconSize, 0);
                                                   ^
symbol:   variable ContactIconView_iconSize
location: class styleable

Change-Id: I83b0d869a02971c43eb1aa8b80d418832900471c
2025-03-11 20:07:48 +00:00
Michael W 37f7aaea87 Messaging: Fix wrong enum value
* Apparently in QPR2, Material Design specifies iconSize which is set
  as a dimension (18dp) and overwrites ours which is an enum
* Fix it by choosing a unique name for the styleable

Change-Id: I0e9f93dc5bf8d450ea987f3b1fde9641827f2f99
2025-03-06 20:42:27 +01:00
Michael W 53eb598b63 Messaging: Good news: we can tint the status bar properly!
* 80% opacity is not what we want anymore
* The status bar in the conversation list is also supposed to be
  tinted properly - so why not do it?

Change-Id: I03c05595cd7f5a3f8f7dea120e14f3f3e0fff0b5
2025-03-04 18:52:05 +01:00
Michael W b0f59f9515 Messaging: Round AddContactsConfirmationDialog
Change-Id: Ib169d51e860c344182eeeb422b67f1d0d04c3887
2025-03-04 18:52:05 +01:00
Michael W 162c78fe1a Messaging: Replace fragment with FragmentContainerView
* Following recommendation of AS
* Also add the missing newlines at the end - they should be there and a
  separate change doesn't make sense

Change-Id: I90ce1574910275458f51a151c8dcd6da49433504
2025-03-04 18:52:05 +01:00
Michael W 4009b68386 Messaging: Heavily reduce the exif interface
* The only thing we need is reading one Tag, which the androidx
  implementation can do just fine.
* Apart from that there is so much unused code there...

Change-Id: I248a9e5450f1823e3eca589b8e17610940b26d01
2025-03-04 18:52:05 +01:00
Michael W b2f5e3190e Messaging: Further code improvements
* Remove redundant casts
* getParcelable(ArrayList|Exra) without class argument is deprecated
* ViewPager.setOnPageChangeListener -> addOnPageChangeListener
* RecyclerView.setOnScrollListener -> addOnScrollListener
* Remove unused initializations
* Remove unused code

Change-Id: I21beb6c90c675a4f2cfd7e3d5ebbd18b745f5911
2025-03-04 18:52:05 +01:00
Michael W 47f5533a73 Messaging: Remove duplicate code
* mmslib contains basically the same code as android.support.v7.mms.pdu
  does, so align them code-wise and remove the mmslib duplicates
* Since mmslib contains a few usages that are now not accessible
  anymore, make the classes or methods public where it complains

Change-Id: I10b8716c0e45079e4795fda4489dc1a9535026f3
2025-03-04 18:52:05 +01:00
Michael W f83b05ea0a Messages: Replace (Safe)AsyncTask
* AsyncTask is deprecated
* Executors and Handlers can achieve the same thing and
  are not deprecated

Change-Id: I5271bb73b848ce885eeaf5632c1da27853c56c4a
2025-03-04 18:52:05 +01:00
LineageOS Infra 94c0b8734b Automatic translation import
Change-Id: Ic10cf8ae6574bba350e8d12b0e217501e81cdc14
2025-03-01 17:50:25 +00:00
Android Build Coastguard Worker 82c6ca9602 Snap for 13135932 from bc5b8a2d4f to 25Q2-release
Change-Id: I82f72500b62137cdd125b2835d36753c2b14d786
2025-02-27 16:19:24 -08:00
Treehugger Robot bc5b8a2d4f Merge "packages/apps/Messaging: remove deprecated Mockito usages" into main am: cf93bb5c3d am: de315b7623
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Messaging/+/3508038

Change-Id: I69a284022c22523dd1b7c04179345811d5aa8ab0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-27 11:45:18 -08:00
Android Build Coastguard Worker 777797fa53 Snap for 13129673 from a7f581e01b to 25Q2-release
Change-Id: Id6afe5adc14394481567530a7101c7bd185bebcd
2025-02-26 16:24:19 -08:00
Treehugger Robot de315b7623 Merge "packages/apps/Messaging: remove deprecated Mockito usages" into main am: cf93bb5c3d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Messaging/+/3508038

Change-Id: Ie5e4bf0a521a4a5dec5fe231082b3e8d663a0724
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-26 09:34:34 -08:00
Treehugger Robot cf93bb5c3d Merge "packages/apps/Messaging: remove deprecated Mockito usages" into main 2025-02-26 09:09:41 -08:00
Owner Cleanup Bot a7f581e01b [owners] Remove rtenneti@google.com from OWNERS am: cc819dae0b am: 5d53470df3
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Messaging/+/3505964

Change-Id: I9c9d6cf6d32b0df880905469ea7b98f5dc4aa0d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-25 16:11:45 -08:00
Owner Cleanup Bot 5d53470df3 [owners] Remove rtenneti@google.com from OWNERS am: cc819dae0b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Messaging/+/3505964

Change-Id: Ibc4ee28788e023d707884cddec42e0edb2d9ddbb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-25 15:36:18 -08:00
Owner Cleanup Bot cc819dae0b [owners] Remove rtenneti@google.com from OWNERS
This suggested change is automatically generated based on group
memberships and affiliations.

Please approve this change and vote the highest CR. This will keep the OWNERs
file tidy.  We ask that you do not ignore this change and approve it
unless you know a reason the OWNER should remain.  It can always be
reverted if needed.

If this change is in error, vote the lowest CR value (i.e. reject the CL)
and the bot will abandon it.

See the owner's recent review activity for context:
https://android-review.googlesource.com/q/rtenneti@google.com

To report an issue, file a bug in the Infra>Codereview component.

Change-Id: I4b84a77bf8a7bd01b8d58315021ea2249a6f539e
2025-02-25 09:31:37 -08:00
Adrian Roos 29980d714f packages/apps/Messaging: remove deprecated Mockito usages
Test: m checkbuild
Flag: TEST_ONLY
Change-Id: I9e62dd82bfbf00b13dce8210574bf146eea191f0
2025-02-25 16:51:18 +01: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
Android Build Coastguard Worker 8900099676 Snap for 12991197 from 49c3d392ad to 25Q2-release
Change-Id: I35c42e11115b922f2b21949b12a5094e454c097e
2025-01-30 16:18:04 -08:00
Christoffer Adamsen 49c3d392ad Do not keep runtime invisible annotations in proguard.flags am: b0f8c82e37 am: 817de4cf62
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Messaging/+/3455602

Change-Id: I874a545cfde2310b4714879d1d001c3c4f47737d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-30 11:13:31 -08:00
Christoffer Adamsen 817de4cf62 Do not keep runtime invisible annotations in proguard.flags am: b0f8c82e37
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Messaging/+/3455602

Change-Id: I5c7bcb5fbf8a125fa2993f1da79c6e2ae50ba623
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-30 10:49:58 -08: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
LuK1337 28b9c1d2cd Messaging: Make SMS delivered and MMS sent intents mutable
Fixes MMS send status and SMS delivery reports.

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/8074
Change-Id: I55b98619ed2d477dcc232ebdaa23b5390b7570b2
2025-01-19 17:58:59 +01:00
Christoffer Adamsen b0f8c82e37 Do not keep runtime invisible annotations in proguard.flags
This updates the corresponding Android.bp file to keep the runtime invisible annotations, meaning this should be a no-op.

When RELEASE_R8_ONLY_RUNTIME_VISIBLE_ANNOTATIONS is enabled, keep_runtime_invisible_annotations will become a no-op, which should lead to all runtime invisible annotations being stripped from this build.

Bug: 387958004
Change-Id: Ib0090cd30d44630a1b0a1d1f0605edb7fef8c5cf
Test: existing
2025-01-17 04:34:59 -08:00
LineageOS Infra c3f90af163 Automatic translation import
Change-Id: Iae84ceffae7e3b10f58ad14dc7d2730783fd8bb3
2025-01-15 20:54:54 +00:00
Android Build Coastguard Worker 81920e8179 Snap for 12896565 from 3e8c4c36c6 to 25Q2-release
Change-Id: I92020d203fe787ccbf0735f50dc4efa223506327
2025-01-09 18:17:44 -08:00
Christoffer Adamsen 3e8c4c36c6 Explicitly keep default constructor in rules without members am: 96af708145 am: e891b3615d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Messaging/+/3438699

Change-Id: I0d9ba3367e893f5299436eb3c12ad4e86f96cc78
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-09 05:30:12 -08:00