Loading src/com/android/packageinstaller/InstallInstalling.java +1 −1 Original line number Diff line number Diff line Loading @@ -342,7 +342,7 @@ public class InstallInstalling extends Activity { long sizeBytes = file.length(); try (OutputStream out = session .openWrite("PackageInstaller", 0, sizeBytes)) { byte[] buffer = new byte[4096]; byte[] buffer = new byte[1024 * 1024]; while (true) { int numRead = in.read(buffer); Loading src/com/android/packageinstaller/InstallStaging.java +1 −1 Original line number Diff line number Diff line Loading @@ -185,7 +185,7 @@ public class InstallStaging extends Activity { } try (OutputStream out = new FileOutputStream(mStagedFile)) { byte[] buffer = new byte[4096]; byte[] buffer = new byte[1024 * 1024]; int bytesRead; while ((bytesRead = in.read(buffer)) >= 0) { // Be nice and respond to a cancellation Loading Loading
src/com/android/packageinstaller/InstallInstalling.java +1 −1 Original line number Diff line number Diff line Loading @@ -342,7 +342,7 @@ public class InstallInstalling extends Activity { long sizeBytes = file.length(); try (OutputStream out = session .openWrite("PackageInstaller", 0, sizeBytes)) { byte[] buffer = new byte[4096]; byte[] buffer = new byte[1024 * 1024]; while (true) { int numRead = in.read(buffer); Loading
src/com/android/packageinstaller/InstallStaging.java +1 −1 Original line number Diff line number Diff line Loading @@ -185,7 +185,7 @@ public class InstallStaging extends Activity { } try (OutputStream out = new FileOutputStream(mStagedFile)) { byte[] buffer = new byte[4096]; byte[] buffer = new byte[1024 * 1024]; int bytesRead; while ((bytesRead = in.read(buffer)) >= 0) { // Be nice and respond to a cancellation Loading