summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Email: Use NotificationManager to figure out LED capabilitiesZhao Wei Liew2016-12-302-6/+7
| | | | | | | | | As of f/b change I7d627914b058861048071fc15776031c4152157f, there's a more generic helper method in the notification service to get a more unified (and extensible) list of what the on-device LEDs can do. Move away from direct usage of the boolean resources. Change-Id: Ia7d3927d325c7185ff1becaafe2fef9bc77775da
* Improve notification coalescence algorithm.Danny Baumann2016-12-301-46/+55
| | | | | | | | | | | | Instead of coalescing for 15 seconds after the first change notification, coalesce until change notifications have been idle for at least 2 seconds. This avoids long update delays, which is especially jarring when using notifications on a wearable and the initial notification didn't yet include the message body. Also skip coalescence entirely for deletions; update immediately in that case. Change-Id: I67bed9a1af7b023020b0fd5429495eb45000e858
* email: Add an ActionBar to the mail app's PreferenceActivityJorge Ruesga2016-12-301-5/+2
| | | | | Change-Id: Id2ed98d2c2cd6648e179fb2942f3bc4479049cd0 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* email: fix Exchange sync frequency account setupJorge Ruesga2016-12-301-4/+4
| | | | | | | | Auto sync is not displayed as an option in sync frequency settings, because capabilities aren't filled. Just ensure account capabilities are always saved. Change-Id: I70b7ab9464a99eebf7f82726faa0fb2418e09a99 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* email: imap pushJorge Ruesga2016-12-304-13/+57
| | | | | Change-Id: I8a184a5644e4322ee65d969e14cd47fe119f5df2 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* email: custom notification lightsJorge Ruesga2016-12-302-0/+117
| | | | | Change-Id: I3aaed3c682ae33da925316a5b9a586796fe71229 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* email: fix eas autodiscoverJorge Ruesga2016-12-304-6/+46
| | | | | Change-Id: Ifaf5f757f7f844e49f0ac635b477fcbef4926293 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Fix NPE in getHierarchicalFoldertobitege2016-12-301-1/+3
| | | | | | | | Fixes exceptions like this: java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.android.mail.providers.Folder.name' on a null object reference at com.android.email.activity.setup.MailboxSettings$MailboxSettingsFolderLoaderCallbacks.getHierarchicalFolder(MailboxSettings.java:377) Change-Id: I2c5dda84439caa5d894f5706c9c6a07079cda69c
* email: finish the settings activity after delete its accountJorge Ruesga2016-12-301-6/+2
| | | | | Change-Id: I540f1fe9dc874093ad0067cd56c9f0920620ece1 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* email: support per-folder notificationsJorge Ruesga2016-12-302-55/+576
| | | | | | | This change enables support to configure per-folder notifications options. Change-Id: I6107340da3438ea223506bb22ff898cca179c1f6 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* email: add an option for delete the accountJorge Ruesga2016-12-301-0/+119
| | | | | Change-Id: I0f0f2b7ea950d5154f90cd60261c6918b7ad36b7 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Email: Support Email signature with brand.Manjunatha Prabhu2016-10-281-0/+5
| | | | | | | -Adding brand name to email signature dynamically Change-Id: I75ee7980c19a6b876318b90b3b203a7ef8ac3024 CRs-Fixed: 1081951
* Email: Support account creation for OMA CP.Paramananda Pradhan2016-10-241-6/+11
| | | | | | | | | Changes to allow email to create an account via OMA Client Provisioning message.And enabling the force create account feature which already exists in Email Change-Id: I841949bb373baafb044a310118d9873ca3e2c2d1 CRs-Fixed: 1074918
* Update the overlay of email signatureFang Yunong2016-10-101-1/+3
| | | | | | | Update the overlay of email signature for customer Change-Id: Iea74470d0524ea80e570f5e22deb948e4595947d CRs-Fixed: 1069322
* Email: fix some resource leaks under StrictModeweitan2016-09-081-0/+7
| | | | | | | | Adding methonds to avoid resource leaks issue of Explicit termination method 'close' not called Change-Id: Ic66e9c1beb48122e843537c618b32ceaf788c540 CRs-Fixed: 1036339
* Email: add write external storage permissionweitan2016-09-071-0/+4
| | | | | | | | Email saveAttachment to storage flow will not work, due to lack of write permission Change-Id: Ie5988160f9771f961e214e852981c09998aa8014 CRs-Fixed: 1063943
* Merge "Email: Not show the "Sending feedback" if the feedback url is null" ↵Linux Build Service Account2016-08-302-0/+16
|\ | | | | | | into android_ui.lnx.2.1-dev
| * Email: Not show the "Sending feedback" if the feedback url is nullweitan2016-08-262-0/+16
| | | | | | | | | | | | | | | | Add judgement codes to set "Send feedback" invisible/visible, according to the feeddback uri is null or not Change-Id: I3ef7257c5386d567c30a43f3ecc97173bdc594df CRs-Fixed: 947897
* | Email: Customize the Email account's signaturec_yunong2016-08-251-1/+1
|/ | | | | | | Change the resourceId of signature to be used. Change-Id: Iad2220ab4669fd9fab7d2031820479e409c4a7f9 CRs-Fixed: 1043367
* Email: Update Email APP targetSdkVersion to 24weitan2016-08-245-0/+227
| | | | | | | Incase of Email OTA or GMS runtime permissions issue. Change-Id: I1dc1c5d65d3b96b302137bbd902737c1777da013 CRs-Fixed: 1052058
* Email: Fix Force close issue while removing/adding accountsweitan2016-08-241-1/+3
| | | | | | | | When Email account removes then adds, AccountManagerFuture and updateFolderlist maybe invoke NPE,need to catch it. Change-Id: I4874d5d34f7983a96dc4d2f7c203a264d39f82df CRs-Fixed: 1049128
* Email: Email has stopped after click next in account setup.shiwan2016-08-241-1/+2
| | | | | | | | | 1.Disconnect wifi 2.Main menu->Email->log on a valid account 3.input username and password 4.click next Change-Id: I2c2d773951248d8cea26788f25996ac7d1ba0345 CRs-Fixed: 1013465
* Email: Customize the Email account's signature with the resourcekaiyiz2016-08-241-0/+4
| | | | | Change-Id: Icb96e6c181ebd6c96ebc4b3c2028f2e1f972dd8a CRs-Fixed: 1043367
* Email: Support configure the sync size for each mail contentweitan2016-08-243-0/+112
| | | | | | | | Users could configure the sync size after setuping the account. After Setting the Sync size. Change-Id: I4270cedf5275c6228946580008dc077cb71a4957 CRs-Fixed: 1016744
* Don't allow cachedFile Attachments if the content Uri is pointing to ↵Sam Lee2016-03-241-0/+6
| | | | | | | | | | EmailProvider. This is to backport a security fix reported by b/27308057 and b/27335139. Also, add Analytics for these errors. Bug: b/27335139 Change-Id: Iaacb34e4983cdf9a85487222ae930cb64d80a193
* Default to encrypted connections (YAY!)Tony Mantler2014-10-241-4/+4
| | | | | | b/18119357 Change-Id: I2fc79e7c2296f5f48e354c5fe97fd0ea6609bb17
* Don't assume mHostAuthRecv is loaded when checking outgoingTony Mantler2014-10-201-6/+18
| | | | | | b/18031180 Change-Id: I428021830db373145344a3477e1c5590e8062c10
* Merge "Reload settings immediately after toggling sync" into ub-gmail-ur14-devTony Mantler2014-10-141-0/+3
|\
| * Reload settings immediately after toggling syncTony Mantler2014-10-131-0/+3
| | | | | | | | | | | | | | | | | | Twiddling the AccountManager bits doesn't automatically trigger a content update, so we refresh manually in those cases. b/17330140 Change-Id: I294173c9baca231a6f3ff045d0b7795c6b2b2219
* | Initial account setup analyticsTony Mantler2014-10-131-0/+15
|/ | | | | | | | Just activity start/stop. b/17166224 Change-Id: If100a88d6b6fbe05165aaed90b1caaa9c3db12c3
* Revert "Update notification icon asset names (Email)"Rohan Shah2014-10-131-1/+2
| | | | | | | | Need to revert - doesn't build on Mac OS This reverts commit cc82965ac9a84d65c2e8e1152bd8f9929d5674cb. Change-Id: I98c03ebe85df29ff146d0cee6ae112ab36e6d8b0
* Update notification icon asset names (Email)Rohan Shah2014-10-101-2/+1
| | | | | Bug: 17936539 Change-Id: Ia2b3d4a18a30f9cfbfcda2c68a3ef579c0c75086
* Merge "Account authentication restyling" into ub-gmail-ur14-devTony Mantler2014-10-101-5/+4
|\
| * Account authentication restylingTony Mantler2014-10-081-5/+4
| | | | | | | | | | | | | | | | | | | | | | - Add minWidth to fragment - Remove extraneous LinearLayout and tweak margins to avoid layout jumps - Change + asset - Remove old + icon from prefs header from Email b/8134410 Change-Id: If3371017359b47d9e4280b09fd3bb074b024c23c
* | Restyle account setup flow nav buttonsTony Mantler2014-10-091-9/+0
|/ | | | | | b/17266006 Change-Id: Ie60e56b493ba23465a06cce8a3c37d3fd9d061e5
* Add ability to clear migration state to debug screenMartin Hibdon2014-09-241-0/+10
| | | | | | This makes it a lot easier to test migration code. Change-Id: I22de8c06c34964b8eb7182571094e54f04d739b8
* Changes to support smaller email tombstone apk sizePaul Westbrook2014-09-1684-27316/+59
| | | | | | | | | This reduces the tombstone down by 100K A follow-on cl will remove the unused resources from the tombstone build Bug: 17414014 Change-Id: I5d38811b17a5273ec726e750ab123e10e36cee04
* Display a warning if account is on security holdMartin Hibdon2014-09-122-9/+58
| | | | | | b/17258435 Change-Id: I654db15d59338621829cbb6df106b490ab7bb628
* Merge "Tag Notifications with People (Email)" into ub-gmail-ur14-devRohan Shah2014-09-121-1/+1
|\
| * Tag Notifications with People (Email)Rohan Shah2014-09-101-1/+1
| | | | | | | | | | | | | | | | Just adding the argument for ContactLookupUriFetcher as null (Since we don't use Menagerie for non-Gmail). Bug: 15385612 Change-Id: Idbd76a181ba18fba81a9ff933e4f1a96c11d1b60
* | Merge "Sync account immediately upon restore" into ub-gmail-ur14-devTony Mantler2014-09-111-2/+6
|\ \
| * | Sync account immediately upon restoreTony Mantler2014-09-111-2/+6
| |/ | | | | | | | | | | b/17443087 Change-Id: Ib38fa3551090db85c1f7391fcaa8ce6a8ed7c375
* / Use correct password dialog for outgoing settingsTony Mantler2014-09-111-1/+3
|/ | | | | | | | We actually want to divert based on incoming protocol, not outgoing b/17460124 Change-Id: Ic7129d23d36f9f15e2ecbb25d3f11dae12bb56ac
* Merge "Remove unused resources" into ub-gmail-ur14-devPaul Westbrook2014-09-101-46/+0
|\
| * Remove unused resourcesPaul Westbrook2014-09-101-46/+0
| | | | | | | | | | | | | | | | | | | | Also remove broken & disabled tests that referenced otherwise unused resources Change resource names to prevent duplicate resources. Bug: 17414014 Change-Id: Iea9f9799ec19692707e2949473c6f97a3bd29f4b
* | Remove app icon from Setup and Mailbox SettingsTony Mantler2014-09-092-0/+11
|/ | | | | | b/16657133 Change-Id: I7ba77a3a355627c1df971aa7238969dfeeaebf28
* Remove password spaces warningTony Mantler2014-09-093-48/+27
| | | | | | b/17409681 Change-Id: Ia411999fc7652b520f17fa2538980d9ba4bd172a
* Fix spinners layout manglingTony Mantler2014-09-081-6/+7
| | | | | | | | | | Setting the gravity to center_vertical seems to make them behave. Not asking. Also clean up the layout file in general. b/17380851 Change-Id: I45ac202825295c577dd1a13a3176ac685bd9b9d8
* Merge "Fix the text of the authentication label on rotation" into ↵Martin Hibdon2014-09-081-8/+12
|\ | | | | | | ub-gmail-ur14-dev
| * Fix the text of the authentication label on rotationMartin Hibdon2014-09-081-8/+12
| | | | | | | | | | | | b/17410251 Change-Id: I1e902da85a8525e597d205d3be520e6eb6db7f50