Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e045c649 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

release-request-336ddfb0-c762-4bda-8684-20198669642d-for-git_oc-mr1-release-43...

release-request-336ddfb0-c762-4bda-8684-20198669642d-for-git_oc-mr1-release-4346879 snap-temp-L51800000104038734

Change-Id: I4e322fe2cc67638e733960c4d3930811cb1c9f74
parents 6911c326 51712e3b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);

+1 −1
Original line number Diff line number Diff line
@@ -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