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

Commit 07904564 authored by lesl's avatar lesl Committed by Jimmy Chen
Browse files

wifi: remove saePasswordId from getBytesForBackup

getBytesForBackup is used for Softap. Don't need saePasswordId

Bug: 0
Test: unit test, atest frameworks/base/wifi/tests/

Change-Id: Ia85fa65d6a1f939ebd57c20d4c432b6303107b81
parent 23465f56
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2627,7 +2627,6 @@ public class WifiConfiguration implements Parcelable {
        out.writeInt(apBand);
        out.writeInt(apChannel);
        BackupUtils.writeString(out, preSharedKey);
        BackupUtils.writeString(out, saePasswordId);
        out.writeInt(getAuthType());
        out.writeBoolean(hiddenSSID);
        return baos.toByteArray();
@@ -2651,7 +2650,6 @@ public class WifiConfiguration implements Parcelable {
        config.apBand = in.readInt();
        config.apChannel = in.readInt();
        config.preSharedKey = BackupUtils.readString(in);
        config.saePasswordId = BackupUtils.readString(in);
        config.allowedKeyManagement.set(in.readInt());
        if (version >= 3) {
            config.hiddenSSID = in.readBoolean();