Warn users of Telechips devices that app will crash with their broken libc

This commit is contained in:
pelya
2011-06-22 16:43:22 +03:00
parent 4e214b0ffd
commit 819febb3af
10 changed files with 107 additions and 11 deletions

View File

@@ -613,12 +613,7 @@ public class MainActivity extends Activity {
out.flush();
out.close();
try {
(new ProcessBuilder().command("/system/bin/chmod", "0755", path).start()).waitFor();
} catch ( Exception eeee ) {}
try {
(new ProcessBuilder().command("/system/xbin/chmod", "0755", path).start()).waitFor();
} catch ( Exception eeeee ) {}
Settings.nativeChmod(path, 0755);
}
}
catch ( Exception eee )