Commit b0432d14 authored by Qiyu Hu's avatar Qiyu Hu Committed by Commit Bot

arc: bluetooth: It's impossible to trigger OnAclStateChanged

Deadcode

Bug: 111367421
Test: CQ
Change-Id: I51d4f187aacd6f9594f74c612ca49d1e99d62a09
Reviewed-on: https://chromium-review.googlesource.com/c/1338089Reviewed-by: default avatarHidehiko Abe <hidehiko@chromium.org>
Reviewed-by: default avatarGreg Kerr <kerrnel@chromium.org>
Commit-Queue: Qiyu Hu <qiyuh@google.com>
Cr-Commit-Position: refs/heads/master@{#609839}
parent d1ba0e03
......@@ -402,7 +402,7 @@ interface BluetoothHost {
};
// Next Method ID: 22
// Deprecated Method ID: 2
// Deprecated Method ID: 2, 6
interface BluetoothInstance {
// DEPRECATED: Please use Init@18 instead.
InitDeprecated@0(BluetoothHost host_ptr);
......@@ -417,9 +417,6 @@ interface BluetoothInstance {
OnBondStateChanged@5(BluetoothStatus status,
BluetoothAddress remote_addr,
BluetoothBondState state);
OnAclStateChanged@6(BluetoothStatus status,
BluetoothAddress remote_addr,
BluetoothAclState state);
// Bluetooth Gatt Client callbacks
// TODO(b/111367421): Remove this when no active device running Android N.
......
......@@ -59,11 +59,6 @@ void FakeBluetoothInstance::OnBondStateChanged(
mojom::BluetoothAddressPtr remote_addr,
mojom::BluetoothBondState state) {}
void FakeBluetoothInstance::OnAclStateChanged(
mojom::BluetoothStatus status,
mojom::BluetoothAddressPtr remote_addr,
mojom::BluetoothAclState state) {}
void FakeBluetoothInstance::OnLEDeviceFoundForN(
mojom::BluetoothAddressPtr addr,
int32_t rssi,
......
......@@ -83,9 +83,6 @@ class FakeBluetoothInstance : public mojom::BluetoothInstance {
void OnBondStateChanged(mojom::BluetoothStatus status,
mojom::BluetoothAddressPtr remote_addr,
mojom::BluetoothBondState state) override;
void OnAclStateChanged(mojom::BluetoothStatus status,
mojom::BluetoothAddressPtr remote_addr,
mojom::BluetoothAclState state) override;
void OnLEDeviceFoundForN(
mojom::BluetoothAddressPtr addr,
int32_t rssi,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment