automountManager: Remove unused volume queue

This is some leftover from code that was used to keep track of volumes
added/removed while the screen was locked before the move to a
components system in 2a800e4c. All that the remaining code does is
filter devices from an empty list.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1579>
This commit is contained in:
Sebastian Keller 2021-01-19 21:12:49 +01:00 committed by Marge Bot
parent de4ac8841e
commit 353483b052

View File

@ -19,7 +19,6 @@ var AUTORUN_EXPIRE_TIMEOUT_SECS = 10;
var AutomountManager = class { var AutomountManager = class {
constructor() { constructor() {
this._settings = new Gio.Settings({ schema_id: SETTINGS_SCHEMA }); this._settings = new Gio.Settings({ schema_id: SETTINGS_SCHEMA });
this._volumeQueue = [];
this._activeOperations = new Map(); this._activeOperations = new Map();
this._session = new GnomeSession.SessionManager(); this._session = new GnomeSession.SessionManager();
this._session.connectSignal('InhibitorAdded', this._session.connectSignal('InhibitorAdded',
@ -220,8 +219,6 @@ var AutomountManager = class {
GLib.source_remove(volume._allowAutorunExpireId); GLib.source_remove(volume._allowAutorunExpireId);
delete volume._allowAutorunExpireId; delete volume._allowAutorunExpireId;
} }
this._volumeQueue =
this._volumeQueue.filter(element => element != volume);
} }
_reaskPassword(volume) { _reaskPassword(volume) {