Change-Id: Ie96206111f9bfc8b9c5a3247a2951082b09b7778
<?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"
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;
#define str(a) #a
#ifndef VERSION_CODE
-#define VERSION_CODE 12
+#define VERSION_CODE 13
#endif
#define VERSION xstr(VERSION_CODE) " " REQUESTOR
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());