mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed issue in permissions layout in landscape + post_notifications permission not granted alert when it was in fact granted
This commit is contained in:
parent
8ce91d1300
commit
a73e483478
3 changed files with 4 additions and 4 deletions
|
|
@ -344,6 +344,7 @@ class MainActivity : GenericActivity() {
|
|||
|
||||
viewModel.checkForNewAccount()
|
||||
viewModel.updateNetworkReachability()
|
||||
viewModel.updatePostNotificationsPermission()
|
||||
}
|
||||
|
||||
override fun onNewIntent(intent: Intent) {
|
||||
|
|
|
|||
|
|
@ -283,9 +283,7 @@ class MainViewModel @UiThread constructor() : ViewModel() {
|
|||
addAlert(NETWORK_NOT_REACHABLE, label)
|
||||
}
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
||||
checkPostNotificationsPermission()
|
||||
}
|
||||
updatePostNotificationsPermission()
|
||||
|
||||
if (core.callsNb > 0) {
|
||||
updateCallAlert()
|
||||
|
|
|
|||
|
|
@ -216,11 +216,12 @@
|
|||
android:layout_marginTop="32dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginBottom="@dimen/screen_bottom_margin"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:paddingStart="20dp"
|
||||
android:paddingEnd="20dp"
|
||||
android:text="@string/assistant_permissions_skip_permissions"
|
||||
app:layout_constraintWidth_max="@dimen/button_max_width"
|
||||
app:layout_constraintVertical_bias="1"
|
||||
app:layout_constraintTop_toBottomOf="@id/access_camera_title"
|
||||
app:layout_constraintBottom_toTopOf="@id/grant_all_permissions"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue