Merge "support chinese character for ota package's path"
am: b8877a981a
Change-Id: I49188d97d04c69ac225422279d393b53c4966984
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.
|
// Send the BCB commands if it's to setup BCB.
|
||||||
if (isSetup) {
|
if (isSetup) {
|
||||||
dos.writeInt(command.length());
|
byte[] cmdUtf8 = command.getBytes("UTF-8");
|
||||||
dos.writeBytes(command);
|
dos.writeInt(cmdUtf8.length);
|
||||||
|
dos.write(cmdUtf8, 0, cmdUtf8.length);
|
||||||
dos.flush();
|
dos.flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user