diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-12-09 11:05:46 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-12-09 11:05:46 +0200 |
commit | 2d4fde8e79a6889200227ec12eeb10c69893c9d7 (patch) | |
tree | 06bdd24ac0149565b4b1a65b7a254ed1e29d4e4b /src | |
parent | 06637b08f721e1565fa05b818adfb8a0acec804e (diff) |
Allow FindDevice to find temporary devices
E.g. in the case of an incoming object push request we may not be paired
with the remote device and therefore the temporary flag will be set.
However, if there's a "receive file" UI active it will most likely want
to show at least the remote device name and therefore it should be
possible to use FindDevice.
Diffstat (limited to 'src')
-rw-r--r-- | src/adapter.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/adapter.c b/src/adapter.c index d97c707d..c85ca360 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -2163,11 +2163,6 @@ static DBusMessage *find_device(DBusConnection *conn, device = l->data; - if (device_is_temporary(device)) - return g_dbus_create_error(msg, - ERROR_INTERFACE ".DoesNotExist", - "Device creation in progress"); - reply = dbus_message_new_method_return(msg); if (!reply) return NULL; |