OSDN Git Service

Add moveObject method to change object's path and parent.
authorJerry Zhang <zhangjerry@google.com>
Wed, 27 Sep 2017 00:49:52 +0000 (17:49 -0700)
committerJerry Zhang <zhangjerry@google.com>
Mon, 2 Oct 2017 18:48:38 +0000 (11:48 -0700)
commit952558d4e5a51b5f69c7c0bc1e3d7fa8da1cbf3c
treee5def59d050a311e0411267203d3591cd14cef9e
parent1211941aa0ec8a65385dddfdae17ce6580172ab6
Add moveObject method to change object's path and parent.

This is needed to implement the MTP MOVE_OBJECT operation.

Bug: 66679910
Test: Move objects and folders, verify mediastore is consistent
Change-Id: I2f4f0c43134fb3ff82745166c051712cc1736b7f
media/java/android/mtp/MtpDatabase.java
media/jni/android_mtp_MtpDatabase.cpp