summaryrefslogtreecommitdiffstats
path: root/src/dbus-interfaces
diff options
context:
space:
mode:
authorRobert Griebl <[email protected]>2025-07-16 17:09:42 +0200
committerRobert Griebl <[email protected]>2025-08-14 13:51:24 +0200
commit8fd101cf646d57750ec29a57b3d7d506c4c04b7c (patch)
treeefa8bb91c97f2fb850cde172cad6139a6b8cd3ee /src/dbus-interfaces
parentd7881d6ca6f33d63a8b2d844853491bbf6702a4a (diff)
dbus: do not silently ignore invalid parametersHEADdev
Requesting to stop an application with an unknown id would just result in the appman-controller exiting with code '0', instead of complaining. This patch fixes all those cases, where an invalid id parameter or even a missing installer sub-system would silently be accepted on a DBus call. Change-Id: I1ffc8cec970a79c23fde82c7523b2a69519a5583 Pick-to: 6.10 Reviewed-by: Dominik Holland <[email protected]>
Diffstat (limited to 'src/dbus-interfaces')
-rw-r--r--src/dbus-interfaces/io.qt.packagemanager.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dbus-interfaces/io.qt.packagemanager.xml b/src/dbus-interfaces/io.qt.packagemanager.xml
index d40c6970..2e9d49b0 100644
--- a/src/dbus-interfaces/io.qt.packagemanager.xml
+++ b/src/dbus-interfaces/io.qt.packagemanager.xml
@@ -2,6 +2,7 @@
<node>
<interface name="io.qt.PackageManager">
<property name="count" type="i" access="read"/>
+ <property name="installationEnabled" type="b" access="read"/>
<property name="allowInstallationOfUnsignedPackages" type="b" access="read"/>
<property name="developmentMode" type="b" access="read"/>
<property name="hardwareId" type="s" access="read"/>