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

Skip to content
Commit 489fd509 authored by Archie Pusaka's avatar Archie Pusaka Committed by Archie Pusaka
Browse files

floss: dbus_projection: Allow other attributes on top of dbus_method

The current logic in dbus_projection is very strict when checking for
the dbus_method attribute, specifically it doesn't allow other
attributes at all. This might come as surprising because even an
unsuspecting function comment actually counts as an attribute. When
parsing failure occurs, the macro treats as if it's not a dbus function
so no error is reported.

Change the logic to allow multiple attributes. For now those
attributes are ignored - if more support is required one needs to add
their own implementation still.

Bug: 371534263
Test: m -j
Test: btclient advertise on, verify doesn't crash
Flag: EXEMPT, floss-only change

Change-Id: I26d2595b0c536a2dbd0ae505f6234f881e2199f7
parent 94cfdf46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment