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

Commit f3a00fa3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Prefer `Byte.valueOf()` to `new Byte()`" am: 317694a8

parents 70882b06 317694a8
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(