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

Commit 41be35a1 authored by Ying Xu's avatar Ying Xu Committed by Gerrit Code Review
Browse files

Merge "Fix the inconsistency of scan status."

parents 1caaa514 ad50361e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -36,10 +36,10 @@ import java.util.Objects;
public final class NetworkScanResult implements Parcelable {

    // Contains only part of the scan result and more are coming.
    public static final int SCAN_STATUS_PARTIAL = 0;
    public static final int SCAN_STATUS_PARTIAL = 1;

    // Contains the last part of the scan result and the scan is now complete.
    public static final int SCAN_STATUS_COMPLETE = 1;
    public static final int SCAN_STATUS_COMPLETE = 2;

    // The status of the scan, only valid when scanError = SUCCESS.
    public int scanStatus;