OSDN Git Service
(root)
/
android-x86
/
packages-apps-Superuser.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18ec452
)
Fix for updater cconstantly thinking there's a new version of the binary.
author
Adam Shanks
<chainsdd@gmail.com>
Fri, 17 Jun 2011 17:26:39 +0000
(18:26 +0100)
committer
Adam Shanks
<chainsdd@gmail.com>
Fri, 17 Jun 2011 17:26:39 +0000
(18:26 +0100)
src/com/noshufou/android/su/Updater.java
patch
|
blob
|
history
diff --git
a/src/com/noshufou/android/su/Updater.java
b/src/com/noshufou/android/su/Updater.java
index
4fcfaa0
..
2575edf
100644
(file)
--- a/
src/com/noshufou/android/su/Updater.java
+++ b/
src/com/noshufou/android/su/Updater.java
@@
-62,8
+62,8
@@
public class Updater {
expectedSuVersion += "-cd";
mBinaries = mManifest.getJSONObject("cd");
} else {
- expectedSuVersion += "-efg";
- mBinaries = mManifest.getJSONObject("efg");
+ expectedSuVersion += "-efg
h
";
+ mBinaries = mManifest.getJSONObject("efg
h
");
}
if (mSuVersion == null || !mSuVersion.equals(expectedSuVersion)) {
Log.d(TAG, "System has outdated su, attempting to copy new version");