Skip to content

Commit f79d80a

Browse files
committed
修复已知问题
1 parent 6730e5d commit f79d80a

File tree

7 files changed

+14
-22
lines changed

7 files changed

+14
-22
lines changed

app/build.gradle

+8-8
Original file line numberDiff line numberDiff line change
@@ -77,20 +77,20 @@ dependencies {
7777
implementation 'com.squareup.okhttp3:okhttp:3.11.0'
7878
implementation 'com.google.code.gson:gson:2.8.5'
7979
//播放器SDK
80-
implementation project(':iplayer')
80+
// implementation project(':iplayer')
8181
//ijk音视频解码器
82-
implementation project(':ijk')
82+
// implementation project(':ijk')
8383
//exo音视频解码器
84-
implementation project(':exo')
84+
// implementation project(':exo')
8585
//音视频缓存
86-
implementation project(':cache')
86+
// implementation project(':cache')
8787

8888
//播放器SDK
89-
// implementation 'com.github.hty527.iPlayer:iplayer:2.0.5.3'
89+
implementation 'com.github.hty527.iPlayer:iplayer:2.0.5.3'
9090
//音视频预缓存+边播边存,根据需要使用
91-
// implementation 'com.github.hty527.iPlayer:cache:2.0.5.3'
91+
implementation 'com.github.hty527.iPlayer:cache:2.0.5.3'
9292
//ijk音视频解码器,根据自己需要实现
93-
// implementation 'com.github.hty527.iPlayer:ijk:2.0.5.3'
93+
implementation 'com.github.hty527.iPlayer:ijk:2.0.5.3'
9494
//exo音视频解码器,根据自己需要实现
95-
// implementation 'com.github.hty527.iPlayer:exo:2.0.5.3'
95+
implementation 'com.github.hty527.iPlayer:exo:2.0.5.3'
9696
}

app/src/main/java/com/android/videoplayer/utils/DataFactory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public List<Menu> getMenus() {
8181
Version version=new Version();
8282
version.setCode("2.0.xx");
8383
version.setTime(getString(R.string.text_item_time,"待定,请持续关注"));
84-
version.setDescript(getString(R.string.text_item_desc,"1、新增重力旋转功能,支持重力旋转开关及阻尼设置"));
84+
version.setDescript(getString(R.string.text_item_desc,"1、播放器默认UI交互抽离独立封装成库,优化播放器SDK大小。\n2、新增重力旋转功能,支持重力旋转开关及阻尼设置"));
8585
menu.setVersion(version);
8686
menus.add(menu);
8787
return menus;

app/src/main/res/values-zh-rCN/strings.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<string name="text_item_home">项目主页</string>
3737
<string name="text_item_version">版本预告</string>
3838
<string name="text_item_time">待定,请持续关注</string>
39-
<string name="text_item_desc">1、新增重力旋转功能,支持重力旋转开关及阻尼设置</string>
39+
<string name="text_item_desc">1、播放器默认UI交互抽离独立封装成库,优化播放器SDK大小\n2、新增重力旋转功能,支持重力旋转开关及阻尼设置</string>
4040
<string name="text_item_sub_noimal">基础</string>
4141
<string name="text_item_sub_list">列表</string>
4242
<string name="text_item_sub_window">窗口</string>

app/src/main/res/values/strings.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<string name="text_item_home">Project homepage</string>
3737
<string name="text_item_version">Version of the trailer</string>
3838
<string name="text_item_time">Undetermined, please stay tuned</string>
39-
<string name="text_item_desc">1、New gravity rotation function, support the gravity rotation switch and damping setting</string>
39+
<string name="text_item_desc">1、Player default UI interactive extraction from the independent package into a library, optimize the player SDK size\n2、New gravity rotation function, support the gravity rotation switch and damping setting</string>
4040
<string name="text_item_sub_noimal">Basis</string>
4141
<string name="text_item_sub_list">List</string>
4242
<string name="text_item_sub_window">Window</string>

doc/apk/iPlayer-2.0.5.apk

0 Bytes
Binary file not shown.

doc/update/updateLog.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
历史版本
22

33
### 2.0.5.3
4-
**更新日期:** 2022-9-8<br/>
4+
**更新日期:** 2022-9-9<br/>
55
**更新内容:**<br/>
6-
>1. 优化播放器<br/>
6+
>1. 修复已知BUG<br/>
7+
>2. 祝大家中秋节快乐,阖家安康!<br/>
78
___
89
### 2.0.5.2
910
**更新日期:** 2022-9-6<br/>

iplayer/src/main/java/com/android/iplayer/controller/GestureController.java

-9
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ public void setDoubleTapTogglePlayEnabled(boolean enabled) {
101101
*/
102102
private class SimpleOnGesture extends GestureDetector.SimpleOnGestureListener{
103103

104-
private boolean isDoubleTap=false;
105-
106104
@Override
107105
public boolean onDown(MotionEvent e) {
108106
boolean edge = PlayerUtils.getInstance().isEdge(getParentContext(), e);
@@ -132,11 +130,6 @@ public boolean onDown(MotionEvent e) {
132130
*/
133131
@Override
134132
public boolean onSingleTapConfirmed(MotionEvent e) {
135-
if(isDoubleTap){//如果刚刚响应了双击事件,则放弃此次单击事件
136-
isDoubleTap=false;
137-
return true;
138-
}
139-
// ILogger.d(TAG,"onSingleTapConfirmed");
140133
onSingleTap();
141134
return true;
142135
}
@@ -148,8 +141,6 @@ public boolean onSingleTapConfirmed(MotionEvent e) {
148141
*/
149142
@Override
150143
public boolean onDoubleTap(MotionEvent e) {
151-
// ILogger.d(TAG,"onDoubleTap");
152-
isDoubleTap=true;
153144
if(mIsDoubleTapTogglePlayEnabled){
154145
GestureController.this.onDoubleTap();
155146
}

0 commit comments

Comments
 (0)