summaryrefslogtreecommitdiff
path: root/src/com/android/mail/ui/AddableFolderSelectorAdapter.java
Commit message (Collapse)AuthorAgeFilesLines
* email: allow move/copy operations to more system foldersJorge Ruesga2016-12-301-1/+4
| | | | | | | | | | | Allow to move emails to Trash, Drafts and Spam system folders, plus the previous Inbox system folder. Add a extra check for folder move capabilities before add it to the candidate list of system folders. Change-Id: I0cb77acee230011d904d9188a5ddac16314a504b JIRA: CYAN-7037 Signed-off-by: Jorge Ruesga <jorge@ruesga.com> (cherry picked from commit 95cc3e919ed24b7f11835e68e4686b0cd49a528f)
* Remove notif unused assets (UnifiedEmail)Rohan Shah2014-08-191-2/+0
| | | | | | | | Also removed references to them since we no longer need the resource ids saved with folders. Bug: 16487715 Change-Id: I0dfc49b488c7887ef3b3928303954992125e264f
* quantum change labels b/16054906Andrew Sapperstein2014-07-031-2/+2
| | | | Change-Id: Ieb8ef93f9ce6eb784a3f2c3343286e0666bb31de
* Fix bug with omitting checked system labelsJin Cao2014-06-231-1/+1
| | | | | | | | | | | | | Since we now no longer need to manually sort the selected labels to top of the list since we have separate section for selected and unselected labels, we can remove the check for isSelected when adding system labels in their default order before calling folderSort. This bug was causing selected system labels to not appear under the systemLabels list AND nonsystemlabels list, therefore it was missing completely in the dialog. b/15777487 Change-Id: I14ba2872f87d1c9baed7e9143c8b7e8219f33c45
* Properly uncheck folders in selection dialogJin Cao2014-05-191-8/+38
| | | | | | | | | | | - Properly check isAdded flag to check/uncheck folders from savedInstanceState. - Rename isPresent -> isSelected for FolderRow for better consistency. - Remove isSelected from ordering because we now add the originally selected folders in a different section of the adapter so that they are always on top. - Add section headers for the initially selected folders and the rest. b/9174917 Change-Id: I0f063e9280312a1c2a9c76e604e6a9f799f72822
* Parent folder as a URIVikram Aggarwal2013-07-031-0/+2
| | | | | | | | | | 1. Change folder to a URI 2. Fix references. Bug: 9694857 Populate folder.parent correctly in the provider Bug: 9694899 Clean up the hierarchy folder code Change-Id: I4eff33d0259777e447cfe5769813db990f142077
* Don't show inbox sections in "Change labels" dialogScott Kennedy2013-04-251-3/+20
| | | | | | | We can't support multiple adds/removes here yet. Bug: 8722438 Change-Id: Ie527d210ace1b379f247ba331af43f712f3583d2
* Treat the folder type as a bitmaskScott Kennedy2013-04-231-1/+4
| | | | | Bug: 8597754 Change-Id: I63324e12ce918958491c4b30469f61a08eadfc0c
* This is a long, not a StringScott Kennedy2013-03-151-1/+1
| | | | Change-Id: I04c27f51bb1db907633cad918f3aadef22f061bb
* Teaser view for sectioned inboxScott Kennedy2013-03-141-0/+2
| | | | | | Still some changes required as the spec is updated, but it works. Change-Id: I068488d057e42bc62af36e532d55ce17f695f49d
* Preliminary sectioned inbox supportScott Kennedy2013-02-281-1/+5
| | | | | | | | Add basic support for sectioned inbox. This does not include the teaser view or other less important UI features. Bug: 7685676 Change-Id: I2cba26dc4acc1021f5b8ab0ca81d4e0a65f744a8
* Move notifications to UnifiedEmailScott Kennedy2013-02-071-0/+2
| | | | | | | | | | | | This involves redoing the persistence model, to split general, account, and folder settings into separate SharedPreference stores. It also requires some preferences to be moved into UnifiedEmail. Depends on I71802444add85dc01f6645906a629ff80b964222 (UnifiedGmail) Depends on Ie6ec389b5b5d2e7ab1b299d0877811ae716526e2 (Email) Change-Id: Ibe2e3f93ec164370535ffc5f5b2409544cc8d36d
* Cache column name/indexes so we can use getColumnIndex()Scott Kennedy2013-02-061-1/+3
| | | | | | MatrixCursor doesn't do this, so we need to add our own cache. Change-Id: Ia5ffd31f54a2a335f495df5e0d1a0886ee08c14b
* Lots of fixes to move to folder dialog.mindyp2012-09-181-3/+2
| | | | | | Fixes b/6919987 bring back divided "move to folders" sections Change-Id: Ia7d709c5cd1f8787e2e1083442aa4eaf50d6babb
* Check that we can move to first before making folders.mindyp2012-09-041-44/+45
| | | | | | fixes b/7079467 RTE in Gmail: Caused by: android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0 Change-Id: I5c5051d89e57fd5eed126891f636df90db6bca37
* Use a single list for change labels for Gmail.Mindy Pereira2012-08-021-0/+85
Fixes b/6918709 Gmail 2: Inbox shown twice in label view Change-Id: I0547d873d742e5f727f93ef1703e5895a975fd21