OSDN Git Service

Fix for updater cconstantly thinking there's a new version of the binary.
authorAdam Shanks <chainsdd@gmail.com>
Fri, 17 Jun 2011 17:26:39 +0000 (18:26 +0100)
committerAdam Shanks <chainsdd@gmail.com>
Fri, 17 Jun 2011 17:26:39 +0000 (18:26 +0100)
src/com/noshufou/android/su/Updater.java

index 4fcfaa0..2575edf 100644 (file)
@@ -62,8 +62,8 @@ public class Updater {
                 expectedSuVersion += "-cd";
                 mBinaries = mManifest.getJSONObject("cd");
             } else {
-                expectedSuVersion += "-efg";
-                mBinaries = mManifest.getJSONObject("efg");
+                expectedSuVersion += "-efgh";
+                mBinaries = mManifest.getJSONObject("efgh");
             }
             if (mSuVersion == null || !mSuVersion.equals(expectedSuVersion)) {
                 Log.d(TAG, "System has outdated su, attempting to copy new version");