Commit Graph

76 Commits

Author SHA1 Message Date
Ying Wang
083af06aba Use $(SUPPORT_LIBRARY_ROOT) to reference support library resource dir.
The build system sets up $(SUPPORT_LIBRARY_ROOT) based on if it's
platform build or apps-only build.

Change-Id: I81e832138918c729e999690b4c3a215a3c989cfa
2015-05-19 16:10:17 -07:00
Narayan Kamath
f8f1eacd21 Add an explicit dependency on org.apache.http.legacy.
bug: 18027885
Change-Id: I82f8348f69a9f0d1203ad0188ce8fca6d7c379bc
2015-02-06 13:40:01 +00:00
Paul Westbrook
bb68c13afa Changes to support smaller email tombstone apk size
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
2014-09-16 13:59:07 -07:00
Andrew Sapperstein
a3341c3d44 Use appcompat photoviewer.
Change-Id: I4e551e393356f7039e5186cb3f9d9f40ac73cfb9
2014-08-19 13:57:33 -07:00
Andrew Sapperstein
05a96bdccd switch to appcompat. b/16664350
Change-Id: I3391bc352d6b9bc2d59ca6ac0088e88b1edcc76d
2014-08-04 11:18:58 -07:00
Paul Westbrook
2fb24a2e4a Use test proguard config for eng builds
Since unit tests only run on eng builds, modify the proguard config to
only keep the methods/classes needed for unit tests in eng builds

The test proguard config probably is keeping too many methods.  We should
also evaluate whether it is valid for unit test to use methods that are not
used in user builds

The resulting apk size is 8714188 bytes, from 9866129

According to the proguard output, the final number of program classes is
4409, from the previous count of 10932

Change-Id: Ie7065a454e1ff80a4b3f953684940d88b17f6db7
2014-08-01 11:08:18 -07:00
Paul Westbrook
f1212d4181 Use the prebuilt support library resources
Change-Id: I70853b5a73aa98e806adffdfceeb365f3949daa0
2014-07-16 11:46:01 +02:00
James Lemieux
89febdfc3b Replace all references to UnifiedEmail's com.android.oldbitmap with
equivalent usage of framework's com.android.bitmap.

A small refactor of AccountAvatarDrawable.drawBitmap(...) is also included
which produces no functional change.

Change-Id: I223e71a31ada0d9ffb2e4f0458fa1703338ac622
2014-07-11 14:24:42 -07:00
Tony Mantler
035f5fd71c Delete obsolete emailsync code
b/5784532

Change-Id: I33a693e91b99253c4f82758c875c8cf21bace543
2014-06-30 13:13:00 -07:00
Anthony Lee
2a5dac19e7 Remove the wearable prebuilt from the Email makefile
Change-Id: Ic11c3e0b5d3f8b733d0427460a124a7a73101db3
2014-06-17 11:01:22 -07:00
Tony Mantler
8b801e915c Fix AOSP Email compile
Change-Id: Ic894b2c0534e09bf42662c49855fda39967958eb
2014-05-22 13:16:38 -07:00
Scott Kennedy
e9c8ffac1f Switch to use chips in the new location
Change-Id: I0210a6a877e1bce89287382ca749e3eb1d8dc7e6
2014-03-21 14:24:51 -07:00
Alon Albert
1e7df7ec98 am 042e6940: Merge "Build with current SDK" into jb-ub-mail-ur10
* commit '042e69400f1dc256b970f867dc1afd9f0918bbe9':
  Build with current SDK
2013-11-06 11:14:07 -08:00
Alon Albert
4927a24f6f Build with current SDK
Bug: 11533662
Change-Id: I13c26034c1cb2dcc03c281b49dda4df184592e17
2013-11-05 17:54:30 -08:00
Andrew Sapperstein
c2abe3070d Add datetimepicker to Android.mk.
Change-Id: I0f6c3cc96155a9444144182ca48142401ffaacb7
2013-10-21 18:41:30 -07:00
Tony Mantler
e2391fec51 Fix resource overlay order for AOSP Email
b/11255375

