Commit f09a3ea8 authored by fallenstardust's avatar fallenstardust

测试校准屏幕

parent 7f056a70
...@@ -17,23 +17,12 @@ ...@@ -17,23 +17,12 @@
特别感谢: 菜菜,尸体,废话多,大毛,龙道香姐,晓L,幻兽L 的支持与努力. 特别感谢: 菜菜,尸体,废话多,大毛,龙道香姐,晓L,幻兽L 的支持与努力.
</pre> </pre>
<ul> <ul>
<li style="color:#ffff00">3.3.8</li> <li style="color:#ffff00">3.3.9</li>
</ul> </ul>
<pre> <pre>
更新: 更新:
1.更新ygo内核; 1.更新ygo内核;
2.新卡DP21; 2.新卡YCPC+LVP2+VJ;
3.可选自动保存录像;
4.ygopro支持复数关键词查卡;
新增:
1.复制文本自动识别关键词卡查功能
(格式:?+关键词;如“?青眼”)
优化:
1.复制约战信息和关键词查询功能统一由
「决斗助手」服务管理,可由通知栏关闭;
2.通过点击通知栏的「决斗助手」
可以直接进入主界面;
3.SD卡读写权限申请改为自动;
</pre> </pre>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -8,8 +8,8 @@ android { ...@@ -8,8 +8,8 @@ android {
applicationId "cn.garymb.ygomobile" applicationId "cn.garymb.ygomobile"
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 22 targetSdkVersion 22
versionCode 330801118 versionCode 330901127
versionName "3.3.8" versionName "3.3.9"
flavorDimensions "versionCode" flavorDimensions "versionCode"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
ndk { ndk {
......
...@@ -74,7 +74,7 @@ public class AppsSettings { ...@@ -74,7 +74,7 @@ public class AppsSettings {
} else { } else {
display.getMetrics(dm); display.getMetrics(dm);
} }
int realHeight = dm.heightPixels; int realHeight = dm.widthPixels;
return realHeight; return realHeight;
} }
...@@ -87,9 +87,9 @@ public class AppsSettings { ...@@ -87,9 +87,9 @@ public class AppsSettings {
if (dm != null) { if (dm != null) {
int height = Math.max(dm.widthPixels, dm.heightPixels); int height = Math.max(dm.widthPixels, dm.heightPixels);
if (mScreenHeight == Math.max(mScreenHeight, mScreenWidth)) { if (mScreenHeight == Math.max(mScreenHeight, mScreenWidth)) {
mScreenHeight = height; mScreenHeight = getRealHeight(context);
} else { } else {
mScreenWidth = height; mScreenWidth = getRealHeight(context);
} }
} }
} }
......
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