mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed conversation opened upon rotating the device after clicking on message notification
This commit is contained in:
parent
058a88424c
commit
5e727b4e42
1 changed files with 3 additions and 5 deletions
|
|
@ -284,12 +284,10 @@ class MainActivity : GenericActivity() {
|
|||
|
||||
goToLatestVisitedFragment()
|
||||
|
||||
if (intent != null) {
|
||||
Log.d("$TAG Post create intent not null, handling it")
|
||||
// We don't want that intent to be handled upon rotation
|
||||
if (savedInstanceState == null && intent != null) {
|
||||
Log.d("$TAG savedInstanceState is null but intent isn't, handling it")
|
||||
handleIntent(intent)
|
||||
} else {
|
||||
// This should never happen!
|
||||
Log.e("$TAG onPostCreate called without intent !")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue