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

Commit e41aab99 authored by Sooraj Sasindran's avatar Sooraj Sasindran Committed by android-build-merger
Browse files

Merge "Allocate memory before reading from parcel" am: be8881da am: 3dc6ce7e

am: dcfbbfc5

Change-Id: Ie518e26b388b60fa9c42b8f6c12385a05098e353
parents c2f2977c dcfbbfc5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -110,6 +110,7 @@ public final class AvailableNetworkInfo implements Parcelable {
    private AvailableNetworkInfo(Parcel in) {
        mSubId = in.readInt();
        mPriority = in.readInt();
        mMccMncs = new ArrayList<>();
        in.readStringList(mMccMncs);
    }

+1 −1
Original line number Diff line number Diff line
@@ -9963,7 +9963,7 @@ public class TelephonyManager {
        boolean ret = false;
        try {
            IOns iOpportunisticNetworkService = getIOns();
            if (iOpportunisticNetworkService != null) {
            if (iOpportunisticNetworkService != null && availableNetworks != null) {
                ret = iOpportunisticNetworkService.updateAvailableNetworks(availableNetworks,
                        pkgForDebug);
            }