session-android/app/src/main/res/layout
Harris e1b6bb7e56
Add one on one calls over clearnet (#864)
* feat: adding basic webrtc deps and test activity

* more testing code

* feat: add protos and bump version

* feat: added basic call functionality

* feat: adding UI and flipping cameras

* feat: add stats and starting call bottom sheet

* feat: hanging up and bottom sheet behaviors should work now

* feat: add call stats report on frontend

* feat: add relay toggle for answer and offer

* fix: add keep screen on and more end call message on back pressed / on finish

* refactor: removing and replacing dagger 1 dep with android hilt

* feat: include latest proto

* feat: update to utilise call ID

* feat: add stun and turn

* refactor: playing around with deps and transport types

* feat: adding call service functionality and permissions for calls

* feat: add call manager and more static intent building functions for WebRtcCallService.kt

* feat: adding ringers and more audio boilerplate

* feat: audio manager call service boilerplate

* feat: update kotlin and add in call view model and more management functions

* refactor: moving call code around to service and viewmodel interactions

* feat: plugging CallManager.kt into view model and service, fixing up dependencies

* feat: implementing more WebRtcCallService.kt functions and handlers for actions as well as lifecycle

* feat: adding more lifecycle vm and callmanager / call service functionality

* feat: adding more command handlers in WebRtcCallService.kt

* feat: more commands handled, adding lock manager and bluetooth permissions

* feat: adding remainder of basic functionality to services and CallManager.kt

* feat: hooking up calls and fixing broken dependencies and compile errors

* fix: add timestamp to incoming call

* feat: some connection and service launching / ring lifecycle

* feat: call establishing and displaying

* fix: fixing call connect flows

* feat: ringers and better state handling

* feat: updating call layout

* feat: add fixes to bluetooth and begin the network renegotiation

* feat: add call related permissions and more network handover tests

* fix: don't display call option in conversation and don't show notification if option not enabled

* fix: incoming ringer fix on receiving call, call notification priorities and notification channel update

* build: update build number for testing

* fix: bluetooth auto-connection and re-connection fixes, removing finished todos, allowing self-send call messages for deduping answers

* feat: add pre-offer information and action handling in web rtc call service

* refactor: discard offer messages from non-matching pre-offers we are already expecting

* build: build numbers and version name update

* feat: handle discarding pending calls from linked devices

* feat: add signing props to release config build

* docs: fix comment on time being 300s (5m) instead of 30s

* feat: adding call messages for incoming/outgoing/missed

* refactor: handle in-thread call notifications better and replace deny button intent with denyCallIntent instead of hangup

* feat: add a hangup via data channel message

* feat: process microphone enabled events and remove debuggable from build.gradle

* feat: add first call notification

* refactor: set the buttons to match iOS in terms of enable disable and colours

* refactor: change the call logos in control messages

* refactor: more bluetooth improvements

* refactor: move start ringer and init of audio manager to CallManager.kt and string fix up

* build: remove debuggable for release build

* refactor: replace call icons

* feat: adding a call time display

* refactor: change the call time to update every second

* refactor: testing out the full screen intents

* refactor: wrapper use corrected session description, set title to recipient displayName, indicate session calls

* fix: crash on view with a parent already attached

* refactor: aspect ratio fit preserved

* refactor: add wantsToAnswer ability in pre-init for fullscreenintent

* refactor: prevent calls from non hasSent participants

* build: update gradle code

* refactor: replace timeout schedule with a seconds count

* fix: various bug fixes for calls

* fix: remove end call from busy

* refactor: use answerCall instead of manual intent building again

* build: new version

* feat: add silenced notifications for call notification builder. check pre-offer and connecting state for pending connection

* build: update build number

* fix: text color uses overridden style value

* fix: remove wrap content for renderers and look more at recovering from network switches

* build: update build number

* refactor: remove whitespace

* build: update build number

* refactor: used shared number for BatchMessageReceiveJob.kt parameter across pollers

* fix: glide in update crash

* fix: bug fixes for self-send answer / hangup messages

* build: update build number

* build: update build.gradle number

* refactor: compile errors and refactoring to view binding

* fix: set the content to binding.root view

* build: increase build number

* build: update build numbers

* feat: adding base for rotation and picking random subset of turn servers

* feat: starting the screen rotation processing

* feat: setting up rotation for the remote render view

* refactor: applying rotation and mirroring based on front / rear cameras that wraps nicely, only scale reworking needed

* refactor: calls video stretching but consistent

* refactor: state machine and tests for the transition events

* feat: new call state processing

* refactor: adding reconnecting logic and visuals

* feat: state machine reconnect logic wip

* feat: add reconnecting and merge fixes

* feat: check new session based off current state

* feat: reconnection logic works correctly now

* refactor: reduce TIMEOUT_SECONDS to 30 from 90

* feat: reset peer connection on DC to prevent ICE messages from old connection or stale state in reconnecting

* refactor: add null case

* fix: set approved on new outgoing threads, use approved more deeply and invalidate the options menu on recipient modified. Add approvedMe flag toggles for visible message receive

* fix: add name update in action bar on modified, change where approvedMe is set

* build: increment build number

* build: update build number

* fix: merge compile errors and increment build number

* refactor: remove negotiation based on which party dropped connection

* refactor: call reconnection improvement tested cross platform to re-establish

* refactor: failed and disconnect events only handled if either the reconnect or the timeout runnables are not set

* build: update version number

* fix: reduce timeout

* fix: fixes the incoming hangup logic for linked devices

* refactor: match iOS styling for call activity closer

* chore: upgrade build numbers

* feat: add in call settings dialog for if calls is disabled in conversation

* feat: add a first call missed control message and info popup with link to privacy settings

* fix: looking at crash for specific large transaction in NotificationManager

* refactor: removing the people in case transaction size reduces to fix notif crash

* fix: comment out the entire send multiple to see if it fixes the issue

* refactor: revert to including the full notification process in a try/catch to handle weird responses from NotificationManager

* fix: add in notification settings prompt for calls and try to fall back to dirty full screen intent / start activity if we're allowed

* build: upgrade build number
2022-04-19 14:25:40 +10:00
..
activity_conversation_v2.xml fix: raise elevation on the attachment buttons 2022-03-17 13:18:59 +11:00
activity_conversation_v2_action_bar.xml Bug fixes and provide conversation tooltips (#851) 2022-02-28 17:23:58 +11:00
activity_create_closed_group.xml Fix colors 2021-06-02 13:03:22 +10:00
activity_create_private_chat.xml Clean up create private chat screen 2021-06-02 11:34:30 +10:00
activity_display_name.xml Add basic input edit text 2021-06-15 14:55:57 +10:00
activity_edit_closed_group.xml Re-organize files & delete unused code 2021-07-09 11:14:21 +10:00
activity_fragment_wrapper.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
activity_home.xml Bug fixes and provide conversation tooltips (#851) 2022-02-28 17:23:58 +11:00
activity_join_public_chat.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
activity_landing.xml Re-organize files & delete unused code 2021-07-09 11:14:21 +10:00
activity_link_device.xml feat: add link device implementation and fixes for updating config syncs and forcing config syncs 2021-03-03 11:33:35 +11:00
activity_message_detail.xml Include destination info in error messages 2021-07-15 09:32:00 +10:00
activity_message_requests.xml feat: Add conversation filtering for message requests (#830) 2022-03-04 08:46:39 +02:00
activity_open_group_guidelines.xml Re-add open group guidelines 2021-06-23 13:11:21 +10:00
activity_path.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
activity_pn_mode.xml Re-organize files & delete unused code 2021-07-09 11:14:21 +10:00
activity_qr_code.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
activity_recovery_phrase_restore.xml Clean up onboarding 2021-05-25 11:48:59 +10:00
activity_register.xml refactor: extract hardcoded strings 2021-05-21 16:49:06 +10:00
activity_seed.xml Re-organize files & delete unused code 2021-07-09 11:14:21 +10:00
activity_select_contacts.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
activity_settings.xml feat: Add conversation filtering for message requests (#830) 2022-03-04 08:46:39 +02:00
activity_webrtc.xml Add one on one calls over clearnet (#864) 2022-04-19 14:25:40 +10:00
album_thumbnail_1.xml feat: adding text and shade, reverting other components to use old ThumbnailView 2021-06-25 09:57:58 +10:00
album_thumbnail_2.xml feat: adding text and shade, reverting other components to use old ThumbnailView 2021-06-25 09:57:58 +10:00
album_thumbnail_3.xml feat: adding text and shade, reverting other components to use old ThumbnailView 2021-06-25 09:57:58 +10:00
album_thumbnail_4.xml feat: adding text and shade, reverting other components to use old ThumbnailView 2021-06-25 09:57:58 +10:00
album_thumbnail_5.xml feat: adding text and shade, reverting other components to use old ThumbnailView 2021-06-25 09:57:58 +10:00
album_thumbnail_many.xml feat: add back overflow text, increase AttachmentDownloadJob.kt max failure count, resize overflow text size, remove unused animator update listener implementation in ThumbnailProgressBar.kt 2021-06-29 11:22:59 +10:00
album_thumbnail_view.xml Split image from replies (#779) 2022-01-18 14:33:04 +11:00
alert_view.xml Add a global search (#834) 2022-02-07 17:06:27 +11:00
attachment_type_selector.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
backup_enable_dialog.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
camera_controls_landscape.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
camera_controls_portrait.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
camera_fragment.xml Add a global search (#834) 2022-02-07 17:06:27 +11:00
contact_selection_list_divider.xml Fix approved references and visible message setting flags for approval (#854) 2022-03-10 09:54:18 +11:00
contact_selection_list_fragment.xml refactor: extract hardcoded strings 2021-05-21 16:49:06 +10:00
conversation_item_footer.xml Move ExpirationTimerView 2021-06-30 14:47:35 +10:00
conversation_item_thumbnail.xml Make link preview view use thumbnail 2021-06-24 15:03:29 +10:00
custom_default_preference_dialog.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
default_group_chip.xml Make chips look better 2021-05-14 13:51:18 +10:00
delivery_status_view.xml Add a global search (#834) 2022-02-07 17:06:27 +11:00
dialog_blocked.xml Add join open group dialog 2021-06-24 13:47:24 +10:00
dialog_clear_all_data.xml Minor UI polish 2021-07-13 13:23:53 +10:00
dialog_download.xml Add trust dialog 2021-06-24 14:05:55 +10:00
dialog_join_open_group.xml Add join open group dialog 2021-06-24 13:47:24 +10:00
dialog_link_preview.xml Add link preview dialog 2021-06-24 13:59:53 +10:00
dialog_open_url.xml Add open URL dialog 2021-06-24 13:54:34 +10:00
dialog_seed.xml Make dialogs look better 2021-06-24 13:14:18 +10:00
dialog_send_seed.xml Warn users if they're about to send their recovery phrase to someone 2021-07-19 13:52:50 +10:00
dialog_share_logs.xml feat: finish share log dialog 2021-09-23 15:47:43 +10:00
document_view.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
emoji_display_item.xml Add a global search (#834) 2022-02-07 17:06:27 +11:00
emoji_grid_layout.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
emoji_keyboard_icon_dark.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
emoji_keyboard_icon_dark_selected.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
emoji_keyboard_icon_light.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
emoji_keyboard_icon_light_selected.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
emoji_variation_selector.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
emoji_variation_selector_item.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
expiration_dialog.xml Fix crash 2021-06-29 13:48:46 +10:00
expiration_timer_menu.xml Scroll to message upon tapping quote & fix various bugs 2021-06-30 10:30:10 +10:00
fragment_call_bottom_sheet.xml Add one on one calls over clearnet (#864) 2022-04-19 14:25:40 +10:00
fragment_closed_group_edit_bottom_sheet.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
fragment_conversation_bottom_sheet.xml feat: Add the option to mark a conversation as read (#816) 2022-01-16 19:02:39 +02:00
fragment_delete_message_bottom_sheet.xml clean 2021-08-17 16:16:17 +10:00
fragment_device_list_bottom_sheet.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
fragment_enter_chat_url.xml Clean up join open group screen 2021-06-02 10:51:36 +10:00
fragment_enter_public_key.xml Re-organize files 2021-07-09 13:18:48 +10:00
fragment_modal_url_bottom_sheet.xml fix: remove bottom padding in layout 2021-09-14 14:15:40 +10:00
fragment_recovery_phrase.xml Clean up onboarding 2021-05-25 11:48:59 +10:00
fragment_scan_qr_code.xml refactor: extract hardcoded strings 2021-05-21 16:49:06 +10:00
fragment_scan_qr_code_placeholder.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
fragment_scan_qr_code_wrapper.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
fragment_user_details_bottom_sheet.xml feat: allow opening conversation thread from UserDetailsBottomSheet.kt 2021-08-12 17:50:35 +10:00
fragment_view_my_qr_code.xml refactor: extract hardcoded strings 2021-05-21 16:49:06 +10:00
giphy_activity.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
giphy_activity_toolbar.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
giphy_fragment.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
giphy_thumbnail.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
grid_layout_filler.xml feat: handling default group requests and open group api updates for proper image endpoint handling 2021-04-21 17:00:57 +10:00
image_editor_fragment.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
image_editor_hud.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
item_color.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
labeled_edit_text.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
labeled_edit_text_default.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
led_color_preference_widget.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
link_preview.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
longmessage_activity.xml fix: other view types have clickable links, clickable links in the long message. Ordering of highlight mentions before getting clickable spans 2021-08-12 15:36:08 +10:00
media_keyboard.xml Add a global search (#834) 2022-02-07 17:06:27 +11:00
media_keyboard_bottom_tab_item.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
media_overview_activity.xml Unused code cleanup. 2020-12-07 13:45:36 +11:00
media_overview_document_item.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
media_overview_document_item_header.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
media_overview_documents_fragment.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
media_overview_gallery_fragment.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
media_overview_gallery_item.xml Make link preview view use thumbnail 2021-06-24 15:03:29 +10:00
media_overview_gallery_item_header.xml Add support for new ban and delete all endpoint 2021-07-13 14:28:25 +10:00
media_preview_activity.xml Enable media gallery fullscreen mode (#813) 2021-12-20 09:38:27 +02:00
media_preview_exoplayer_layout.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
media_view.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
media_view_edit_button.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
media_view_page.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
media_view_remove_button.xml Add a global search (#834) 2022-02-07 17:06:27 +11:00
media_view_video.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
mediapicker_folder_fragment.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
mediapicker_folder_item.xml Add a global search (#834) 2022-02-07 17:06:27 +11:00
mediapicker_item_fragment.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
mediapicker_media_item.xml Add a global search (#834) 2022-02-07 17:06:27 +11:00
mediarail_button_item.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
mediarail_media_item.xml Make link preview view use thumbnail 2021-06-24 15:03:29 +10:00
mediasend_activity.xml Add a global search (#834) 2022-02-07 17:06:27 +11:00
mediasend_fragment.xml Add a global search (#834) 2022-02-07 17:06:27 +11:00
mediasend_image_fragment.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
mediasend_video_fragment.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
permissions_rationale_dialog.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
preference_divider.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
preference_right_summary_widget.xml Unused code cleanup. 2020-12-01 21:36:41 +11:00
preference_widget_color_swatch.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
preference_widget_progress.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
progress_dialog.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
prompt_passphrase_activity.xml refactor: extract hardcoded strings 2021-05-21 16:49:06 +10:00
quote_view.xml Add a global search (#834) 2022-02-07 17:06:27 +11:00
recent_photo_view.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
recent_photo_view_item.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
recipient_preference_contact_widget.xml Unused code cleanup. 2020-11-30 17:43:06 +11:00
scribble_fragment_emojidrawer_stub.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
scribble_select_sticker_activity.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
scribble_select_sticker_fragment.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
scribble_sticker_item.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
search_toolbar.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
session_logo_action_bar_content.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
share_activity.xml Re-organize files 2021-07-09 13:25:57 +10:00
sticker_view.xml Make link preview view use thumbnail 2021-06-24 15:03:29 +10:00
switch_compat_preference.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
thumbnail_view.xml Add a global search (#834) 2022-02-07 17:06:27 +11:00
transfer_controls_stub.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
transfer_controls_view.xml Add a global search (#834) 2022-02-07 17:06:27 +11:00
video_player.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
view_control_message.xml feat: Add conversation filtering for message requests (#830) 2022-03-04 08:46:39 +02:00
view_conversation.xml Add a global search (#834) 2022-02-07 17:06:27 +11:00
view_conversation_typing_container.xml Fix typing indicator color 2021-06-24 15:27:00 +10:00
view_deleted_message.xml handle database for message deleted by unsend request 2021-08-12 11:43:33 +10:00
view_document.xml fix: documents render correctly now (#838) 2022-02-07 15:25:31 +11:00
view_fake_chat.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
view_global_search_header.xml Add a global search (#834) 2022-02-07 17:06:27 +11:00
view_global_search_input.xml Add a global search (#834) 2022-02-07 17:06:27 +11:00
view_global_search_result.xml Add a global search (#834) 2022-02-07 17:06:27 +11:00
view_input_bar.xml Fix approved references and visible message setting flags for approval (#854) 2022-03-10 09:54:18 +11:00
view_input_bar_recording.xml Hook up all voice message recording controls 2021-06-28 11:26:13 +10:00
view_link_preview.xml Split image from replies (#779) 2022-01-18 14:33:04 +11:00
view_link_preview_draft.xml Create link preview draft view 2021-06-24 16:23:37 +10:00
view_mention_candidate.xml Re-organize files 2021-07-09 13:18:48 +10:00
view_mention_candidate_v2.xml fix: add UI test for URL modal dialog and fix mention infinite layout inflation bugs (#841) 2022-02-09 14:18:22 +11:00
view_message_request.xml feat: Add conversation filtering for message requests (#830) 2022-03-04 08:46:39 +02:00
view_message_request_banner.xml feat: Add conversation filtering for message requests (#830) 2022-03-04 08:46:39 +02:00
view_open_group_guidelines.xml Re-add open group guidelines 2021-06-23 13:11:21 +10:00
view_open_group_invitation.xml Add message status indicator 2021-06-22 15:41:14 +10:00
view_profile_picture.xml Clean up ProfilePictureView 2021-05-28 16:09:15 +10:00
view_quote.xml Fix quote alignment (#837) 2022-02-07 15:38:07 +11:00
view_search_bottom_bar.xml Add message expiration timer icon 2021-06-30 15:40:15 +10:00
view_seed_reminder.xml refactor: extract hardcoded strings 2021-05-21 16:49:06 +10:00
view_separator.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
view_typing_indicator.xml Add blocked dialog 2021-06-24 13:38:59 +10:00
view_untrusted_attachment.xml feat: trust dialog and processing attachments for users after trusting them 2021-07-09 15:13:43 +10:00
view_user.xml Re-organize files 2021-07-09 13:18:48 +10:00
view_visible_message.xml Fix approved references and visible message setting flags for approval (#854) 2022-03-10 09:54:18 +11:00
view_visible_message_content.xml Fix quote alignment (#837) 2022-02-07 15:38:07 +11:00
view_voice_message.xml Full voice message UI 2021-06-21 13:36:45 +10:00
zooming_image_view.xml restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00