OSDN Git Service

v1021
authorKoushik Dutta <koushd@gmail.com>
Mon, 12 Aug 2013 01:37:08 +0000 (18:37 -0700)
committerKoushik Dutta <koushd@gmail.com>
Mon, 12 Aug 2013 01:37:08 +0000 (18:37 -0700)
Change-Id: Ie96206111f9bfc8b9c5a3247a2951082b09b7778

Superuser/AndroidManifest.xml
Superuser/jni/su/daemon.c
Superuser/jni/su/su.h
Superuser/src/com/koushikdutta/superuser/util/SuHelper.java

index 13fa67b..e04408a 100644 (file)
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.koushikdutta.superuser"
-    android:versionCode="1020"
-    android:versionName="1.0.2.0" >
+    android:versionCode="1021"
+    android:versionName="1.0.2.1" >
 
     <uses-sdk
         android:minSdkVersion="8"
index 753e886..e82c5b0 100644 (file)
@@ -163,7 +163,7 @@ static int daemon_accept(int fd) {
         exit(-1);
     }
     // if the credentials on the other side of the wire are NOT root,
-    // we can't trust what anything being sent.
+    // we can't trust anything being sent.
     if (credentials.uid != 0) {
         daemon_from_uid = credentials.uid;
         pid = credentials.pid;
index 4bbe406..3508e3d 100644 (file)
@@ -82,7 +82,7 @@
 #define str(a) #a
 
 #ifndef VERSION_CODE
-#define VERSION_CODE 12
+#define VERSION_CODE 13
 #endif
 #define VERSION xstr(VERSION_CODE) " " REQUESTOR
 
index 3234ce8..f6b4098 100644 (file)
@@ -4,7 +4,7 @@ import android.content.Context;
 import android.util.Log;
 
 public class SuHelper {
-    public static String CURRENT_VERSION = "12";
+    public static String CURRENT_VERSION = "13";
     public static void checkSu(Context context) throws Exception {
         Process p = Runtime.getRuntime().exec("su -v");
         String result = Settings.readToEnd(p.getInputStream());