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

Commit 7a0a267e authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "bumble_experimental/hid: Ensure that hid_report_queue is defined" into...

Merge "bumble_experimental/hid: Ensure that hid_report_queue is defined" into main am: 19716763 am: fea4ed2a

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/3381249



Change-Id: I6036125033f9a8324a4d27cbfb6e8d90dfdbb9c4
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 85a4133f fea4ed2a
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -654,6 +654,8 @@ def on_set_report_cb(report_id: int, report_type: int, report_size: int, data: b
    report.report_type = report_type
    report.report_id = report_id
    report.report_data = str(data.hex())

    if hid_report_queue:
        hid_report_queue.put_nowait(report)

    if report_type == Message.ReportType.FEATURE_REPORT:
@@ -702,7 +704,7 @@ def on_virtual_cable_unplug_cb():


hid_protoMode_queue = None

hid_report_queue = None

# This class implements the Hid Pandora interface.
class HIDService(HIDServicer):