Change-Id: I2aa677024500b9944e9bce7846ba7488c28748a8
2013-10-17 12:07:22 -07:00
Andrew Sapperstein
2c56354d4c Use support lib gridlayout.
Change-Id: I6eef37481bd8a97312a3646374d4aad4027d4e5c
2013-08-27 17:40:28 -07:00
Andrew Sapperstein
a32a8aeed0 Support photoviewer backport.
Change-Id: I94460208d5e8d93cc59790cac374222bd05b38a4
2013-08-20 21:42:06 -07:00
Paul Westbrook
2127d4dd09 Use name "Email" instead of Email2
cherry-pick of https://googleplex-android-review.googlesource.com/#/c/344210/1
Change-Id: I67e8f1b46e708b65934c794f7df107138f84c7c9
2013-08-16 09:22:57 -07:00
Yu Ping Hu
5673236ebe Set SDK version for Email to 18.
Change-Id: Ib233193554637506ce5b9cdbe999843b9e5e4ab5
2013-08-08 10:23:17 -07:00
Mark Wei
33f92a7f96 Change AOSP Email Makefile to reference current SDK.
Change-Id: Iab007efda5282b64eebbccdc2dd2b8e33177276c
2013-06-18 14:14:22 -07:00
Andrew Sapperstein
642c6775de Delete build directory.
To streamline our build, I've gone through
and eliminated the redundant build directory.
Strings in build/res have been moved into the
regular res/ directory and the Android.mk
file has been updated to no longer use the
non-existent build directory at all. Fixes b/9105428.

Change-Id: I93288068dceb13ad0a9a5396eb88335e3ecd65f1
2013-05-24 13:36:21 -07:00
Paul Westbrook
fce86e9391 Revert "Include analytics library"
This reverts commit 3bf29abec0.
Bug: 8764535
2013-05-01 10:21:37 -07:00
Paul Westbrook
3bf29abec0 Include analytics library
Change-Id: Ief6b76fa5c9d4013c8848c78748b988d306510de
2013-04-26 03:07:30 -07:00
Yu Ping Hu
9ae81e2af0 Move system folder string resources to emailcommon.
This permits us to move shared code for looking up system
folder names to emailcommon, which is also in this change.

Also renames emailcommon2 to emailcommon.

This is part of a multi-project submit with
I4a071a07c3e33aaa4ea404eb66a8db1eabc9ef0e and
I5746c0353783f9b29d52d6540472588c6542a6a2.

Bug: 8383232

Change-Id: I6c6eec4f1bcf2abd54c1ed05da1add8d894ee403
2013-03-19 19:45:52 -07:00
Paul Westbrook
1bc34c4317 Set local sdk version
Change-Id: I736591787527849222d95574bb092437d18b04f5
2013-03-05 09:51:58 -08:00
Paul Westbrook
8552a4f4a6 build against framework/opt's photo viewer
Bug: 7379833
Change-Id: I5fbf0450ac5fee772fc2044aa2c6b01b4c38f004
2012-12-19 15:03:40 -08:00
Vikram Aggarwal
daa3ed6103 Switch to frameworks/opt/photoviewer
Bug: 7379833 Switch GMail to frameworks/opt/photoviewer
Depends on: https://googleplex-android-review.googlesource.com/#/c/243938/

Change-Id: Iacf7fe112a67702a41bbbf044948ba3d2a3f7883
2012-10-19 13:45:08 -07:00
Paul Westbrook
f81b540955 Build against the MR1 sdk
Change-Id: I28807529373ea4719a3523425fe0cae878739742
2012-09-14 01:56:17 -07:00
Marc Blank
e714bb9d15 Convert authorities, intents, and account manager types
* Tested ok on wiped Nexus
* Tested ok on S3
* Upgrade verified on Nexus

Change-Id: If5d4ce594f8a309cdb59589d10b1d33f3b79326c
2012-08-31 23:26:36 -07:00
Paul Westbrook
12e741ddee Fix build
Create phony package for Imap2.

This should be removed once the build server stops building
Imap2

Change-Id: Ie5d7f20a53a14c9e89363c48e58e44d52a772061
2012-08-22 16:18:46 -07:00
Marc Blank
70edcf0538 Integrate Imap2 into Email
* Also, convert imap accounts to imap2
* The original imap service remains, but is no used
* There remain some questions about how the upgrade
  should work in terms of settings

