提交 29ced8b3 编写于 作者: G guoshuyu

update support isNeedRotateWithSystem with Detail

上级 3cc7aad0
...@@ -150,7 +150,7 @@ public class DetailPlayer extends AppCompatActivity { ...@@ -150,7 +150,7 @@ public class DetailPlayer extends AppCompatActivity {
Debuger.printfError("***** onPrepared **** " + objects[1]); Debuger.printfError("***** onPrepared **** " + objects[1]);
super.onPrepared(url, objects); super.onPrepared(url, objects);
//开始播放了才能旋转和全屏 //开始播放了才能旋转和全屏
orientationUtils.setEnable(needRotateSystem()); orientationUtils.setEnable(detailPlayer.isRotateWithSystem());
isPlay = true; isPlay = true;
...@@ -392,8 +392,4 @@ public class DetailPlayer extends AppCompatActivity { ...@@ -392,8 +392,4 @@ public class DetailPlayer extends AppCompatActivity {
intent.setType("video/*"); intent.setType("video/*");
startActivityForResult(intent, READ_REQUEST_CODE); startActivityForResult(intent, READ_REQUEST_CODE);
} }
private boolean needRotateSystem() {
return false;
}
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册