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

Commit 63638016 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove the channel sounding duration by default." into main

parents e8a5f815 1fdde1b3
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -68,18 +68,18 @@ public final class DistanceMeasurementParams implements Parcelable {
     */
    @SystemApi public static final int REPORT_FREQUENCY_HIGH = 2;

    private static final int REPORT_DURATION_DEFAULT = 60;
    private static final int REPORT_DURATION_MAX = 3600;
    private static final int REPORT_DURATION_MAX = Integer.MAX_VALUE;
    private static final int REPORT_DURATION_DEFAULT = REPORT_DURATION_MAX;

    private BluetoothDevice mDevice = null;
    private int mDuration;
    private int mFrequency;
    private int mMethodId;
    private ChannelSoundingParams mChannelSoundingParams = null;
    private final BluetoothDevice mDevice;
    private final int mDuration;
    private final int mFrequency;
    private final int mMethodId;
    private final ChannelSoundingParams mChannelSoundingParams;

    /** @hide */
    public DistanceMeasurementParams(
            BluetoothDevice device,
            @NonNull BluetoothDevice device,
            int duration,
            int frequency,
            int methodId,