ExifInterface: fix a bug in readExifEntryValue
The readExifEntry method has raised an unnessary EOFException on reading an non-ASCII byte array. Bug: 27484747 Change-Id: I19371e0eed25770929f50b3ca25f249c50113925
This commit is contained in:
@@ -1560,8 +1560,6 @@ public class ExifInterface {
|
||||
StringBuilder stringBuilder = new StringBuilder();
|
||||
while (true) {
|
||||
int ch = bytes[index];
|
||||
if (ch < 0)
|
||||
throw new EOFException();
|
||||
if (ch == 0)
|
||||
break;
|
||||
if (ch >= 32)
|
||||
|
||||
Reference in New Issue
Block a user