Merge "support chinese character for ota package's path" am: b8877a981a
am: 7acb5f8e10
Change-Id: I89e7821c20ac131c4d7800264f175e16e945517e
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user