Commit 391a056a authored by mmk's avatar mmk
Browse files

修改列表:

	1.修复在4.1系统上jni库编译问题
	2.修正ota升级时向远程服务器的请求,适应新的apache tomcat服务器
parent 49c220cd
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="android.rockchip.update.service"
android:versionCode="6"
android:versionName="1.4.2">
android:versionCode="7"
android:versionName="1.4.3">
<!-- Permission to show the UI for firmware update -->
<permission android:name="android.rockchip.update.permission.SHOW_UI"
......
......@@ -60,6 +60,10 @@
#include "jni.h"
#include "JNIHelp.h"
#define LOGE ALOGE
#define LOGD ALOGD
#define LOGI ALOGI
static const char* const classPathName = "android/rockchip/update/service/RKUpdateService";
/*---------------------------------------------------------------------------*/
......
......@@ -31,7 +31,7 @@ import android.util.Log;
import android.os.SystemProperties;
public class RKUpdateService extends Service {
public static final String VERSION = "1.4.2";
public static final String VERSION = "1.4.3";
private static final String TAG = "RKUpdateService";
private static final boolean DEBUG = true;
private static final boolean mIsNotifyDialog = true;
......@@ -496,7 +496,7 @@ public class RKUpdateService extends Service {
ota update
***********************************************************************************************************************/
public static String getRemoteUri() {
return "http://" + getRemoteHost() + "/OTA/?product=" + getOtaProductName() + "&version=" + getSystemVersion();
return "http://" + getRemoteHost() + "/OtaUpdater/android?product=" + getOtaProductName() + "&version=" + getSystemVersion();
}
public static String getRemoteHost() {
......
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