summaryrefslogtreecommitdiffstats
path: root/packages/DocumentsUI
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Import translations. DO NOT MERGE"Baligh Uddin2014-06-101-3/+3
|\
| * Import translations. DO NOT MERGEBaligh Uddin2014-06-091-3/+3
| | | | | | | | | | Change-Id: I707193ee90e9d0d5cb8de2a9987cfe243dd7f440 Auto-generated-cl: translation import
* | am 99f4fe07: Merge "Refactor directory API to "opening document tree."" into ↵Jeff Sharkey2014-06-104-24/+26
|\ \ | |/ |/| | | | | | | | | lmp-preview-dev * commit '99f4fe0797adb8350f92c7d1ba11776d1947e768': Refactor directory API to "opening document tree."
| * Refactor directory API to "opening document tree."Jeff Sharkey2014-06-094-24/+26
| | | | | | | | | | | | | | | | | | Cleans up API so it consistently refers to opening or working with a subtree of documents. Also separates isChildDocument() support from the concept of directory tree selection. Bug: 15429194 Change-Id: Ice66a751ff4bd0cc4d34c44c5da13a0dc4186dc9
* | Import translations. DO NOT MERGEBaligh Uddin2014-06-041-3/+3
| | | | | | | | | | Change-Id: Iae203008f0966dd0803723e366c75e72dcdf3c63 Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEBaligh Uddin2014-06-023-5/+5
| | | | | | | | | | Change-Id: I1bd3672acdf5240152f51ab057999b47b97a9823 Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEGeoff Mendal2014-05-281-3/+3
| | | | | | | | | | Change-Id: I3fea029ae2a0d46867dcb8461b65f788457f9edf Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEBaligh Uddin2014-05-261-2/+2
|/ | | | | Change-Id: I982d4f179f55bff026a0173a4e8e740be03af4af Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2014-05-2055-12/+67
| | | | | Change-Id: I154e5f25182ab3b16360623f3433ae8f745594f1 Auto-generated-cl: translation import
* merge master nova by hand, skipped translationsEd Heyl2014-05-1455-67/+12
|\ | | | | | | Change-Id: I4bea0bb9e375361f21d995bf4698d5eb6300ecfb
| * am 50386c57: am ddba067f: am f521ee6f: am e3e2c471: Merge "Set ActionMode ↵Jeff Sharkey2014-05-101-0/+2
| |\ | | | | | | | | | | | | | | | | | | title to the number of selected files" * commit '50386c5701a0bc08e7a851cd92f44e985a4b2cca': Set ActionMode title to the number of selected files
| * \ am 21de56a9: Add directory selection to DocumentsProvider.Jeff Sharkey2014-04-237-288/+206
| |\ \ | | | | | | | | | | | | | | | | * commit '21de56a94668e0fda1b8bb4ee4f99a09b40d28fd': Add directory selection to DocumentsProvider.
| * \ \ am b325345e: Merge "Switch framework Holo references to Quantum.Light"Alan Viverette2014-04-023-5/+5
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit 'b325345ef0adf2849350d339de1ec5f92b67b7ae': Switch framework Holo references to Quantum.Light
* | | | | Import translations. DO NOT MERGEBaligh Uddin2014-05-121-3/+3
| |_|_|/ |/| | | | | | | | | | | | | | | Change-Id: If60a8ee5762d1e89e73afd0b3d5e79b3ef4916c1 Auto-generated-cl: translation import
* | | | am ddba067f: am f521ee6f: am e3e2c471: Merge "Set ActionMode title to the ↵Jeff Sharkey2014-05-101-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | number of selected files" * commit 'ddba067f0fa1560ce3e1aff58d512824ac2e2d7d': Set ActionMode title to the number of selected files
| * \ \ \ am e3e2c471: Merge "Set ActionMode title to the number of selected files"Jeff Sharkey2014-05-101-0/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e3e2c471b2504335e99ed15975c3c5c9dfbf2795': Set ActionMode title to the number of selected files
| | * | | | Set ActionMode title to the number of selected filesStefan Wysocki2014-04-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After change of orientation ActionMode is recreated without previously set title. It needs to be updated in onCreateActionMode callback. Change-Id: If5f36e8ad6d1b5cf04ed242611fd037969d73517
* | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia11b15d1e802b1f4fb3afbc9261487a5ab364a7f Auto-generated-cl: translation import
* | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-04-2855-110/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0759dcb477375df5e96160003f421821fb5ba371 Auto-generated-cl: translation import
* | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-04-2355-0/+110
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | Change-Id: I71ec42f4923a70bc8e34f16a55ffeb5f63e92ec8 Auto-generated-cl: translation import
* | | | | Add directory selection to DocumentsProvider.Jeff Sharkey2014-04-227-288/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce new ACTION_PICK_DIRECTORY that allows users to grant access to an entire document subtree. Instead of requiring grants for each individual document, this leverages new prefix URI permission grants by defining new "via"-style URIs: content://com.example/via/12/document/24/ This references document 24 by using a prefix grant given for document 12. Internally, we use isChildDocument() to enforce that 24 is actually a descendant (child, grandchild, etc) of 12. Since this is an optional API, providers indicate support with Root.FLAG_SUPPORTS_DIR_SELECTION. Extend DocumentsUI to support picking directories. Expose createDocument() API to work with returned directories. Offer to canonicalize via-style URIs into direct URIs, generating exact permission grants along the way. Override openAssetFile() to pass through CancellationSignal. Move testing code into ApiDemos. Bug: 10607375 Change-Id: Ifffc1cff878870f8152eb6ca0199c5d014b9cb07
* | | | | Import translations. DO NOT MERGEBaligh Uddin2014-04-162-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ice08934e78e95e0c229189902366db69498d82fa Auto-generated-cl: translation import
* | | | | Merge "Import translations. DO NOT MERGE"Baligh Uddin2014-04-161-3/+3
|\ \ \ \ \
| * | | | | Import translations. DO NOT MERGEBaligh Uddin2014-04-141-3/+3
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | Change-Id: I1d43a2f0495c5744cfea7c9a5932522c50f7492a Auto-generated-cl: translation import
* | | | | am b325345e: Merge "Switch framework Holo references to Quantum.Light"Alan Viverette2014-04-023-5/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'b325345ef0adf2849350d339de1ec5f92b67b7ae': Switch framework Holo references to Quantum.Light
| * | | | Switch framework Holo references to Quantum.LightAlan Viverette2014-04-013-5/+5
| | | | | | | | | | | | | | | | | | | | Change-Id: Ib545a143f1959b6104adbc9d594dd626851d90b3
| * | | | Import translations. DO NOT MERGEBaligh Uddin2014-03-242-3/+3
|/ / / / | | | | | | | | | | | | | | | | Change-Id: Ie37886c814e5006a99ec64b6d1feafa39ebdc7b8 Auto-generated-cl: translation import
* | | | Import translations. DO NOT MERGEBaligh Uddin2014-03-194-5/+5
| | | | | | | | | | | | | | | | | | | | Change-Id: I2e61beac4aa1eb5e5adac7d71653e4d6308cd937 Auto-generated-cl: translation import
* | | | Import translations. DO NOT MERGEGeoff Mendal2014-03-171-1/+1
| |_|/ |/| | | | | | | | | | | Change-Id: Ic78ab9269a3e4b81d94756bcba14123c05969387 Auto-generated-cl: translation import
* | | resolved conflicts for merge of e0b14ea7 to masterKenny Root2013-12-132-5/+5
|\ \ \ | |/ / | | | | | | Change-Id: Ie018d3e2eba1eb2d655c153880e1951b68c2bd51
| * | am 37c69fdd: Merge "Use java.util.Objects instead on internal API"Kenny Root2013-12-132-5/+5
| |\ \ | | |/ | | | | | | | | | * commit '37c69fdd826f3973966430adc1abfbefc19bc16e': Use java.util.Objects instead on internal API
| | * Use java.util.Objects instead on internal APIKenny Root2013-12-132-5/+5
| | | | | | | | | | | | | | | | | | | | | Not needed since java.util.Objects implements all the needed functionality. Change-Id: Icd31d49a9801d1705427f028e9ac927d58e7d34c
* | | Remove deprecated localesBaligh Uddin2013-12-091-53/+0
| | | | | | | | | | | | | | | Bug:11340849 Change-Id: Ib99486303927a6bce308b113d70f8e5b5bce4a13
* | | Remove unused imports from frameworks/base.John Spurlock2013-11-203-4/+0
| | | | | | | | | | | | Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
* | | am 37ba54ac: am eb4dc749: am 6d0d4b5b: Merge "Mask OOBE when filtering ↵Jeff Sharkey2013-11-192-1/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | recent documents." into klp-dev * commit '37ba54ac13e6f8cff70d3138a029cfdd4733aba7': Mask OOBE when filtering recent documents.
| * | am eb4dc749: am 6d0d4b5b: Merge "Mask OOBE when filtering recent documents." ↵Jeff Sharkey2013-11-192-1/+5
| |\ \ | | |/ | |/| | | | | | | | | | | | | into klp-dev * commit 'eb4dc749de7f6ee45cae070db960890643e94aff': Mask OOBE when filtering recent documents.
| | * am 6d0d4b5b: Merge "Mask OOBE when filtering recent documents." into klp-devJeff Sharkey2013-11-192-1/+5
| | |\ | | | | | | | | | | | | | | | | * commit '6d0d4b5b5a66ea348c2cdd89a89d4ab7f0483829': Mask OOBE when filtering recent documents.
| | | * Mask OOBE when filtering recent documents.Jeff Sharkey2013-11-182-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a data ownership issue related to recent documents Cursors, and the loader and UI threads can end up traversing the same Cursor at runtime. This change masks OOBE crashes caused by this race until we have time to fix cleanly. Bug: 11736668 Change-Id: I2039a5edcf341fcaedacc2f08bde96fc5a271782
| | | * Import translations. DO NOT MERGEBaligh Uddin2013-11-041-1/+1
| | |/ | | | | | | | | | | | | Change-Id: I51676d5c61313a165f7a1cce21e46cb1c5ebe68d Auto-generated-cl: translation import
* | | Import translations. DO NOT MERGEBaligh Uddin2013-10-301-1/+1
| | | | | | | | | | | | | | | Change-Id: I29e32b9b384864e27601d1abbec101ba5a9f839c Auto-generated-cl: translation import
* | | am 88c84f97: am dd225d28: am 7fbba162: Merge "Suppress ↵Jeff Sharkey2013-10-291-1/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | OperationCanceledException logging." into klp-dev * commit '88c84f97186b9f5808949a8b11357f6f8d27f046': Suppress OperationCanceledException logging.
| * | am dd225d28: am 7fbba162: Merge "Suppress OperationCanceledException ↵Jeff Sharkey2013-10-291-1/+4
| |\ \ | | |/ | | | | | | | | | | | | | | | logging." into klp-dev * commit 'dd225d28e6e7a57a9ae70c4a7f6217358e3a2052': Suppress OperationCanceledException logging.
| | * Suppress OperationCanceledException logging.Jeff Sharkey2013-10-291-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | These exceptions are normal when an app has cancelled an outstanding thumbnail request. Bug: 11385378 Change-Id: I8aed5721b447cda5baf447ac7afd627aa1062863
* | | am 66d079bf: am f7eb3398: am 19949b9d: Merge "Guard against missing document ↵Jeff Sharkey2013-10-292-11/+11
|\ \ \ | |/ / | | | | | | | | | | | | | | | columns." into klp-dev * commit '66d079bf25ff3f99dbba91e02d392c936238170b': Guard against missing document columns.
| * | am f7eb3398: am 19949b9d: Merge "Guard against missing document columns." ↵Jeff Sharkey2013-10-292-11/+11
| |\ \ | | |/ | | | | | | | | | | | | | | | into klp-dev * commit 'f7eb3398f16f4d76d2a342cf571040360d5a6df6': Guard against missing document columns.
| | * Guard against missing document columns.Jeff Sharkey2013-10-292-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | When filtering and sorting, guard against missing columns to avoid crashing entire app. Bug: 11377065 Change-Id: I04f035c918d743bcc84592f05e3ef9ad0ebfadce
* | | am e643e337: am 99dcb2eb: am 10e509dc: Merge "Use inotify to update ↵Jeff Sharkey2013-10-281-4/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | DocumentsUI." into klp-dev * commit 'e643e33736e14a59f1f9a8acb4d630b2ea671a31': Use inotify to update DocumentsUI.
| * | am 99dcb2eb: am 10e509dc: Merge "Use inotify to update DocumentsUI." into ↵Jeff Sharkey2013-10-281-4/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | klp-dev * commit '99dcb2eb3578c3d14658b3850cb3e32608e173b1': Use inotify to update DocumentsUI.
| | * Use inotify to update DocumentsUI.Jeff Sharkey2013-10-251-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While user is actively looking at a directory, subscribe to inotify events and notify of content changes to trigger requeries. Reference count the observers, since multiple cursors are regularly open during requeries. Fix leaking cursors on activity rotation; crazy loader ID generation is no longer needed. Bug: 10999396 Change-Id: Iddeb08a056fee80c93df8499874705bcd213a1e2
* | | am de9b66fe: am 3ac436b7: am 80f103ae: Merge "Extra to always show advanced ↵Jeff Sharkey2013-10-252-2/+8
|\ \ \ | |/ / | | | | | | | | | | | | | | | devices." into klp-dev * commit 'de9b66fee1bdbc914c287fb9a2aa832dc2d3e6f9': Extra to always show advanced devices.