Change-Id: I0e05edad6a1553f428a2c2fa3daf1df878d4b5f7
2012-08-22 14:17:57 -07:00
Marc Blank
f419287f22 DO NOT MERGE: Move emailcommon2 sources to emailcommon
Change-Id: I06df7e467cd2e0117df8b8db3ddc6ff9da13f1c7
2012-06-28 11:15:06 -07:00
Mindy Pereira
b26e4c9d39 Revert "Remove dependency on mailcommon."
This reverts commit 2d549deb6f
2012-06-12 13:43:47 -07:00
Mindy Pereira
2d549deb6f Remove dependency on mailcommon.
Change-Id: I9ab1b36629d9322a43ae37b0aacb3ae259d3db75
2012-06-12 13:15:24 -07:00
Marc Blank
a5002464f1 Fix build
Change-Id: I2869b9e23dede6bd0217f55da0928374c7be5888
2012-04-26 12:33:59 -07:00
Marc Blank
03cd72805d Revert to old Email app
* These are the last sources in the ICS-MR1 tree

Change-Id: Ida4651bddd92a06a518d00f3e1f275ab3a80c8ae
2012-04-25 13:58:23 -07:00
Paul Westbrook
6f627965d0 Removed some UI provider code from EmailProvider
Leaving this in was breaking the build, as new files were required.

This change is just to keep this version of Email building.
Eventuually Email2 will replace this one.

Change-Id: I96fbed63a18a11bcdc64c2f0bbe8b100fdb273d9
2012-03-20 16:33:03 -07:00
Marc Blank
c8afa2f5cb Send attachments w/ UnifiedEmail outgoing mail
Change-Id: I471816dcaac1ab53aea1465dd69ae4453a1a0268
2012-01-17 15:38:24 -08:00
Marc Blank
3594ac8146 Implement initial UIProvider operations (UnifiedEmail)
* Add support for folder list, conversation list, and message view
  queries
* Open up EmailProvider (temporarily) to allow access from
  UnifiedEmail (signatures don't currently match)
* Modify make file so that we can reference definitions in
  UIProvider

Change-Id: If73c59aa9edfdac5619ff2c6b9cedfdfe4e93d6f
2012-01-12 11:18:01 -08:00
Mindy Pereira
d5109cf7f0 Use static library resources from chips.
Change-Id: I4261004dda1bd106d0c0ad0aec8348920ffd8c7e
2011-12-15 14:01:22 -08:00
Mindy Pereira
a862301129 Revert "Fix build break"
This reverts commit f96a657aaf
2011-11-01 17:21:18 -07:00
Marc Blank
f96a657aaf Fix build break
* For now, we can't have Email build under the SDK

Change-Id: Iae0858d81734478f39077395fa0c9705af027c9f
2011-11-01 16:13:45 -07:00
Paul Westbrook
1aa2a0fce6 Fix build
Change-Id: Id4166d85ef85d10c7d60ba51f386ff5e01abcc79
2011-10-18 17:25:36 -07:00
Mindy Pereira
f5ac3c6901 Use styles in the mailcommon directory for the compose view.
Change-Id: Ib14f99355a78bb00aa06c87ae6329940f5d66444
2011-10-11 10:57:57 -07:00
Mindy Pereira
87763f0ae8 Integrate chips into Email.
Change-Id: Ice037a55a169037f725a667fad7714c7e9580b86
2011-06-16 17:41:04 -07:00
Ben Komalo
28b3fec5c1 Include guava in Email.
- adds a compile time dependency to the guava library
- changes to use @VisibleForTesting in places to ensure it works

Change-Id: I2c5c4f9861234fec3613da011185e5c11f228466
2011-04-14 13:49:01 -07:00
Ying Wang
37f3385803 Split out emailcommon/Android.mk
Change-Id: I846ee2a4b541f4709e647aa537c61549db2bec2e
2011-03-01 15:56:27 -08:00
Ying Wang
a07f2ae0b1 Revert "Split out emailcommon/Android.mk"
This reverts commit c28bf35319.
2011-03-01 14:52:05 -08:00
Ying Wang
c28bf35319 Split out emailcommon/Android.mk
Change-Id: I90653e8601ee3ee6a8719d87ffb93222a11a22c0
2011-03-01 12:29:05 -08:00