Browse Source

1,去除剩余的江苏移动剩余痕迹
2,将出包文件命名格式有jsyd改为tjlt

lyn 5 years ago
parent
commit
9e4df47acd

+ 2 - 2
app/build.gradle

@@ -45,9 +45,9 @@ android {
                 def fileName
                 if (variant.buildType.name == "release") {
                     // 输出apk名称为
-                    fileName = "hc_vr_jsyd_${variant.versionName}_release_${releaseTime()}.apk"
+                    fileName = "hc_vr_tjlt_${variant.versionName}_release_${releaseTime()}.apk"
                 } else {
-                    fileName = "hc_vr_jsyd_${variant.versionName}_debug_${releaseTime()}.apk"
+                    fileName = "hc_vr_tjlt_${variant.versionName}_debug_${releaseTime()}.apk"
                 }
                 outputFileName = fileName
             }

+ 0 - 8
app/src/main/java/com/haochuan/hciptvbasic/webview/UtilToJS.java

@@ -38,10 +38,6 @@ public class UtilToJS {
     //将response传递给js
     private String JS_EVENT_RESPONSE ="javascript:onWebRequestResponse('%s','%s')";
 
-    //语音控制事件
-    public static final String JS_EVENT_PLAY_EVENT = "javascript:onVoicePlayEvent(%s)";
-
-
     /**
      * 兼容旧智慧平台接口用
      * 前端调用apk http请求回调事件
@@ -79,10 +75,6 @@ public class UtilToJS {
         JsUtil.evaluateJavascript(context,webView, JS_EVENT_BACK);
     }
 
-    public void onVoiceEvent(String action){
-        Logger.d("UtilToJS,onVoiceEvent()");
-        JsUtil.evaluateJavascript(context,webView, String.format(JS_EVENT_PLAY_EVENT,action));
-    }
 
 
     /*---------------------------------获取本地参数--------------------------*/

+ 0 - 1
ijkvideo/src/main/java/com/haochuan/systemvideo/IjkVideoPlayer.java

@@ -3,7 +3,6 @@ import android.content.Context;
 import android.media.MediaPlayer;
 import android.util.AttributeSet;
 import android.view.Surface;
-import android.view.View;
 
 import androidx.annotation.NonNull;
 import androidx.annotation.Nullable;