bruns created this revision. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: kde-frameworks-devel. bruns requested review of this revision.
REVISION SUMMARY If an application wants to show only specicific devices based on predicate matching, and one of the matching devices loses an interface which is critical for the Predicate to match, the application has to be notified. As there is no dedicated signal to notify the application about the fact a device no longer has e.g. a Solid::StorageAccess iface, signal the device has been removed, and immediately readd it, as the device may still be relevant. Remove the call to updateBackend(udi), as the device backend listens to the InterfacesRemoved signal itself and updates its property cache. CCBUG: 394348 REPOSITORY R245 Solid BRANCH test REVISION DETAIL https://phabricator.kde.org/D14661 AFFECTED FILES src/solid/devices/backends/udisks2/udisksmanager.cpp To: bruns Cc: kde-frameworks-devel, michaelh, ngraham, bruns