android: fix warning

This commit is contained in:
Saúl Ibarra Corretgé
2019-01-25 11:06:35 +01:00
committed by Saúl Ibarra Corretgé
parent 244f206a87
commit 349b1ff70e
@@ -16,6 +16,7 @@
package org.jitsi.meet.sdk;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.PictureInPictureParams;
import android.os.Build;
@@ -53,6 +54,7 @@ class PictureInPictureModule
* including when the activity is not visible (paused or stopped), if the
* screen is locked or if the user has an activity pinned.
*/
@TargetApi(Build.VERSION_CODES.O)
public void enterPictureInPicture() {
if (!isPictureInPictureSupported()) {
throw new IllegalStateException("Picture-in-Picture not supported");