You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ky...@apache.org on 2019/04/19 06:26:10 UTC
[incubator-weex] branch master updated: [WEEX][Weex-Android]
Android Q Weex System Version Adapter (#2336)
This is an automated email from the ASF dual-hosted git repository.
kyork pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git
The following commit(s) were added to refs/heads/master by this push:
new 80cc6cf [WEEX][Weex-Android] Android Q Weex System Version Adapter (#2336)
80cc6cf is described below
commit 80cc6cf6c06f9b0b3ccd95226195cc27541b529b
Author: codefurture <gu...@163.com>
AuthorDate: Fri Apr 19 14:26:05 2019 +0800
[WEEX][Weex-Android] Android Q Weex System Version Adapter (#2336)
---
android/sdk/src/main/java/com/taobao/weex/WXEnvironment.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/android/sdk/src/main/java/com/taobao/weex/WXEnvironment.java b/android/sdk/src/main/java/com/taobao/weex/WXEnvironment.java
index 8add0db..ed9600b 100644
--- a/android/sdk/src/main/java/com/taobao/weex/WXEnvironment.java
+++ b/android/sdk/src/main/java/com/taobao/weex/WXEnvironment.java
@@ -56,6 +56,9 @@ public class WXEnvironment {
if(SYS_VERSION != null && SYS_VERSION.toUpperCase().equals("P")){
SYS_VERSION = "9.0.0";
}
+ if(SYS_VERSION != null && SYS_VERSION.toUpperCase().equals("Q")){
+ SYS_VERSION = "10.0.0";
+ }
}
public static final String SYS_MODEL = android.os.Build.MODEL;
public static final String EAGLE = "eagle";