summaryrefslogtreecommitdiffstats
path: root/packages/DocumentsUI
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | Ensure that the copy notification is always cancelable.Ben Kwa2015-05-271-5/+5
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the CopyService dies or is stopped for whatever reason, the cached "current" job ID will go to null. In that case, the cancel intent will be ignored, and the copy notification can never be dismissed. Adding a null check to the handleCancel method of CopyService fixes this. BUG=21365043 Change-Id: I0615328f6033a313fec79f8b63291c7f7373ea0f
* | | | | Import translations. DO NOT MERGEGeoff Mendal2015-05-2534-68/+34
| |_|_|/ |/| | | | | | | | | | | | | | | Change-Id: Id4da8170bceabc117824f81c25a6019f5584ce0b Auto-generated-cl: translation import
* | | | Merge "[mnc-dev] Hide list/grid menu items for copy dest action...in ↵Steve McKay2015-05-211-1/+3
|\ \ \ \ | | | | | | | | | | | | | | | mnc-dev!" into mnc-dev
| * | | | [mnc-dev] Hide list/grid menu items for copy dest action...in mnc-dev!Steve McKay2015-05-211-1/+3
| | |_|/ | |/| | | | | | | | | | | | | | | | | | BUG=21259006 Change-Id: Ic31dfa1a1cffa4340769c08db3e3cb3fb46e31d5 (cherry picked from commit e04e02d027b731448d68995a202c8867c4985fa3)
* | | | Import translations. DO NOT MERGEGeoff Mendal2015-05-2176-77/+111
|/ / / | | | | | | | | | | | | Change-Id: Ibc636bc980ceaead21d2eaf2dd813de284341ab0 Auto-generated-cl: translation import
* | | DocumentUI: Plish the design of footer bottons.Daichi Hirono2015-05-184-38/+43
| |/ |/| | | | | | | | | | | | | | | * Remove the directory name from "pick" button. * Allign buttons at right. * Fix bug that the pick button turns to be hidden after screen rotation. BUG=20285152 Change-Id: I909d52f341bf67c5627431a354a9b0ccec152a05
* | Merge "Delete StandaloneActivity from M (DO NOT MERGE)" into mnc-devSteve McKay2015-05-115-351/+14
|\ \
| * | Delete StandaloneActivity from M (DO NOT MERGE)Steve McKay2015-05-115-351/+14
| |/ | | | | | | | | | | | | The activity is already disabled by default. Fix an issue where copy support error handling was attempting to invoke StandaloneActivity. Change-Id: If15c312a183cae1b2a84517e7f7b3123c11bd619
* | Import translations. DO NOT MERGEGeoff Mendal2015-05-112-6/+6
|/ | | | | Change-Id: I0999d1abf6951574e9ba7fc6c8a608aaea4540de Auto-generated-cl: translation import
* Clean up error handling in CopyService.Ben Kwa2015-05-051-7/+5
| | | | Change-Id: I87b9f2c2cfddc222fbee64578b0a1349508a244f
* Merge "Cherry pick beefed-up error handling in the CopyService from master. ↵Ben Kwa2015-05-053-156/+265
|\ | | | | | | DO NOT MERGE" into mnc-dev
| * Cherry pick beefed-up error handling in the CopyService from master. DO NOT ↵Ben Kwa2015-05-043-156/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | MERGE Send copy errors to the destination provider. Big overhaul of tests to make them simpler. Test that errors during copying are detected and partial copies are cleaned up. Test that copying empty directories works properly. Change-Id: I3fe0e73bdc92c2b6f522857ca5631f6d03d5a666 (cherry picked from commit dae8c378d6c680ae9efa8e1202d9bc92fb0dfb11)
* | Merge changes from topic 'mwd-merge-050415' into mnc-devPrerepa Viswanadham2015-05-053-9/+15
|\ \ | |/ |/| | | | | | | | | | | | | | | | | * changes: Merge commit 'b6f59f4' into master_merge Merge commit 'f6db0ce' into master_merge Merge commit '17455a3' into master_merge Merge commit 'b4d5b32' into master_merge Merge commit 'a1a2fa7' into master_merge Merge commit '8dfdb98' into master_merge Merge commit 'eba66c3' into master_merge
| * Import translations. DO NOT MERGEGeoff Mendal2015-04-2963-189/+335
| | | | | | | | | | Change-Id: I43378ea885cdb018cd8b8cda5b8be304817e8ee8 Auto-generated-cl: translation import
| * Import translations. DO NOT MERGEGeoff Mendal2015-04-2713-39/+69
| | | | | | | | | | Change-Id: I4bcfc305120a6a1342978d6763628b08c7086a8a Auto-generated-cl: translation import
* | Merge "Ensure sort menu is shown as needed." into mnc-devSteve McKay2015-05-043-42/+38
|\ \
| * | Ensure sort menu is shown as needed.Steve McKay2015-05-043-42/+38
| | | | | | | | | | | | | | | | | | This also hoists common code for options menu setup into BaseActivity. Change-Id: Ie87b8188a6c142b2312c92dc0d0bd550f0b1e59f
* | | Import translations. DO NOT MERGEGeoff Mendal2015-04-294-7/+9
|/ / | | | | | | | | Change-Id: Ied1d50de849ab195e9f3c9e70c0f8e8dbf9104fe Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEGeoff Mendal2015-04-2859-177/+315
| | | | | | | | | | Change-Id: I6f6d4bf043ac98defa9d3b70d0a01d48f4aa6ace Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEGeoff Mendal2015-04-2710-30/+52
| | | | | | | | | | Change-Id: I614f77f977e342c3b374da72501c1b8de0a7abf3 Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEGeoff Mendal2015-04-263-9/+17
|/ | | | | Change-Id: Id361b7e87a85cb100addc326bc74ce7db4ba10f2 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEGeoff Mendal2015-04-2476-480/+228
| | | | | Change-Id: I79db3fdb8e2c5e86259a6c5cefe5e0790a07bc92 Auto-generated-cl: translation import
* Move extension checking code into FileUtils.Ben Kwa2015-04-231-0/+2
| | | | | | | | | | Move code for checking file extensions and MIME types from ExternalStorageProvider into android.os.FileUtils, so it can be used by other clients (e.g. DownloadsProvider). BUG=20157955 Change-Id: Ib16a16af723c21fb8d2912c8917dfd68653ea6fa
* Merge "Update strings for the copy error dialog to match the latest specs."Tomasz Mikolajewski2015-04-232-9/+5
|\
| * Update strings for the copy error dialog to match the latest specs.Tomasz Mikolajewski2015-04-232-9/+5
| | | | | | | | Change-Id: I9adeff3e7e9435237b4b3337e4c687eec39b0335
* | Implement retrying copying in case of an error in DocumentsUI.Tomasz Mikolajewski2015-04-234-32/+54
|/ | | | Change-Id: I9ed1eb624aa30fb7e65d4d424ebd988dfc06d030
* DocumentsUI: Stop to override fixed size of dialog in CreateDirectoryDialog.Daichi Hirono2015-04-235-20/+11
| | | | | | | | | | | Previously CreateDirectoryDialog overrides fixed size defined in the application theme. As a result, the dialog is shown as vertically long. The CL specifies explicitly specifies the default theme for dialog when creating the dialog to stop override the application theme. BUG=20239384 Change-Id: I7227bd91705c32f5196b666bbe94ff32b5cb4af8
* Merge "Update activities to clear search term when a root that doesn't ↵Steve McKay2015-04-233-26/+42
|\ | | | | | | support search is selected by the user."
| * Update activities to clear search term when a root that doesn't support ↵Steve McKay2015-04-223-26/+42
| | | | | | | | | | | | | | | | search is selected by the user. BUG=20495230 Change-Id: Iee2e2bd80dea6d368cad0911117e3759bdfe37d9
* | Merge "Implement DayNight theme for DocumentsUI"Alan Viverette2015-04-2337-59/+110
|\ \ | |/ |/|
| * Implement DayNight theme for DocumentsUIAlan Viverette2015-04-2237-59/+110
| | | | | | | | | | | | | | Also fixes tint colors for icons to use themed colorControlNormal. Bug: 20421157 Change-Id: I110a1d95f763332e7ca76cf8ab4125bd4d9a075e
* | Merge "Reduce code duplication between DocumentsActivity and ↵Steve McKay2015-04-228-1242/+753
|\ \ | | | | | | | | | StandaloneActivity."
| * | Reduce code duplication between DocumentsActivity and StandaloneActivity.Steve McKay2015-04-228-1242/+753
| | | | | | | | | | | | | | | | | | | | | Ensure StandaloneActivity has toolbar management consistent w/ DocumentsActivity. Introduce a separate SearchManager class since there seemed to be a sufficient body of logic and state to warrant the separation. Change-Id: I87d9da40095c6de575b124005ca34a8c0b0b4b35
* | | Merge "Disable copying from Recents."Ben Kwa2015-04-221-1/+2
|\ \ \ | |_|/ |/| |
| * | Disable copying from Recents.Ben Kwa2015-04-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recents view contains a whole bunch of content aggregated from potentially many different sources. Dealing with all these in a single copy operation can be complex, so for simplicity, copying from recents view is disabled. BUG=20487641 Change-Id: I6052e62ee0446da7741f13abfed97044e147dd7d
* | | Import translations. DO NOT MERGEGeoff Mendal2015-04-225-7/+235
| |/ |/| | | | | | | Change-Id: I0893584e89cfc86caea9f5f5f43f8d7dd94873d8 Auto-generated-cl: translation import
* | Implement some tests for com.android.documentsui.CopyService.Ben Kwa2015-04-213-60/+482
|/ | | | | | | | - Add a unit test for CopyService. - Make some changes to StubProvider to make it more configurable, for testing. Change-Id: I3d726099feaf6b7a3fdd40bf2449f4ee3e848d77
* Merge "DocumentsUI: Save source file list into BaseActivity.State."Daichi Hirono2015-04-212-4/+8
|\
| * DocumentsUI: Save source file list into BaseActivity.State.Daichi Hirono2015-04-202-4/+8
| | | | | | | | | | | | | | | | This is needed so that the activity does not lost the list on screen rotation. BUG=20283251 Change-Id: I8f971bab0a0ce2066fd5fea29b98b355cb948ea6
* | Import translations. DO NOT MERGEGeoff Mendal2015-04-202-13/+11
|/ | | | | Change-Id: If0652f6630dbfb0110c8b13a479cb59c1af22bcc Auto-generated-cl: translation import
* Merge "Enable the copy feature."Jeff Sharkey2015-04-191-5/+1
|\
| * Enable the copy feature.Ben Kwa2015-04-161-5/+1
| | | | | | | | Change-Id: Ie0636895f2b2fe6550eb68042295daf76bbbd7fe
* | Import translations. DO NOT MERGEGeoff Mendal2015-04-1772-792/+672
| | | | | | | | | | Change-Id: If7a0cfd12e5ed935ad521bd48eb82dd6cad3084f Auto-generated-cl: translation import
* | Merge "Stop to take multiline file name in the create directory dialog."Daichi Hirono2015-04-171-1/+2
|\ \
| * | Stop to take multiline file name in the create directory dialog.Daichi Hirono2015-04-161-1/+2
| | | | | | | | | | | | | | | | | | BUG=20275734 Change-Id: I1b0847598eb06091193bb63e6ab3a57033798c10
* | | Merge "Fix cancellation of copy jobs."Ben Kwa2015-04-161-1/+2
|\ \ \
| * | | Fix cancellation of copy jobs.Ben Kwa2015-04-161-1/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add FLAG_CANCEL_CURRENT to the pending intent for cancellation, to prevent reuse of previously created cancellation intents. Previously created intents have non-matching job IDs, which causes the cancellation intent to be ignored. BUG=20221969 Change-Id: Ie0afcc6af53a550b44bc4b2f3d48942cdb092a65
* | | Merge "DocumentsUI: Hide pick button of copy destination picker for read ↵Daichi Hirono2015-04-161-2/+3
|\ \ \ | |/ / |/| | | | | only directory."
| * | DocumentsUI: Hide pick button of copy destination picker for read only ↵Daichi Hirono2015-04-151-2/+3
| |/ | | | | | | | | | | | | | | directory. BUG=20238336 Change-Id: Ia2a0ef2889a2153d99c0f305deda151a04483173
* | Import translations. DO NOT MERGEGeoff Mendal2015-04-1573-135/+803
|/ | | | | Change-Id: Ia8ffbde888155d62a59ca824069187db7b9895b8 Auto-generated-cl: translation import