Commit 06aa9cf7 by onuma

Merge branch 'communication/develop_onuma' into 'communication/develop'

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

See merge request !230
parents 206161b3 f7bb586b
...@@ -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