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 8af5ff7ac1fc..a555d37df40d 100644 --- a/media/java/android/mtp/MtpServer.java +++ b/media/java/android/mtp/MtpServer.java @@ -77,6 +77,10 @@ public class MtpServer implements Runnable { native_send_object_removed(handle); } + public void sendObjectInfoChanged(int handle) { + native_send_object_info_changed(handle); + } + public void sendDevicePropertyChanged(int property) { native_send_device_property_changed(property); } @@ -106,6 +110,7 @@ public class MtpServer implements Runnable { private native final void native_cleanup(); 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_object_info_changed(int handle); private native final void native_send_device_property_changed(int property); private native final void native_add_storage(MtpStorage storage); private native final void native_remove_storage(int storageId); |