-
- Downloads
video_device_monitor: restore preferences
Rework the way preferences are stored and restored to a device, when they are unserialized or when a new device is added. rationales: * getters should not modify a device. * when unserializing preferences: - reset the corresponding device, if it is present. - assign the default to the first preference, or the first plugged. * when adding a device: - reset its preferences (if any) or store them. - assign it as default, if there's no default yet. Issue: #51243 Change-Id: I5423e43f988cf9b7240dd1271cdf5e5b7f79bfce
Please register or sign in to comment