sms-translate/app/src/main/kotlin/org/fossify/messages/messaging
Vivien F 857a1fd445
feat: add conversation shortcuts (#280)
* Declare intent filter to open ThreadActivity from shortcut

* Add SimpleContact utilities

* Create the ShortcutHelper class

* update shortcuts on sending message, notification received and when opening thread.

* format code

* Avoid error when getConversations is called from UI thread

* Changed ranking of create new conversation shortcut to 0

* removed exception handling

* Run shortcut registration in background

* Changed shortcut creation and usage report

* do not create shortcut on opening conversation

* optimize imports

* Delete shortcut with conversation

* Show main activity if conversation does not exist

* removed old intent filter

* Specify Fossify thread activity in shortcut's intent

* Avoid dismissing activity if it's a new conversation

* Try to fix private contacts appearing as numbers

* Removed intent sanitizer since activity isn't exported anymore

* Update shortcut label and picture when changing conversation name

* refactor: cleanup code

* refactor: collapse empty tag

---------

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>
Co-authored-by: Naveen Singh <snaveen935@gmail.com>
2025-06-04 14:15:01 +05:30
..
Messaging.kt feat: add conversation shortcuts (#280) 2025-06-04 14:15:01 +05:30
MessagingUtils.kt Minor code improvement 2025-01-04 15:51:44 +05:30
ScheduledMessage.kt Rename package to org.fossify.messages 2024-01-18 01:05:03 +05:30
SmsException.kt Rename package to org.fossify.messages 2024-01-18 01:05:03 +05:30
SmsManager.kt Rename package to org.fossify.messages 2024-01-18 01:05:03 +05:30
SmsSender.kt Rename package to org.fossify.messages 2024-01-18 01:05:03 +05:30