• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

packages/apps/Superuser


Commit MetaInfo

修訂92fe0bc1693f643a2b6d9ccd58b61d01faba9af2 (tree)
時間2010-08-17 09:36:27
作者ChainsDD <chainsdd@gmai...>
CommiterChainsDD

Log Message

Oops! That's not quite ready yet...

Change Summary

差異

--- a/src/com/noshufou/android/su/Su.java
+++ b/src/com/noshufou/android/su/Su.java
@@ -182,36 +182,4 @@ public class Su extends TabActivity {
182182 }
183183
184184 }
185-
186-// private boolean remount(boolean writeable) {
187-// String device = null;
188-// String type = null;
189-// try {
190-// Process process = Runtime.getRuntime().exec("mount");
191-// BufferedReader stdInput = new BufferedReader(new InputStreamReader(process.getInputStream()));
192-// String line;
193-// while ((line = stdInput.readLine()) != null) {
194-// String[] array = line.split(" ");
195-// device = array[0];
196-// if (array[1].equals("on") && array[2].equals("/system")) {
197-// type = array[4];
198-// break;
199-// } else if (array[1].equals("/system")) {
200-// type = array[2];
201-// break;
202-// }
203-// }
204-// if (type != null) {
205-// String mode = writeable?"rw ":"ro ";
206-// String mountStr = "su -c mount -o remount," + mode + device + " /system";
207-// Log.d(TAG, mountStr);
208-// process = Runtime.getRuntime().exec(mountStr);
209-// }
210-// } catch (IOException e) {
211-// // TODO Auto-generated catch block
212-// e.printStackTrace();
213-// return false;
214-// }
215-// return true;
216-// }
217185 }