Fixed issue in overlay preventing user to go back to call activity
This commit is contained in:
parent
df42812afc
commit
f23c28415a
2 changed files with 2 additions and 1 deletions
|
@ -86,7 +86,7 @@
|
|||
android:windowSoftInputMode="adjustResize"/>
|
||||
|
||||
<activity android:name=".activities.call.CallActivity"
|
||||
android:launchMode="singleTop"
|
||||
android:launchMode="singleInstance"
|
||||
android:showWhenLocked="true"
|
||||
android:supportsPictureInPicture="true" />
|
||||
|
||||
|
|
|
@ -399,6 +399,7 @@ class CoreContext(val context: Context, coreConfig: Config) {
|
|||
}
|
||||
MotionEvent.ACTION_UP -> {
|
||||
if (abs(overlayX - params.x) < 5 && abs(overlayY - params.y) < 5) {
|
||||
Log.i("[Core Context] Overlay clicked, go back to call view")
|
||||
onCallStarted()
|
||||
}
|
||||
overlayX = params.x.toFloat()
|
||||
|
|
Loading…
Reference in a new issue