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

Commit 634d97ad authored by Randy Pan's avatar Randy Pan
Browse files

Remove the obsoleted ScanResult.isAutoJoinCandidate

Bug: 31565767
Test: unit tests
Change-Id: I3e1ee0e919c800c4d5eeaf94fdc68123b6de542e
parent 00b678dd
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -138,12 +138,6 @@ public class ScanResult implements Parcelable {
     */
    public long seen;

    /**
     * If the scan result is a valid autojoin candidate
     * {@hide}
     */
    public int isAutoJoinCandidate;

    /**
     * @hide
     * Update RSSI of the scan result
@@ -452,7 +446,6 @@ public class ScanResult implements Parcelable {
            numConnection = source.numConnection;
            numUsage = source.numUsage;
            numIpConfigFailures = source.numIpConfigFailures;
            isAutoJoinCandidate = source.isAutoJoinCandidate;
            venueName = source.venueName;
            operatorFriendlyName = source.operatorFriendlyName;
            flags = source.flags;
@@ -530,7 +523,6 @@ public class ScanResult implements Parcelable {
        dest.writeInt(numConnection);
        dest.writeInt(numUsage);
        dest.writeInt(numIpConfigFailures);
        dest.writeInt(isAutoJoinCandidate);
        dest.writeString((venueName != null) ? venueName.toString() : "");
        dest.writeString((operatorFriendlyName != null) ? operatorFriendlyName.toString() : "");
        dest.writeLong(this.flags);
@@ -600,7 +592,6 @@ public class ScanResult implements Parcelable {
                sr.numConnection = in.readInt();
                sr.numUsage = in.readInt();
                sr.numIpConfigFailures = in.readInt();
                sr.isAutoJoinCandidate = in.readInt();
                sr.venueName = in.readString();
                sr.operatorFriendlyName = in.readString();
                sr.flags = in.readLong();