Added missing show_when_locked flag on call activity
This commit is contained in:
parent
9840510996
commit
6f6de8279b
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,7 @@ import java.util.TimerTask;
|
|||
import org.linphone.LinphoneActivity;
|
||||
import org.linphone.LinphoneManager;
|
||||
import org.linphone.R;
|
||||
import org.linphone.compatibility.Compatibility;
|
||||
import org.linphone.contacts.ContactsManager;
|
||||
import org.linphone.contacts.LinphoneContact;
|
||||
import org.linphone.core.Address;
|
||||
|
@ -175,6 +176,7 @@ public class CallActivity extends LinphoneGenericActivity
|
|||
}
|
||||
|
||||
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
||||
Compatibility.setShowWhenLocked(this, true);
|
||||
|
||||
setContentView(R.layout.call);
|
||||
|
||||
|
|
Loading…
Reference in a new issue