summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDaichi Hirono <hirono@google.com>2015-10-27 16:18:17 +0900
committerDaichi Hirono <hirono@google.com>2015-11-02 11:30:47 +0900
commit6de8a0e51f0cf8c52a4de672d4b2d8f2d78d143e (patch)
treeef3139aee1cfc05ad406577616898829ba0e5dc5 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent01a46f4e257010a98eedfc6d0e0c2eca570ed724 (diff)
Implement ID mapping for root documents.
MTP identifiers like object handle is unstable over MTP sessions. The CL introduce two methods to MtpDatabase that enables the provider to remap exisitng document ID with new MTP identifiers when the provider reopen the MTP session. * MtpDatabase#clearMtpIdentifier invalidates old MTP identifiers * MtpDatabase#resolveRootDocuments remaps invalidated documents with new MTP identifier. BUG=25162822 Change-Id: Iadb668ae5932da81aba2b2731d0d185da5656f16
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions