Marcel Hibbe
4c882f4f41
fix light theme color for Entry menu box
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-16 11:34:08 +01:00
Marcel Hibbe
6bc5d324b5
fix to show searchbar after bottom dialog operations
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-16 11:34:08 +01:00
Marcel Hibbe
4335e44701
replace operationCode's (int) by Enums
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-16 11:34:08 +01:00
Andy Scherzinger
66795bb48b
correct code formatting and license header added
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-02-16 11:34:07 +01:00
Andy Scherzinger
4fb61ed046
improve detekt score
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-02-16 11:34:07 +01:00
Andy Scherzinger
d70ac8fe8b
make bottom sheets dark/light themed
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-02-16 11:34:07 +01:00
Marcel Hibbe
ea7575b266
remove dependency com.github.Kennyc1012:BottomSheet
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-16 11:34:06 +01:00
Marcel Hibbe
ac0c961557
open Conversation after being created via ContactsController
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-16 11:34:06 +01:00
Marcel Hibbe
dbf6b91260
rename ConversationOperationDialog to ConversationsListBottomDialog
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-16 11:34:06 +01:00
Marcel Hibbe
9423376ca7
tidy up
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-16 11:34:06 +01:00
Marcel Hibbe
bec19428e0
share conversation link
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-16 11:34:05 +01:00
Marcel Hibbe
76451c1649
fix actions that are clicked in Conversation Bottom Dialog
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-16 11:34:05 +01:00
Marcel Hibbe
d76203a093
remove api v1 variants for conversations canLeave and canDelete methods
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-16 11:34:05 +01:00
Marcel Hibbe
aedede9ffd
proof of concept: use conductor with BottomSheetDialog
...
two approaches are added with this commit (just for testing):
1.for conversationOperationAddFavorite
- replace UI in ConversationOperationDialog
- push another controller via method in ConversationsListController (makes no sense here, but will be useful for other cases)
2. for conversationOperationRemoveFavorite
- hide UI
- introduce another conductor router for dialog
- push new Controller with new router
- fetchData in old controller
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-16 11:34:05 +01:00
Marcel Hibbe
cb9189da19
replace CallMenuController with ConversationOperationDialog.kt
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-16 11:34:04 +01:00
Marcel Hibbe
90a99d4994
fix design when keyboard is shown
...
- set windowSoftInputMode to adjustResize
- comment out everything related to KeyboardUtils
this fixes the design when keyboard is shown. At least this breaks the BottomSheet which will be hidden by the keyboard.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-16 11:34:04 +01:00
Andy Scherzinger
2e440ff3bd
Merge pull request #1818 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.44.0
...
Bump ktlint from 0.43.0 to 0.44.0
2022-02-16 07:17:47 +01:00
Nextcloud bot
7e79aff79b
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-16 03:58:19 +00:00
dependabot[bot]
221cbad6bb
Bump ktlint from 0.43.0 to 0.44.0
...
Bumps [ktlint](https://github.com/pinterest/ktlint ) from 0.43.0 to 0.44.0.
- [Release notes](https://github.com/pinterest/ktlint/releases )
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pinterest/ktlint/compare/0.43.0...0.44.0 )
---
updated-dependencies:
- dependency-name: com.pinterest:ktlint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-16 02:06:44 +00:00
Nextcloud bot
8a8596dcc9
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-15 05:39:21 +00:00
Nextcloud Android Bot
709787a845
Weekly 13.1.0 Alpha 12
2022-02-14 03:13:23 +00:00
dependabot[bot]
a13dbfd5e5
Bump gson from 2.8.9 to 2.9.0
...
Bumps [gson](https://github.com/google/gson ) from 2.8.9 to 2.9.0.
- [Release notes](https://github.com/google/gson/releases )
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.9...gson-parent-2.9.0 )
---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-12 10:03:20 +00:00
Andy Scherzinger
e2bf6f6326
Merge pull request #1802 from nextcloud/bugfix/noid/lifecycle-extensions
...
Bump lifecycle-extensions to 2.2.0
2022-02-11 09:41:17 +01:00
Nextcloud bot
8f96a46db8
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-11 03:58:15 +00:00
Andy Scherzinger
5f9d129b1e
bump lifecycle-extensions to 2.2.0
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-02-10 18:27:47 +01:00
dependabot[bot]
fc04dce758
Bump conductor from 3.1.1 to 3.1.3
...
Bumps [conductor](https://github.com/bluelinelabs/Conductor ) from 3.1.1 to 3.1.3.
- [Release notes](https://github.com/bluelinelabs/Conductor/releases )
- [Commits](https://github.com/bluelinelabs/Conductor/commits )
---
updated-dependencies:
- dependency-name: com.bluelinelabs:conductor
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-10 17:13:06 +00:00
Andy Scherzinger
4e8db4fbbb
bump eventbus to 3.3.1
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-02-10 17:36:28 +01:00
Andy Scherzinger
6a991d9404
bump okhttp to 4.9.3
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-02-10 17:26:49 +01:00
Andy Scherzinger
9faa2749de
bump constraint layout to 2.1.3
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-02-10 17:09:05 +01:00
Nextcloud bot
0e136c4852
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-10 04:03:41 +00:00
Nextcloud bot
3097ed2942
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-09 03:58:09 +00:00
Andy Scherzinger
741b6fefc9
Adjust conversation list bottom sheet item to material 3
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-02-07 21:18:52 +01:00
Andy Scherzinger
e2e4f69143
Adjust bottom sheet item to material 3
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-02-07 21:00:50 +01:00
Andy Scherzinger
bb1c82fbe7
Adjust bottom sheet item height to material 3
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-02-07 14:41:32 +01:00
Andy Scherzinger
86f2c563c3
adjust attachment sheet to latest material design bottom sheet specs
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-02-07 14:34:07 +01:00
Andy Scherzinger
3e22741c1d
adjust audio output to latest material design bottom sheet specs
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-02-07 14:34:04 +01:00
Marcel Hibbe
7f0980e6d2
format code + fix klint/findbugs warnings
...
remove hardcodings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
remove hardcodings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-07 14:27:38 +01:00
Marcel Hibbe
51df0e67f4
add UI logic for wired headset
...
if wired headset is plugged in hide earpiece and speaker icons
if wired headset is plugged out show earpiece and speaker icons
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-07 13:09:41 +01:00
Marcel Hibbe
a34eb89570
modify behaviour of proximity sensor
...
use proximity sensor only if it is a voiceOnly call and userSelectedAudioDevice was SPEAKER_PHONE
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-07 13:09:41 +01:00
Marcel Hibbe
338f06dda1
update UI if audio output device changed
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-07 13:09:40 +01:00
Marcel Hibbe
3587fe6e12
use speaker if no bluetooth is available
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-07 13:09:40 +01:00
Marcel Hibbe
510ec1598c
hide unavailable audio output channels
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-07 13:09:40 +01:00
Marcel Hibbe
ffb223a66f
highlight active audio output
...
use layout weight
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-07 13:09:40 +01:00
Marcel Hibbe
78b29082bf
show audio button also for videocalls
...
use layout weight
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-07 13:09:39 +01:00
Marcel Hibbe
9c0fa9acc2
select audio device (WIP)
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-07 13:09:39 +01:00
Marcel Hibbe
9b889d232f
add UI to switch audio output in call
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-07 13:09:39 +01:00
Nextcloud bot
953528d3c9
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-07 03:58:09 +00:00
Nextcloud bot
a9c4c32c45
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-05 03:57:55 +00:00
Nextcloud bot
964e352973
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-03 03:58:41 +00:00
Nextcloud bot
1a06d93686
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-02 03:59:13 +00:00
Nextcloud Android Bot
ae2a071109
Weekly 13.1.0 Alpha 11
2022-01-31 03:11:24 +00:00
Nextcloud bot
9f3178d301
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-30 03:57:37 +00:00
Nextcloud bot
f96c2a5677
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-29 03:59:54 +00:00
drone
ca7861358d
fix klint + findbugs warnings
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-27 11:57:23 +01:00
Marcel Hibbe
70b4eed654
delete deprecated CallItem + refactor related code
...
CallItem was only used before NC 14.
rv_item_conversation.xml was used by CallItem. After CallItem is now deleted, rv_item_conversation.xml was deleted from other xml classes as "tool"-view (this didn't make sense & was only a placeholder)
Furthermore, it was renamed to account_item.xml as now it is only used for account selection.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 17:25:22 +01:00
Marcel Hibbe
edc4091611
hide keyboard when scrolling in conversation search
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 17:22:21 +01:00
Marcel Hibbe
1de2261426
add open conversations to search
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 17:22:21 +01:00
Marcel Hibbe
9b55467af3
moved execution of setUpPushTokenRegistration
...
so token is registered everytime the conversation list is opened.
In NextcloudTalkApplication it was not executed when app was still in background when opening
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:32 +01:00
Marcel Hibbe
f582525fef
remove logging
...
so the actions are not triggered when PeriodicWorkRequests are created.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:32 +01:00
Marcel Hibbe
6f302c25c4
add flexinterval for PeriodicWorkRequests
...
so the actions are not triggered when PeriodicWorkRequests are created.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:32 +01:00
Marcel Hibbe
c8274fe740
add string for origin to PushRegistrationWorker for debugging
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:31 +01:00
Marcel Hibbe
bdef83d402
reformat code
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:31 +01:00
Marcel Hibbe
4629d02dc4
add copyright + minor refactoring
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:31 +01:00
Marcel Hibbe
76cab3b9a0
add PeriodicWorkRequest to register local token every 24h
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:31 +01:00
Marcel Hibbe
06afd7bec6
set up periodic fetch of firebase token in ClosedInterface for gplay
...
move OneTimeWorkRequest for PushRegistrationWorker from NextcloudTalkApplication to ClosedInterface for gplay
add check in PushRegistrationWorker if google services are available
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:31 +01:00
Marcel Hibbe
55da452887
add project_id from google-services.json to setup.xml
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:31 +01:00
Marcel Hibbe
aacd6d5377
also register push token again on server&proxy no matter if it didn't change on device
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:30 +01:00
Marcel Hibbe
b339aa9d33
refactor check if token should be registered
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:30 +01:00
Marcel Hibbe
1bd28f5ef4
add logging
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:30 +01:00
Marcel Hibbe
31f2f40bcf
refactor PushUtils
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:30 +01:00
Marcel Hibbe
01b0452d6f
bump firebase-messaging
...
- bump firebase-messaging to 23.0.0
- add gplayImplementation: play-services-base:17.6.0 (for class GoogleApiAvailability)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:30 +01:00
Marcel Hibbe
412af46ed5
refactoring PushUtils
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:29 +01:00
Marcel Hibbe
a7c298b224
add log if push token is empty when registering at nc server
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:29 +01:00
Marcel Hibbe
bd4208f709
minor refactoring
...
- extract method to register device at proxy
- rename method
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:29 +01:00
Nextcloud bot
e9f02c36e6
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-24 03:56:29 +00:00
Nextcloud Android Bot
352613ac9a
Weekly 13.1.0 Alpha 10
2022-01-24 03:12:39 +00:00
Nextcloud bot
eafceb9da9
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-22 03:56:09 +00:00
Nextcloud bot
9d9debbc7b
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-21 03:55:57 +00:00
Andy Scherzinger
236b3bb508
Bump android-gif-drawable from 1.2.23 to 1.2.24
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-01-20 23:09:23 +01:00
Nextcloud bot
34bba7fd7d
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-20 03:57:40 +00:00
Nextcloud bot
a661da61d2
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-19 03:56:09 +00:00
Nextcloud bot
7605e21cbe
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-18 04:14:43 +00:00
Nextcloud Android Bot
3bf5d07786
Weekly 13.1.0 Alpha 09
2022-01-17 03:11:40 +00:00
Nextcloud bot
c43d1f62d7
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-16 03:56:35 +00:00
Nextcloud bot
d3b9a9af4c
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-15 03:55:21 +00:00
Nextcloud bot
e693734b05
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-14 03:58:02 +00:00
Nextcloud bot
58eb6ae68f
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-13 03:56:37 +00:00
Marcel Hibbe
54552cdd87
restrict to start a call when permission is missing
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-12 12:29:06 +00:00
Marcel Hibbe
65e002fe98
render system message "call_ended_everyone"
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-12 12:29:06 +00:00
Marcel Hibbe
5272d35f01
fix to stop audio manager in ui thread
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-12 12:29:06 +00:00
Marcel Hibbe
d17a8e9dbd
ad some logging
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-12 12:29:06 +00:00
Marcel Hibbe
175f479d0f
replace check for boolean variant of inCallFlag
...
(boolean variant is deprecated since nc14)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-12 12:29:06 +00:00
Marcel Hibbe
76aaafb024
replace deprecated ParticipantFlags with InCallFlags
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-12 12:29:06 +00:00
Marcel Hibbe
f70f94e6be
hangup when currentSession has inCall flag = 0
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-12 12:29:06 +00:00
Marcel Hibbe
b3b8c867f7
fix typo
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-12 12:29:06 +00:00
Nextcloud bot
87fba314c9
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-12 03:55:46 +00:00
Andy Scherzinger
16246e9fe2
only show mark as unread in debug mode
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-01-11 14:53:48 +01:00
Nextcloud bot
20904d95c1
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-11 03:56:53 +00:00
Nextcloud bot
3b60fae489
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-10 03:59:16 +00:00
Nextcloud Android Bot
2508490724
Weekly 13.1.0 Alpha 08
2022-01-10 03:11:45 +00:00
Nextcloud bot
e90b5338f2
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-09 03:53:39 +00:00
Nextcloud bot
fd71cd3be2
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-08 03:54:00 +00:00
Nextcloud bot
69518cbe0f
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-07 14:44:30 +00:00
Dariusz Olszewski
c99da0282d
Null ringtone Uri must be allowed
...
App would crash on pre-Oreo devices with "No sound" setting
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-01-05 11:03:59 +01:00
Dariusz Olszewski
d99295118b
SpotBugs
...
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-01-05 11:03:59 +01:00
Dariusz Olszewski
648b9cbb82
Remove unused notification channels during upgrade
...
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-01-05 11:03:58 +01:00
Andy Scherzinger
12e1d9b7de
use existing constant
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-01-05 10:28:07 +01:00
Andy Scherzinger
10f2c3be3a
make unread work for chat messages based on adapter data
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-01-05 10:28:07 +01:00
Andy Scherzinger
58c0106ec7
calculate previous message id when possible
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-01-05 10:28:07 +01:00
Andy Scherzinger
de085df3bc
add proper API version detection
...
don't let switch fall through
make api versions constants
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-01-05 10:28:07 +01:00
Andy Scherzinger
1521e13e21
mark message as unread / conversation as read
...
Resolves #1464
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-01-05 10:28:06 +01:00
Dariusz Olszewski
996c4c5280
ktlint... :-|
...
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-01-04 15:38:25 +01:00
Dariusz Olszewski
385edf35a2
Image keyboard support in chat
...
Receive images (usually GIFs) from keyboard and upload them to the current chat.
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-01-04 15:38:24 +01:00
Nextcloud Android Bot
7a15f7ca78
Weekly 13.1.0 Alpha 07
2021-12-27 03:10:03 +00:00
Tim Krüger
c26d6afddb
Remove implied default locale in case conversion
...
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-21 12:03:57 +01:00
Tim Krüger
81734bd647
Add test for login flow
...
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-21 11:14:13 +01:00
Nextcloud Android Bot
c70f608519
Weekly 13.1.0 Alpha 06
2021-12-20 03:09:57 +00:00
Marcel Hibbe
fef9c24232
minor refactoring in NotificationUtils
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-12-15 15:54:20 +01:00
Dariusz Olszewski
09879ff347
Proposed UI changes of notification settings
...
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-12-14 22:05:48 +01:00
Dariusz Olszewski
39f69003b5
Safer to use NotificationManagerCompat rather than NotificationManager
...
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-12-14 22:05:48 +01:00
Dariusz Olszewski
2f4aa35c53
Register notification channels on app start-up (Oreo or later)
...
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-12-14 22:05:48 +01:00
Dariusz Olszewski
2e4130c2c4
Fix (some) ktlint issues
...
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-12-14 22:05:48 +01:00
Dariusz Olszewski
e9ac99c5df
Notification settings UI on Oreo or later
...
* On devices with Android 8.0 (Oreo) or later, use system UI to change notification settings.
* Refactor sound selection code to cover differences between old (pre Oreo) and new devices.
* Always use the same notification channel for calls (Oreo or later).
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-12-14 22:05:48 +01:00
Dariusz Olszewski
4a5f6cf1fe
Do not play notification sounds on Oreo or later
...
On devices with Android 8.0 (Oreo) or later, notification sound will be handled by the system, if notifications have not been disabled by the user.
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-12-14 22:05:47 +01:00
Tim Krüger
2bf470e0e6
Fix unread indirect mention bg color
...
The background color for the indirect unread mention counter was alwasys
white. Also in dark mode.
Now the background color is defined via the 'bg_default' color.
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-14 11:39:34 +01:00
Nextcloud Android Bot
0bedb8d150
Weekly 13.1.0 Alpha 05
2021-12-13 03:10:51 +00:00
Nextcloud bot
64276f3983
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-11 03:56:44 +00:00
Nextcloud bot
e8d5ad3995
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-09 04:00:27 +00:00
Tim Krueger
56465e314c
Merge pull request #1619 from nextcloud/feature/1547/setup-test-automation-on-ci
...
Feature/1547/setup test automation on ci
2021-12-08 16:52:07 +01:00
Tim Krüger
2206dfab65
Revert 'mockito-core' to 3.12.4
...
With 'mockito-core' 4.0.0 an bug in combination with powermock is
introduced [1]. So the version is reverted to 3.12.4, the last version
before 4.0.0.
See: [1] https://github.com/powermock/powermock/issues/1109
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-08 16:25:18 +01:00
tobiasKaminsky
5ad48b3757
initial idea to login in during tests
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-08 16:25:18 +01:00
Tim Krüger
aaa9567c19
Skip test 'ShareUtils#date'
...
The test will be skipped on the CI server because it fails there:
com.nextcloud.talk.utils.ShareUtilsIT > date[android-27(AVD) - 8.1.0] FAILED
java.lang.AssertionError: expected:<1207778138000> but was:<1207785338000>
at org.junit.Assert.fail(Assert.java:88)
Locally the test works fine. For this problem a issue were created.
See: #1737
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-08 14:52:21 +01:00
Nextcloud bot
48c7acdb47
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-08 04:08:50 +00:00
Tim Krüger
390fa154b5
Fixed example instrumented test
...
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-07 11:32:01 +01:00
Tim Krüger
707841ec29
Mock the companion object correctly
...
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-07 09:45:05 +01:00
Tim Krüger
c854d8c3ae
Replace deprecated methods
...
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-07 09:45:05 +01:00
Tim Krueger
acd0bb7cd5
Merge pull request #1733 from nextcloud/bugfix/1730/guests-without-names-quotes
...
Show quotes of unnamed guests with "Guests"
2021-12-06 14:41:48 +01:00
Nextcloud bot
4b852114c5
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-06 04:05:02 +00:00
Nextcloud Android Bot
a8efa67209
Weekly 13.1.0 Alpha 04
2021-12-06 03:13:55 +00:00
Tim Krüger
eb1512b890
Show quotes of unnamed guests with "Guests"
...
Before this change the default "Guests" label only was set if the actor
display name was 'null'.
Resolves : #1730
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-03 11:30:16 +01:00
Andy Scherzinger
29b15a190a
Align file browser layout and folder icon with files client
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-12-02 18:23:06 +01:00
Tim Krüger
567326da5a
Resolve klint issues
...
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-02 12:54:26 +01:00
Tim Krüger
7852fc9e30
Don't mirror check icon in RTL
...
The check icon for selection in the contact listwas inverted.
Now correct orientation (✅ ) is used in LTR and RTL.
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-02 12:45:37 +01:00
Nextcloud bot
71a7e483ab
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-01 18:52:14 +00:00
Nextcloud bot
dd7b8b8f0a
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-30 04:02:30 +00:00
Nextcloud bot
2a70900014
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-29 03:56:36 +00:00
Nextcloud Android Bot
ed585d5dd0
Weekly 13.1.0 Alpha 03
2021-11-29 03:11:30 +00:00
Nextcloud bot
bfc3d3406a
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-26 04:19:04 +00:00
Nextcloud bot
2fbd9cc266
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-25 03:57:44 +00:00
Nextcloud bot
961da3a72a
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-24 03:59:19 +00:00
Marcel Hibbe
d377b6f136
fix klint
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-23 12:29:53 +01:00
Marcel Hibbe
b652b1136e
fix to stop notification if user joined on other device
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-23 12:29:53 +01:00
Marcel Hibbe
5bb8de673e
hangup call notification screen after 1 minute
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-23 11:27:50 +01:00
Marcel Hibbe
ec40ca9b66
hangup call notification after 1 minute
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-23 11:27:47 +01:00
Marcel Hibbe
8381e0b541
add logging for calls
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-22 22:41:17 +01:00
Nextcloud Android Bot
b612ae1cad
Weekly 13.1.0 Alpha 02
2021-11-22 03:11:45 +00:00
Nextcloud bot
ada5e214cc
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-21 03:56:54 +00:00
Nextcloud bot
9a222e2ae6
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-20 04:17:12 +00:00
Nextcloud bot
28cf4567c4
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-19 04:41:45 +00:00
Andy Scherzinger
47aa8ea5d4
make all cam buttons reflect current state instead of triggered action
...
Resolves #1694
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-18 12:49:14 +00:00
Andy Scherzinger
514a2f0cc6
Merge pull request #1699 from nextcloud/deleteLeaveRoom
...
delete unused method leaveRoom
2021-11-17 15:02:38 +01:00
Marcel Hibbe
4167cb63bf
share contact from attachment dialog
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-17 12:12:05 +01:00
Tim Krueger
b87cc5927f
Merge pull request #1700 from nextcloud/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.1.2
...
Bump constraintlayout from 2.1.1 to 2.1.2
2021-11-17 11:15:34 +01:00
Nextcloud bot
2871122696
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-17 04:14:10 +00:00
dependabot[bot]
5f8b05ff4a
Bump constraintlayout from 2.1.1 to 2.1.2
...
Bumps [constraintlayout](https://github.com/androidx/constraintlayout ) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/androidx/constraintlayout/releases )
- [Commits](https://github.com/androidx/constraintlayout/commits )
---
updated-dependencies:
- dependency-name: androidx.constraintlayout:constraintlayout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-17 02:06:20 +00:00
Marcel Hibbe
477100ccd8
delete unused method leaveRoom
...
delete redundant if-check
cleanup of commit ca9a622030
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-16 19:53:45 +01:00
Marcel Hibbe
ca0948d1af
Merge pull request #1696 from nextcloud/bugfix/1690/showCallControls
...
fix to show call controls when connecting
2021-11-16 17:58:03 +01:00
Marcel Hibbe
41ff61be5f
set pipGroupCallOverlay to gone when not needed
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-16 16:19:18 +01:00
Marcel Hibbe
9499b8117b
fix that call controls appear on touch when connecting
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-16 16:19:17 +01:00
Marcel Hibbe
e2668c4000
delete zlevel of call controls (not needed)
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-16 16:19:17 +01:00
Marcel Hibbe
48cda08854
delete if-checks for view bindings
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-16 16:19:17 +01:00
Andy Scherzinger
408094e919
Merge pull request #1680 from nextcloud/bugfix/1631/settingsSublined
...
Make all infos a subline
2021-11-16 15:39:39 +01:00
Nextcloud bot
8250e3810a
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-16 03:52:08 +00:00
Andy Scherzinger
589858bf3d
make all infos a subline
...
Resolves #1631
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-15 21:14:37 +01:00
Marcel Hibbe
6aa90b37f0
bump version to 13.1.0 Alpha 01
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-15 13:39:37 +01:00
Marcel Hibbe
f2e75a7b71
add workaround to start videocalls when PIP is disabled
...
this is a dirty workaround for issue #1677
Somehow onUserLeaveHint is executed when the user starts a videocall. If PIP is disabled, the logic inside enterPipMode would finish the activity right after it was started.
This workaround suppresses the execution of enterPipMode right after the activity was started.
However if a user would press the home button in the first three seconds, the call would continue in background without the ability to recover the UI.
To better fix this bug it must be found out why onUserLeaveHint is executed on start (this should not happen!).
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-15 12:19:40 +01:00
Nextcloud bot
e599157626
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-15 03:50:47 +00:00
Nextcloud Android Bot
27a3000886
Weekly 13.0.0 Alpha 02
2021-11-15 03:13:07 +00:00
Nextcloud bot
38a022004a
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-14 03:52:33 +00:00
Nextcloud bot
a111ae694d
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-13 03:54:18 +00:00
dependabot[bot]
062d6699d4
Bump daggerVersion from 2.40 to 2.40.1
...
Bumps `daggerVersion` from 2.40 to 2.40.1.
Updates `dagger` from 2.40 to 2.40.1
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.40...dagger-2.40.1 )
Updates `dagger-compiler` from 2.40 to 2.40.1
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.40...dagger-2.40.1 )
---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-compiler
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-12 11:20:20 +00:00
Andy Scherzinger
39d0052fb4
Merge pull request #1542 from nextcloud/feature/306/directCamUpload
...
Adding upload from camera action
2021-11-12 12:19:06 +01:00
Andy Scherzinger
4671b18b91
Add license headers
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-12 09:45:49 +01:00
Nextcloud bot
2a5a2e81fa
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-12 03:49:44 +00:00
Andy Scherzinger
2eee665374
spotbugs: remove unused view variable
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:57 +01:00
Andy Scherzinger
0a3b23ba57
don't box primitives
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:56 +01:00
Andy Scherzinger
5f8c69115b
use standardized values
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:56 +01:00
Andy Scherzinger
fd754f582b
migrate scope dialog to native view binding
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:55 +01:00
Andy Scherzinger
c680888dba
remove unused color value
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:55 +01:00
Andy Scherzinger
d995fc51ef
move attachment dialog to native view bindings
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:54 +01:00
Andy Scherzinger
a5ede889c0
bump cam libs
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:54 +01:00
Andy Scherzinger
d0f52c8eba
make sure to torn of torch after taking a picture
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:53 +01:00
Andy Scherzinger
dd9501590b
replace resolution and crop icons and preserve state in lifecycle
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:53 +01:00
Adam Serbinski
c3a37222b3
Crop and 2MP buttons to go away when reviewing
...
Signed-off-by: Adam Serbinski <adam@serbinski.com>
2021-11-11 22:10:52 +01:00
Adam Serbinski
7edd87fa4e
Add crop and low res (2MP) drawables
...
Signed-off-by: Adam Serbinski <adam@serbinski.com>
2021-11-11 22:10:52 +01:00
Adam Serbinski
13d376b25b
Add toggles for crop and lowres
...
Upper left -- crop
Upper right -- lowres (1920x?)
Signed-off-by: Adam Serbinski <adam@serbinski.com>
2021-11-11 22:10:51 +01:00
Adam Serbinski
d2d98314ee
Upload from camera: pinch to zoom, apect ratio
...
This implements pinch to zoom in the full range supported by the
camera HAL, fixes aspect ration handling on rotation, and sets up
for multiple resolution and aspect ratio support.
Signed-off-by: Adam Serbinski <adam@serbinski.com>
2021-11-11 22:10:51 +01:00
Andy Scherzinger
9635a71b0d
improve menu text and send button design
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:51 +01:00
Andy Scherzinger
45402ea202
taost the right text
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:50 +01:00
Andy Scherzinger
ab4bba0f27
add cam permission check
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:50 +01:00
Andy Scherzinger
03cb3a66c6
move flash/flip-cam toggles
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:49 +01:00
Andy Scherzinger
c78967b6b1
optimize preview alignment
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:49 +01:00
Andy Scherzinger
552f0555f1
replace retake icon for cam view
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:48 +01:00
Andy Scherzinger
bdc157d772
spotbugs: remove needlessly boxing a boolean constant
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:48 +01:00
Andy Scherzinger
439c5555c4
removing unused files
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:47 +01:00
Andy Scherzinger
14a3e488cc
limit image size for cam uploads to FHD
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:47 +01:00
Andy Scherzinger
7e688c43af
update cam libs to sdk=30 versions, improve previews and removal of temp images in case of cancellations
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:47 +01:00
Andy Scherzinger
67c421a067
add retake, send actions and preview
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:46 +01:00
Andy Scherzinger
547e9ebf8b
improve camera layout
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:46 +01:00
Andy Scherzinger
56d57c0b37
improve code check score
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:45 +01:00
Andy Scherzinger
4041d3f09b
use context compat to load resources
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:45 +01:00
Andy Scherzinger
0b8add1f69
Adding upload from camera action
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Co-Authored-by: Stefan Niedermann <info@niedermann.it>
2021-11-11 22:10:41 +01:00
Marcel Hibbe
14abe52b6a
rename CallActivityBase to CallBaseActivity
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:52:18 +01:00
Marcel Hibbe
bc12ee35b4
modify strings
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:52:18 +01:00
Marcel Hibbe
36c5f0814b
remove avatar blurring for background (=fix blocking of call controls)
...
no blurring or other background color calculation is done any more. BlurPostProcessor took too long for the used image size. If this is a requirement in the future, use ScalingBlurPostprocessor instead of BlurPostprocessor (so fresco lib fork from nextcloud has to be updated!), see https://frescolib.org/docs/modifying-image.html
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:52:18 +01:00
Marcel Hibbe
9070153d5c
create abstract class for CallActivity and CallNotificationActivity
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:52:18 +01:00
Marcel Hibbe
be9971ad7a
disable back button when pip is not available
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:52:18 +01:00
Marcel Hibbe
e6da2fcc19
replace hardcoded applicationId for pip permission check
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:52:18 +01:00
Marcel Hibbe
89d0bcfc78
hide navigation bar if pip is not available
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:52:18 +01:00
Marcel Hibbe
f5106e6050
check if pip mode is granted on device, otherwise hide button
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:52:18 +01:00
Marcel Hibbe
39a3c9edb5
fix to fully view call controls
...
(were cut at left and right on some devices)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:52:18 +01:00
Marcel Hibbe
f9a28cb0aa
fix to hide selfVideo when pip-view is tapped
...
on some devices (reproduced with Pixel2 on api level30) the own video became visible when the pip view was tapped. This fix should hide the own video.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:52:18 +01:00
Marcel Hibbe
289bd2fa00
fix klint error
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
63593df03e
hide peer name when in pip mode
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
052dc588aa
remove comment
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
b822eb8417
reformat code in CallNotificationActivity
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
b3f8a36c62
load avatar again in CallNotificationActivity
...
was only disabled for debugging. still needs to be fixed with https://github.com/nextcloud/talk-android/issues/1234
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
7a7888f5d1
reformat code in CallActivity
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
71ae7eddc2
move code from onStart to onCreate
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
0bfeb1b320
add action button to mute/unmute in pip mode
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
4a1c637efc
add checks if pip is supported by device
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
a0c95113bf
display overlay instead of grid in pip view for group calls
...
this is a quick and dirty solution until "speaker view" is introduced in the future which should be used for the pip view.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
57804c8d62
dismiss keyguard for CallNotificationActivity (WIP, see TODO)
...
Whenever i click the button to accept the call, CallActivity is started by intent.
CallActivity itself has the same logic to dismiss the keyguard.
The problem is: When switching from CallNotificationActivity to CallActivity the lockscreen is shown indeed!
So i guess Android recognizes "oh, CallNotificationActivity is gone. Let's show the lockscreen" before it recognizes that
the new activity also dismiss the lockscreen ?!
I fear for this scenario it was not the best idea to have 2 different activies.. (before it was only 1 activity and 2 condcutor controllers..)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
e05334cb9a
enable pip support for CallNotificationActivity
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
7e68ecbde9
rename "runAllThings"
...
:D :D
setUpAfterConversationIsKnown might not be the best name, but i'm not sure when in onCreate the currentConversation can be null. depending on that it might even not be necessary to have the "things" in a method..
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
3326b6a7f3
rename design for CallActivity
...
move methods
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
c7e38e4859
replace CallNotificationController with Activity (WIP)
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
251d41f7fb
replace CallController with CallActivity etc. (WIP)
...
- delete MagicCallActivity
- replace butterknife with viewbinding for CallActivity
TODO:
- also switch CallNotificationController to Activity
- check if CallActivity and CallNotificationActivity are called correctly
- testing!
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
b49a1b9274
remove unused import
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
06fab75c30
remove unused view
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
3afcceae50
delete creation of intent that is not used
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
03913b40a2
fix to enable pip for CallNotification Controller
...
methods to update UI are not yet implemented. maybe it's better to make two Activities: one for Call and one for CallNotification...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
0d1e0af9d1
fix NPE when call is joined by notification
...
add ability to have PIP mode for calls joined by notification
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
51b86b5a88
fix currentRoomToken for ApplicationWideCurrentRoomHolder
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
e0e3bf4c32
add logging and comments
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
2c1b45491d
start pip mode when back button is pressed
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
78653e7d8d
show call controls in videocall when entering call or when come back from pip mode
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
12d96634e5
fix to show call controls in voiceOnly call after coming back from pip mode
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
1ae5f51a81
hide pip button for android < 8
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
6839b9eb2c
fix animation of callControls
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00