Remove duplicated dbus policy
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / bt-service-obex-agent.xml
index bb2ca44..6971a31 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 
 <node name="/">
-  <interface name="org.bluez.obex.Agent1">
+  <interface name="org.openobex.Agent">
     <method name="Request">
       <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
       <arg type="o" name="transfer"/>
       <arg type="o" name="transfer"/>
       <arg type="s" name="message"/>
     </method>
-    <method name="AuthorizePush">
+    <method name="Authorize">
        <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
                <arg type="o" name="objpath"/>
+               <arg type="s" name="bdaddress"/>
+               <arg type="s" name="name"/>
+               <arg type="s" name="type"/>
+               <arg type="i" name="length"/>
+               <arg type="i" name="time"/>
                <arg type="s" name="filepath" direction="out"/>
        </method>
   </interface>
+  <interface name="org.bluez.obex.Agent1">
+    <method name="AuthorizePush">
+    <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+        <arg type="o" name="objpath"/>
+        <arg type="s" name="filepath" direction="out"/>
+    </method>
+  </interface>
 </node>