File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/com/reandroid/arsc Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -553,7 +553,7 @@ private static byte[] encodeUtf16ToBytes(String str) {
553553 lenBytes [3 ] = (byte ) (high >> 8 );
554554 lenBytes [2 ] = (byte ) low ;
555555 low = rem & 0xff ;
556- high = ( rem & 0xff00 ) >> 8 ;
556+ high = rem > >> 8 ;
557557 lenBytes [1 ] = (byte ) (high | 0x80 );
558558 lenBytes [0 ] = (byte ) low ;
559559 } else {
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ public static boolean isArray(Entry entry) {
156156 while (iterator .hasNext ()) {
157157 ResValueMap resValueMap = iterator .next ();
158158 int name = resValueMap .getNameId ();
159- int high = ( name >> 16 ) & 0xffff ;
159+ int high = name >>> 16 ;
160160 if (high != 0x0100 ){
161161 return false ;
162162 }
You can’t perform that action at this time.
0 commit comments