From f047ca66a4c58bdfa69ce70026fc840d58a80ebe Mon Sep 17 00:00:00 2001 From: Elly Jones Date: Wed, 15 Sep 2010 13:22:25 -0400 Subject: [PATCH] modemmanager: Add a reason to ConnectionStateChanged events. This can be used by a connection manager to decide to respond in a different way to certain kinds of disconnects (e.g. intentional versus unintentional versus suspension). TEST=None This change introduces no additional code, so testing it in isolation is not possible. BUG=chromium-os:6744 Change-Id: Ie371e20ec7a003333eba013af3ad61c0e494a4ad Signed-Off-By: Elly Jones Review URL: http://codereview.chromium.org/3413011 (cherry picked from commit 29a9674b818fd64c19bad84f526f6fa68edec174) --- .../org.freedesktop.ModemManager.Modem.xml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/introspection/org.freedesktop.ModemManager.Modem.xml b/introspection/org.freedesktop.ModemManager.Modem.xml index 1c032aa6..e1a07293 100644 --- a/introspection/org.freedesktop.ModemManager.Modem.xml +++ b/introspection/org.freedesktop.ModemManager.Modem.xml @@ -93,6 +93,11 @@ Reason for state transition. + + + Reason for this state change. + + @@ -211,5 +216,24 @@ + + + + Reason unknown or not reportable. + + + + + Connection state change was requested by an interface user. + + + + + Connection state change was caused by a system suspend. + + + + +