Loading keystore/java/android/security/ServiceCommand.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -140,7 +140,7 @@ public class ServiceCommand { private boolean writeCommand(int cmd, String _data) { private boolean writeCommand(int cmd, String _data) { byte buf[] = new byte[8]; byte buf[] = new byte[8]; byte[] data = _data.getBytes(); byte[] data = (_data == null) ? new byte[0] : _data.getBytes(); int len = data.length; int len = data.length; // the length of data // the length of data buf[0] = (byte) (len & 0xff); buf[0] = (byte) (len & 0xff); Loading Loading
keystore/java/android/security/ServiceCommand.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -140,7 +140,7 @@ public class ServiceCommand { private boolean writeCommand(int cmd, String _data) { private boolean writeCommand(int cmd, String _data) { byte buf[] = new byte[8]; byte buf[] = new byte[8]; byte[] data = _data.getBytes(); byte[] data = (_data == null) ? new byte[0] : _data.getBytes(); int len = data.length; int len = data.length; // the length of data // the length of data buf[0] = (byte) (len & 0xff); buf[0] = (byte) (len & 0xff); Loading