gdm/utils: Pass cancellable to the FPrint Device proxy and avoid signals
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2267>
This commit is contained in:
parent
885f1391ab
commit
ce03df5761
@ -410,8 +410,8 @@ export class ShellUserVerifier extends Signals.EventEmitter {
|
||||
const args = cancellable ? [cancellable] : [];
|
||||
const [devicePath] = await fprintManager.GetDefaultDeviceAsync(...args);
|
||||
const fprintDeviceProxy = new FprintDeviceProxy(Gio.DBus.system,
|
||||
'net.reactivated.Fprint',
|
||||
devicePath);
|
||||
'net.reactivated.Fprint', devicePath, null, cancellable,
|
||||
Gio.DBusProxyFlags.NOT_CONNECT_SIGNALS);
|
||||
this._setFingerprintReaderType(fprintDeviceProxy['scan-type']);
|
||||
this._updateDefaultService();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user