Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 317694a8 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Prefer `Byte.valueOf()` to `new Byte()`"

parents d1b3d3c6 a3bf60da
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -576,7 +576,7 @@ public class RadioSimProxy extends RadioServiceProxy {
                halImsiInfo.base.expirationTime = imsiEncryptionInfo.getExpirationTime().getTime();
            }
            for (byte b : imsiEncryptionInfo.getPublicKey().getEncoded()) {
                halImsiInfo.base.carrierKey.add(new Byte(b));
                halImsiInfo.base.carrierKey.add(Byte.valueOf(b));
            }
            halImsiInfo.keyType = (byte) imsiEncryptionInfo.getKeyType();

@@ -592,7 +592,7 @@ public class RadioSimProxy extends RadioServiceProxy {
                halImsiInfo.expirationTime = imsiEncryptionInfo.getExpirationTime().getTime();
            }
            for (byte b : imsiEncryptionInfo.getPublicKey().getEncoded()) {
                halImsiInfo.carrierKey.add(new Byte(b));
                halImsiInfo.carrierKey.add(Byte.valueOf(b));
            }

            ((android.hardware.radio.V1_1.IRadio) mRadioProxy).setCarrierInfoForImsiEncryption(