Skip to content

[Linux] Migrate up_client_get_devices to up_client_get_devices2 in platform channels example #127611

@cbracken

Description

@cbracken

The Linux platform channels sample makes a call to the libupower function up_client_get_devices, which was deprecated in libupower 0.99.8 in favour of up_client_get_devices2.

The prod bots have been migrated to focal, which ships libupower 0.99.11 in which the old function is deprecated and the new one is available.

The try bots have not yet been migrated and remain on bionic, which ships libupower 0.99.7 in which the old function is not deprecated and the new one is not available.

This marks the line in question to ignore deprecation warnings. Once all bots have migrated to focal, we'll migrate to the new function. See tracking issue below.

See: https://upower.freedesktop.org/docs/UpClient.html#up-client-get-devices

Related issue: #127506

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: tech-debtTechnical debt, code quality, testing, etc.d: examplesSample code and demosframeworkflutter/packages/flutter repository. See also f: labels.platform-linuxBuilding on or for Linux specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions