diff options
Diffstat (limited to 'media/java/android/mtp/MtpServer.java')
-rw-r--r-- | media/java/android/mtp/MtpServer.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/media/java/android/mtp/MtpServer.java b/media/java/android/mtp/MtpServer.java index 3814630..e830afd 100644 --- a/media/java/android/mtp/MtpServer.java +++ b/media/java/android/mtp/MtpServer.java @@ -56,6 +56,10 @@ public class MtpServer implements Runnable { native_send_device_property_changed(property); } + public void sendObjectUpdated(int handle) { + native_send_object_updated(handle); + } + public void addStorage(MtpStorage storage) { native_add_storage(storage); } @@ -70,6 +74,7 @@ public class MtpServer implements Runnable { private native final void native_send_object_added(int handle); private native final void native_send_object_removed(int handle); private native final void native_send_device_property_changed(int property); + private native final void native_send_object_updated(int handle); private native final void native_add_storage(MtpStorage storage); private native final void native_remove_storage(int storageId); } |