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

Commit 4b0c8ea4 authored by William Escande's avatar William Escande
Browse files

SystemServer: Remove Suppress lint for "NewApi"

Bug: 193460475
Test: m | this is a build only lint
Change-Id: I1cb0dd05a7c29a17cb09689364cef208b9b9a134
parent e48b9847
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -31,7 +31,6 @@ import static java.util.Objects.requireNonNull;

import android.annotation.NonNull;
import android.annotation.RequiresPermission;
import android.annotation.SuppressLint;
import android.app.ActivityManager;
import android.app.BroadcastOptions;
import android.bluetooth.BluetoothAdapter;
@@ -2859,8 +2858,6 @@ class BluetoothManagerService {
        }
    }

    // TODO(b/193460475): Remove when tooling supports SystemApi to public API.
    @SuppressLint("NewApi")
    static @NonNull Bundle getTempAllowlistBroadcastOptions() {
        final long duration = 10_000;
        final BroadcastOptions bOptions = BroadcastOptions.makeBasic();