Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
scorpio
device_buzztime_RKUpdateServiceCode
Commits
391a056a
Commit
391a056a
authored
12 years ago
by
mmk
Browse files
Options
Download
Email Patches
Plain Diff
修改列表:
1.修复在4.1系统上jni库编译问题 2.修正ota升级时向远程服务器的请求,适应新的apache tomcat服务器
parent
49c220cd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
AndroidManifest.xml
AndroidManifest.xml
+2
-2
jni/android_rockchip_update_UpdateService.cpp
jni/android_rockchip_update_UpdateService.cpp
+4
-0
src/android/rockchip/update/service/RKUpdateService.java
src/android/rockchip/update/service/RKUpdateService.java
+2
-2
No files found.
AndroidManifest.xml
View file @
391a056a
<?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"
...
...
This diff is collapsed.
Click to expand it.
jni/android_rockchip_update_UpdateService.cpp
View file @
391a056a
...
...
@@ -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"
;
/*---------------------------------------------------------------------------*/
...
...
This diff is collapsed.
Click to expand it.
src/android/rockchip/update/service/RKUpdateService.java
View file @
391a056a
...
...
@@ -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
()
+
"/O
TA/
?product="
+
getOtaProductName
()
+
"&version="
+
getSystemVersion
();
return
"http://"
+
getRemoteHost
()
+
"/O
taUpdater/android
?product="
+
getOtaProductName
()
+
"&version="
+
getSystemVersion
();
}
public
static
String
getRemoteHost
()
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment