19aa93249edc5dac01025456ce3bb1881f1b11d1 |
|
04-Feb-2016 |
Daichi Hirono <hirono@google.com> |
Fix Identifier.equals method. Previously the string was compared by ==. BUG=26970351 Change-Id: If88b74392955388c9bf59002f2d2a186c2dff71a
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/Identifier.java
|
6a5ea7eae8a70bced97ceef051c965c27cb642ca |
|
02-Feb-2016 |
Daichi Hirono <hirono@google.com> |
Move logic to skip single storage. The tree structure of MTP model looks like /device/storage/objects. But almost all MTP device has only single storage, so it's redundant to show a single storage as a child of device in UI. MtpDocumentsProvider has a special logic to skip single storage, and shows storage's object as a children of device in such case. Previously the logic was applied when MtpDocumentsProvider returned a root list. The provider returns a storage as a Documents.Root, instead of device if the device has only one storage. However the number of root cannot be obtain for closed device. Thus the previous logic did not work for closed devices that have a single storage. The CL moves the logic from queryRoot to queryChildDocuments. Now MtpDocumentsProvider always returns a device as root, then it returns storage's objects as the device's children, where we has already opened the device. BUG=26481574 Change-Id: I25af0fc220410e321a378d67f226798ec4bba19c
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/Identifier.java
|
9e8a4fa78f5b9e3964dca84ad4047210d35c4013 |
|
19-Nov-2015 |
Daichi Hirono <hirono@google.com> |
Change ID format of MtpDocumentsProvider. BUG=25704562 Change-Id: I5d9fc167512eee06964650e07206e226173611b2
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/Identifier.java
|
47eb192b2704e27272ca94a95680cac40b6bff3f |
|
16-Nov-2015 |
Daichi Hirono <hirono@google.com> |
Start using MtpDatabase in DocumentLoader. BUG=25704514 Change-Id: I4d9247c148679ee7e40a1a03443e4c0299b1e44d
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/Identifier.java
|
bb430fa930fa0d0700e46e7b4881de2a252223dd |
|
25-Aug-2015 |
Tomasz Mikolajewski <mtomasz@google.com> |
Remove MtpDocument. Change-Id: Ie4b0e55f6ff2c7b323cf767a5ed3d3c61c12734d
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/Identifier.java
|
11bd3cbd2d4934ba9f5b8b4087954d8f68106192 |
|
03-Aug-2015 |
Daichi Hirono <hirono@google.com> |
Random fix for Identity class. * Change separator for ID from ':' to '_' so that the ID can be used as a file name in FAT. * Implements equals and hashCode methods. BUG=20274999 Change-Id: Ibb83151f7d6bdb0c993622dddeb89723aecfa264
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/Identifier.java
|
e5323b7493f2bc1537d7e6b2d4595d69fd01d72e |
|
29-Jul-2015 |
Daichi Hirono <hirono@google.com> |
Implement MtpDocumentsProvider#queryDocument. BUG=20274999 Change-Id: Id5c81f744ea1e28d0a0d352b52db1c33fd5edcc2
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/Identifier.java
|
50d17aa871d9ca645a8e7af64df8866b85aee245 |
|
28-Jul-2015 |
Daichi Hirono <hirono@google.com> |
Implement queryRoot method of MtpDocumentsProvider. BUG=20274999 Change-Id: I27aa8bffe47eab6ea1f4195023dbacb6e2f76548
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/Identifier.java
|