mirror of
https://github.com/nextcloud/talk-android
synced 2025-01-19 05:30:15 +00:00
Override back press to properly clean up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
0e78d0f64d
commit
a6e854bc9f
@ -12,8 +12,8 @@ android {
|
||||
targetSdkVersion 27
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
|
||||
versionCode 8
|
||||
versionName "1.0.0"
|
||||
versionCode 9
|
||||
versionName "1.0.1"
|
||||
|
||||
// Enabling multidex support.
|
||||
multiDexEnabled true
|
||||
|
@ -1362,6 +1362,10 @@ public class CallActivity extends AppCompatActivity {
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBackPressed() {
|
||||
onHangupClick();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user