<feed xmlns='http://www.w3.org/2005/Atom'>
<title>android_packages_apps_Email/src/com, branch cm-13.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_apps_Email/'/>
<entry>
<title>AOSP/Email - Second part of the Security Vulnerability fix -</title>
<updated>2019-03-23T14:58:36+00:00</updated>
<author>
<name>Raman Tenneti</name>
<email>rtenneti@google.com</email>
</author>
<published>2018-11-27T21:47:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_apps_Email/commit/?id=2e6af7773dd792199efda5d47c470ec554edb291'/>
<id>2e6af7773dd792199efda5d47c470ec554edb291</id>
<content type='text'>
  Email App: Malicious app is able to compose message with hidden
  attachments and bypass attachments path checks attaching private files
  from /data/data/com.android.email/*

+ Ported the following CLs. Code is different from gmail. Made the changes
  to work with Email.
  ++ https://critique.corp.google.com/#review/136780360
     +++ Differentiating our Compose intents from other app's intent.
	 Added ComposeActivityEmailExternal method and it always returns true.
         Treat body and quoted text as plaintext if intent is external.

Bug: 32068883
Bug: 32502421
Bug: 32589229

Test: manual - Ran the following tests on Pixel phone. Tested the Email UI.

$ adb install -r out/target/product/marlin/system/app/Email/Email.apk

$ adb install -r  app-debug.apk
   Success

$ adb shell am start -n com.test.poc.poc32589229/.MainActivity -a android.intent.action.MAIN
  Starting: Intent { act=android.intent.action.MAIN cmp=com.test.poc.poc32589229/.MainActivity }

  Duplicated the steps in https://b.corp.google.com/issues/32589229#comment5
  and didn't get the attachments after the fix (was getting attachments before the fix).

$ adb install -r out/target/product/marlin/testcases/EmailTests/EmailTests.apk
  Performing Streamed Install
  Success

$ adb shell am instrument -w com.android.email.tests
  The number of failures are same as before (with or without this change).
  Tests run: 158,  Failures: 5

Change-Id: I4eda17af7f60e1c92f49ffa6025b328f6481ec76
(cherry picked from commit c87d04b8c190f52c4f7e8a22dfaa2b5e065415fe)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Email App: Malicious app is able to compose message with hidden
  attachments and bypass attachments path checks attaching private files
  from /data/data/com.android.email/*

+ Ported the following CLs. Code is different from gmail. Made the changes
  to work with Email.
  ++ https://critique.corp.google.com/#review/136780360
     +++ Differentiating our Compose intents from other app's intent.
	 Added ComposeActivityEmailExternal method and it always returns true.
         Treat body and quoted text as plaintext if intent is external.

Bug: 32068883
Bug: 32502421
Bug: 32589229

Test: manual - Ran the following tests on Pixel phone. Tested the Email UI.

$ adb install -r out/target/product/marlin/system/app/Email/Email.apk

$ adb install -r  app-debug.apk
   Success

$ adb shell am start -n com.test.poc.poc32589229/.MainActivity -a android.intent.action.MAIN
  Starting: Intent { act=android.intent.action.MAIN cmp=com.test.poc.poc32589229/.MainActivity }

  Duplicated the steps in https://b.corp.google.com/issues/32589229#comment5
  and didn't get the attachments after the fix (was getting attachments before the fix).

$ adb install -r out/target/product/marlin/testcases/EmailTests/EmailTests.apk
  Performing Streamed Install
  Success

$ adb shell am instrument -w com.android.email.tests
  The number of failures are same as before (with or without this change).
  Tests run: 158,  Failures: 5

Change-Id: I4eda17af7f60e1c92f49ffa6025b328f6481ec76
(cherry picked from commit c87d04b8c190f52c4f7e8a22dfaa2b5e065415fe)
</pre>
</div>
</content>
</entry>
<entry>
<title>Disallow attaching files from our own EmailAttachmentProvider.</title>
<updated>2018-04-06T20:29:59+00:00</updated>
<author>
<name>Ekin Oguz</name>
<email>ekinoguz@google.com</email>
</author>
<published>2018-01-29T21:11:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_apps_Email/commit/?id=47bae7d068a52bcbbb9755e4ee349cfe106a9f24'/>
<id>47bae7d068a52bcbbb9755e4ee349cfe106a9f24</id>
<content type='text'>
This is to backport a security fix reported in b/71814449 and
b/72569023. Fix is using the same approach as b/27308057, which is to
prevent Compose from accepting URIs with our own email attachment
provider.

Bug: b/71814449
Change-Id: Ib9df21648d00d2ef2da9fac05cc39fee253de8e2
(cherry picked from commit 7227751994624bdb2ba958714cc861b8bab41634)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is to backport a security fix reported in b/71814449 and
b/72569023. Fix is using the same approach as b/27308057, which is to
prevent Compose from accepting URIs with our own email attachment
provider.

Bug: b/71814449
Change-Id: Ib9df21648d00d2ef2da9fac05cc39fee253de8e2
(cherry picked from commit 7227751994624bdb2ba958714cc861b8bab41634)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'android-6.0.1_r43' into HEAD</title>
<updated>2016-05-03T19:00:00+00:00</updated>
<author>
<name>Jessica Wagantall</name>
<email>jwagantall@cyngn.com</email>
</author>
<published>2016-05-03T18:38:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_apps_Email/commit/?id=81609f786108ea66b6cd583df11554bcdfb5757b'/>
<id>81609f786108ea66b6cd583df11554bcdfb5757b</id>
<content type='text'>
Ticket: CYNGNOS-2373
Android 6.0.1 release 43 (MOB30J)

Change-Id: I1241266b370fb1ba0560217684002d01867a0c77
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ticket: CYNGNOS-2373
Android 6.0.1 release 43 (MOB30J)

Change-Id: I1241266b370fb1ba0560217684002d01867a0c77
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't allow cachedFile Attachments if the content Uri is pointing to EmailProvider.</title>
<updated>2016-03-26T00:48:04+00:00</updated>
<author>
<name>Sam Lee</name>
<email>samsmlee@google.com</email>
</author>
<published>2016-03-23T23:42:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_apps_Email/commit/?id=2791f0b33b610247ef87278862e66c6045f89693'/>
<id>2791f0b33b610247ef87278862e66c6045f89693</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve notification coalescence algorithm.</title>
<updated>2016-01-21T07:32:40+00:00</updated>
<author>
<name>Danny Baumann</name>
<email>dannybaumann@web.de</email>
</author>
<published>2016-01-15T11:21:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_apps_Email/commit/?id=a29e6b2215fcab6024345e156d30ea1a931120d3'/>
<id>a29e6b2215fcab6024345e156d30ea1a931120d3</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>email: Add an ActionBar to the mail app's PreferenceActivity</title>
<updated>2015-10-18T21:06:01+00:00</updated>
<author>
<name>Jorge Ruesga</name>
<email>jorge@ruesga.com</email>
</author>
<published>2015-10-16T23:18:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_apps_Email/commit/?id=e3c39f0e6d1834e8895e245905f570b8d23135c1'/>
<id>e3c39f0e6d1834e8895e245905f570b8d23135c1</id>
<content type='text'>
Change-Id: Id2ed98d2c2cd6648e179fb2942f3bc4479049cd0
Signed-off-by: Jorge Ruesga &lt;jorge@ruesga.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Id2ed98d2c2cd6648e179fb2942f3bc4479049cd0
Signed-off-by: Jorge Ruesga &lt;jorge@ruesga.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>email: fix Exchange sync frequency account setup</title>
<updated>2015-10-18T21:05:32+00:00</updated>
<author>
<name>Jorge Ruesga</name>
<email>jorge@ruesga.com</email>
</author>
<published>2015-05-25T22:02:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_apps_Email/commit/?id=aea3dff32d7e6dd9ee156c1e7d9daf11797d20ae'/>
<id>aea3dff32d7e6dd9ee156c1e7d9daf11797d20ae</id>
<content type='text'>
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 &lt;jorge@ruesga.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;jorge@ruesga.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>email: imap push</title>
<updated>2015-10-18T21:05:32+00:00</updated>
<author>
<name>Jorge Ruesga</name>
<email>jorge@ruesga.com</email>
</author>
<published>2015-05-01T19:35:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_apps_Email/commit/?id=08ace26ed605946d788ce56f5c9aefc65131a63b'/>
<id>08ace26ed605946d788ce56f5c9aefc65131a63b</id>
<content type='text'>
Change-Id: I8a184a5644e4322ee65d969e14cd47fe119f5df2
Signed-off-by: Jorge Ruesga &lt;jorge@ruesga.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I8a184a5644e4322ee65d969e14cd47fe119f5df2
Signed-off-by: Jorge Ruesga &lt;jorge@ruesga.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>email: custom notification lights</title>
<updated>2015-10-18T21:03:25+00:00</updated>
<author>
<name>Jorge Ruesga</name>
<email>jorge@ruesga.com</email>
</author>
<published>2015-04-20T02:16:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_apps_Email/commit/?id=a2d99c6feac113c12995a4c54bb1ec32c83c7b95'/>
<id>a2d99c6feac113c12995a4c54bb1ec32c83c7b95</id>
<content type='text'>
Change-Id: I3aaed3c682ae33da925316a5b9a586796fe71229
Signed-off-by: Jorge Ruesga &lt;jorge@ruesga.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I3aaed3c682ae33da925316a5b9a586796fe71229
Signed-off-by: Jorge Ruesga &lt;jorge@ruesga.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>email: fix eas autodiscover</title>
<updated>2015-10-18T21:03:24+00:00</updated>
<author>
<name>Jorge Ruesga</name>
<email>jorge@ruesga.com</email>
</author>
<published>2015-04-19T20:41:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_apps_Email/commit/?id=e0a547bb6660a007e54e6253f15ad810475be0c8'/>
<id>e0a547bb6660a007e54e6253f15ad810475be0c8</id>
<content type='text'>
Change-Id: Ifaf5f757f7f844e49f0ac635b477fcbef4926293
Signed-off-by: Jorge Ruesga &lt;jorge@ruesga.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ifaf5f757f7f844e49f0ac635b477fcbef4926293
Signed-off-by: Jorge Ruesga &lt;jorge@ruesga.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
