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
9fd4fa6bb9
Messaging: Explicitly specify Locale where needed
...
Change-Id: I636e9cceed0e73bcf957ebbda5e239982e681fd7
2025-05-18 09:18:48 +00: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
161c3e9fd9
Messaging: Remove VisibleForTesting
...
Since we removed all tests, no need to keep those flags around either
Change-Id: Icaf71832c459cecbcbddc75f552c60e48ae95189
2024-12-26 15:54:38 +01:00
Michael W
e128bff457
Messaging: Language cleanup
...
No unnecessary boxing, enhanced for loops, redundant checks and throws,
imports (removal, reordering), possible void returns
Change-Id: I7a8e1b2007e3b0906e01b41785c518d02c2f3fab
2024-12-26 15:54:37 +01:00
Michael W
5403d02b5d
Messaging: Fix javadoc
...
Change-Id: Ia1b0a8fa9a5e74078a68a55ca1953b6f085521b1
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
9538179c75
Messaging: Use try-with-resource
...
Change-Id: I6649517cbd990502dfcb54f078764cf05f210268
2024-12-26 15:54:37 +01:00
Michael W
fd63d5f125
Messaging: Use StandardCharsets where possible
...
Change-Id: I45a19c47262116d34260e1957145580a7f97168e
2024-12-26 14:55:13 +01:00
Michael W
3b7f05ba67
Messaging: Replace ExifInterface with its androidx counterpart
...
Change-Id: I35ba14886b9f837d576f1cd385869614454c921f
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
Jake Klinker
ebc64c5bae
Use UriUtil when checking if a URI is a file.
...
UriUtil.isFileUri contains several additional fixes, so this ensure that existing instances where we check for the file scheme use this method as well. This covers all existing instances in the app of SCHEME_FILE.
Change-Id: I1f3131b33823eae3e620aa9608be8e72b2e84aa2
Bug: 215212561
2022-01-31 20:29:42 +00:00
Taesu Lee
050bc461fc
Fix android.os.strictmode.LeakedClosableViolation
...
Test: Check log.
Change-Id: I488fc6c4288bc3843a2be35a8e2988738441263e
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com >
2020-02-12 09:54:01 +09: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
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
Mike Dodd
461a34b466
Initial checkin of AOSP Messaging app.
...
b/23110861
Change-Id: I9aa980d7569247d6b2ca78f5dcb4502e1eaadb8a
2015-08-12 08:58:28 -07:00