Commit f7bb586b by onuma

PIPでjava.lang.IllegalStateExceptionが発生する問題対応

parent 85a0b2c6
...@@ -1324,9 +1324,11 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity implements ...@@ -1324,9 +1324,11 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity implements
* PIPモードに変更 * PIPモードに変更
*/ */
public void startPIPMode() { public void startPIPMode() {
PictureInPictureParams.Builder mPipBuilder = new PictureInPictureParams.Builder(); if (!startPIP) {
enterPictureInPictureMode(mPipBuilder.build()); PictureInPictureParams.Builder mPipBuilder = new PictureInPictureParams.Builder();
startPIP = true; enterPictureInPictureMode(mPipBuilder.build());
startPIP = true;
}
} }
public void exitPIPmode() { public void exitPIPmode() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment