Merged requested to merge abono/gnome-shell:wip/abono/extension-unlock-dialog-mode-only into main
Don't try to initialize and then enable an extension if it is not supported in the current mode. Otherwise the extension will not be initialized, and the initial ERROR state is not cleared. Once it is in ERROR state we can't enable it anymore when we switch mode. Instead, leave the extension in INITIALIZED state, so that it will be initialized when appropriate. This happens for extensions that support the unlock-dialog mode but not the user mode.