policy: Use SetCurrentModes instead of SetAllowedModes

There is no DBus API for SetAllowedModes, but only for SetCurrentModes.
This commit is contained in:
Mohammed Sadiq
2019-09-24 19:10:29 +05:30
parent 79a3965684
commit e21e7ddfae

View File

@@ -61,7 +61,7 @@
<allow send_destination="org.freedesktop.ModemManager1"
send_interface="org.freedesktop.ModemManager1.Modem"
send_member="SetAllowedModes"/>
send_member="SetCurrentModes"/>
<allow send_destination="org.freedesktop.ModemManager1"
send_interface="org.freedesktop.ModemManager1.Modem"