nextcloud-talk-android/app/src/main/java/com/nextcloud/talk/activities
Marcel Hibbe bad8e2a705
avoid IllegalStateException for CallActivity#stopCallingSound
This might happen sometimes. For now it's a try-catch instead trying to control the state of the mediaPlayer which could be quite difficult.

this will avoid the following exception:

    java.lang.IllegalStateException
    	at android.media.MediaPlayer.isPlaying(Native Method)
    	at com.nextcloud.talk.activities.CallActivity.stopCallingSound(CallActivity.java:2640)
    	at com.nextcloud.talk.activities.CallActivity.lambda$setCallState$31$com-nextcloud-talk-activities-CallActivity(CallActivity.java:2583)
    	at com.nextcloud.talk.activities.CallActivity$$ExternalSyntheticLambda7.run(Unknown Source:2)
    	at android.os.Handler.handleCallback(Handler.java:883)
    	at android.os.Handler.dispatchMessage(Handler.java:100)
    	at android.os.Looper.loop(Looper.java:237)
    	at android.app.ActivityThread.main(ActivityThread.java:8167)
    	at java.lang.reflect.Method.invoke(Native Method)
    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-02-09 14:00:15 +01:00
..
BaseActivity.kt Set minSdkVersion to 23 (Android 6) 2022-12-07 13:45:57 +01:00
CallActivity.java avoid IllegalStateException for CallActivity#stopCallingSound 2023-02-09 14:00:15 +01:00
CallBaseActivity.java add recording related buttons to call screen 2023-01-31 15:55:05 +01:00
CallNotificationActivity.kt show recording controls depending on moderator state 2023-01-31 15:55:08 +01:00
CallStatus.kt Migrate to new parcelize Implementation for Kotlin 1.8, also extend chatKit MessageInput to provide access to UI elements of that component 2022-12-30 16:58:42 +01:00
FullScreenImageActivity.kt bump compileSdkVersion to 32 2022-11-16 11:15:21 +01:00
FullScreenMediaActivity.kt bump compileSdkVersion to 32 2022-11-16 11:15:21 +01:00
FullScreenTextViewerActivity.kt bump compileSdkVersion to 32 2022-11-16 11:15:21 +01:00
MainActivity.kt remove some logging 2022-12-15 10:36:23 +01:00
TakePhotoActivity.java add chunked upload for files 2022-09-15 16:22:59 +02:00