[bluez/bluez] 8f32fa: battery: Check interface before getting property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: 8f32fa24cc9d044263bef468ef940d4353456f31
      https://github.com/bluez/bluez/commit/8f32fa24cc9d044263bef468ef940d4353456f31
  Author: Arkadiusz Bokowy <arkadiusz.bokowy@xxxxxxxxx>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M src/battery.c

  Log Message:
  -----------
  battery: Check interface before getting property

Client can export other interfaces than the BatteryProvide1 on the
registered object manager. So, before getting battery provider specific
property, validate that we are operating on the right interface.

This change will allow client to implement only one object manger for
media applications, players and battery providers without triggering
error message.


  Commit: 08d62744ce179137987154e526e27296cdb1d345
      https://github.com/bluez/bluez/commit/08d62744ce179137987154e526e27296cdb1d345
  Author: Arkadiusz Bokowy <arkadiusz.bokowy@xxxxxxxxx>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M profiles/audio/media.c

  Log Message:
  -----------
  media: Register app objects in proxy_added_cb()

The proxy_added_cb() function is called every time a new client is added
to the application object manager. Registering media endpoint and player
in that proxy_added_cb() callback function will allow to register new
endpoints and players not only during the initial RegisterApplication
call, but also during the application lifetime. For instance, this might
allow to dynamically enable/disable support for additional codecs.


Compare: https://github.com/bluez/bluez/compare/52477e80fc89...08d62744ce17



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux