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

Commit 4492b749 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Bluetooth: deprecate TruncatedFilter and ResultStorageDescriptor

It's not used anywhere, and the implementation actually never do
anything.

Bug: 192615539
Merged-In: Icf8906c972cf18d65a22d30c3a628fd54db59179
Change-Id: Icf8906c972cf18d65a22d30c3a628fd54db59179
parent 72e1ebef
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -327,8 +327,11 @@ public final class BluetoothLeScanner {
    /**
     * Start truncated scan.
     *
     * @deprecated this is not used anywhere
     *
     * @hide
     */
    @Deprecated
    @SystemApi
    public void startTruncatedScan(List<TruncatedFilter> truncatedFilters, ScanSettings settings,
            final ScanCallback callback) {
+3 −0
Original line number Diff line number Diff line
@@ -23,8 +23,11 @@ import android.os.Parcelable;
/**
 * Describes the way to store scan result.
 *
 * @deprecated this is not used anywhere
 *
 * @hide
 */
@Deprecated
@SystemApi
public final class ResultStorageDescriptor implements Parcelable {
    private int mType;
+3 −0
Original line number Diff line number Diff line
@@ -23,8 +23,11 @@ import java.util.List;
/**
 * A special scan filter that lets the client decide how the scan record should be stored.
 *
 * @deprecated this is not used anywhere
 *
 * @hide
 */
@Deprecated
@SystemApi
public final class TruncatedFilter {
    private final ScanFilter mFilter;