Skip to content

kcms/cellularnetworks: Don't prompt for password when unnecessary

Devin Lin requested to merge work/devinlin/cellularprompt into master

scanDevices() is actually unnecessary here (we just want the list of modems that are recognized by modemmanager, not trigger modemmanager to scan for new modems), and causes the polkit prompt to pop up as soon as the kcm is opened.

See https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/blob/main/data/org.freedesktop.ModemManager1.conf.polkit

Merge request reports