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

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

Merge "Allocate memory before reading from parcel"

am: be8881da

Change-Id: I794c9cb48900a9568802aac760767b29df0fdbd1
parents c564b6e1 be8881da
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
@@ -9796,7 +9796,7 @@ public class TelephonyManager {
        boolean ret = false;
        try {
            IOns iOpportunisticNetworkService = getIOns();
            if (iOpportunisticNetworkService != null) {
            if (iOpportunisticNetworkService != null && availableNetworks != null) {
                ret = iOpportunisticNetworkService.updateAvailableNetworks(availableNetworks,
                        pkgForDebug);
            }