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

Commit b8877a98 authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "support chinese character for ota package's path"

parents bceee1cb b80c3cd1
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -285,8 +285,9 @@ public final class RecoverySystemService extends SystemService {

                // Send the BCB commands if it's to setup BCB.
                if (isSetup) {
                    dos.writeInt(command.length());
                    dos.writeBytes(command);
                    byte[] cmdUtf8 = command.getBytes("UTF-8");
                    dos.writeInt(cmdUtf8.length);
                    dos.write(cmdUtf8, 0, cmdUtf8.length);
                    dos.flush();
                }