Go to chat when clicking on a message notifications received by push

This commit is contained in:
Sylvain Berfini 2018-03-02 17:46:48 +01:00
parent 628f5806ab
commit 84161b4079

View file

@ -301,6 +301,11 @@ public class LinphoneActivity extends LinphoneGenericActivity implements OnClick
LinphoneManager.getLc().setDeviceRotation(rotation);
}
mAlwaysChangingPhoneAngle = rotation;
Bundle extras = getIntent().getExtras();
if (extras != null && extras.getBoolean("GoToChat", false)) {
onNewIntent(getIntent());
}
}
private void initButtons() {