DO NOT MERGE: Don't spam Email with attachment load progress

* I observe that the read() can return with as little as 100
  bytes read; this can lead to lots of spamming via the binder
* Limit callbacks based on both percentage read and bytes read
* Clean backport of I25a20279c065bfc1b22c5e2633fc465109cca495

Bug: 5433427
Change-Id: Ic9ec9e558bbff862cd7b2fd6ae24586e695729d9
1 file changed