Exemple #1
0
 /// <summary>
 /// Remounts the adb with the given type
 /// </summary>
 /// <param name="type">The mode to remount in</param>
 public static void SetMountType(AdbMountType type)
 {
     if (type == AdbMountType.Root)
     {
         ExecuteAdbCommandWithOutput("root");
     }
     else
     {
         ExecuteAdbCommandWithOutput("unroot");
     }
 }
Exemple #2
0
 /// <summary>
 /// Remounts the adb with the given type
 /// </summary>
 /// <param name="type">The mode to remount in</param>
 public static void SetMountType(AdbMountType type)
 {
     if (type == AdbMountType.Root)
         ExecuteAdbCommandWithOutput("root");
     else
         ExecuteAdbCommandWithOutput("unroot");
 }