History log of /packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
64991b973fb5399b339a6a1801170275cc6d6d08 22-Sep-2014 Régis Décamps <regisd@google.com> Analytics: report the number of accounts used in the application

Report once a day the number of accounts installed for each email
type.

Bug: 16316134 analytics for major new features
Change-Id: I4267bfa47572019f3d33b5f48b412c76972e64c2
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
b0ca8b90aa8c1cf00f81e079834de97f606bc540 18-Sep-2014 Tony Mantler <nicoya@google.com> Synchronize MailPrefs getter and match default values

b/17409439

Change-Id: I8d92c9314d85a833c0ebc067a6beb73fa1aa750e
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
56d0e14e696954d6fe27ff03c2ca216816969162 08-Sep-2014 James Lemieux <jplemieux@google.com> Merge "Updates in support of Email Tombstone app" into ub-gmail-ur14-dev
265983e3d4079fc448355180272e6106996b480e 04-Sep-2014 Martin Hibdon <mhibdon@google.com> Prevent migration from happening more than once

b/17323085

Change-Id: Ibf8cc25a3acc7957da962bbdc5199749ed620704
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
49a708eed5e8a52b86ce8fb7063c4c2ae6ffb229 06-Sep-2014 James Lemieux <jplemieux@google.com> Updates in support of Email Tombstone app

b/17352496

These include:

1) Add a preference tracking whether the tombstone app should directly
launch Gmail or show an information screen.
2) Rearrange the colors since the redlines now use different ones.

Change-Id: I42f35079454966691bded38c30267a17a1b09136
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
ccf9a34bcdcfdb884799ea3f3ecbd425970f26fc 05-Sep-2014 James Lemieux <jplemieux@google.com> Add support for disabling email sanitization

b/16896849

HtmlSanitizer defines a public static final int VERSION that should be
bumped any time a change to the sanitizer's configuration is made.

ConversationViewPager now compares the current sanitizer version
against the target version number from MailPrefs to decide if the
sanitized output is "safe". The Html is displayed in a sandbox without
scripting if it isn't safe.

Change-Id: Ia265180893dbdd9ef209d3ee6ea87c7eb468e6b3
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
ea4324463814230a49dbfd07232416548ddcee45 19-Aug-2014 Tony Mantler <nicoya@google.com> Tweak swipe to archive/delete prefs

b/16983964

Change-Id: I56c19c0f6e2939ea71aa1f171e5ad6f7cfd2feca
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
3047a9f03d9febaf2aba1e5ea0827e0b740d1ab2 23-Jul-2014 Andrew Sapperstein <asapperstein@google.com> stable action items

b/16167419

Change-Id: I72c7c44f5728563da1fcbd39daa31ccd41845d8a
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
16027b7fabaf488f10fe90a41af4ece25cf1ef10 09-Jul-2014 Andrew Sapperstein <asapperstein@google.com> Support for account switcher.

Refactoring to better support new design.
Also creates a preference for storing recent accounts.
b/16159162

Change-Id: Ie2ac446f4031311d1c3470935af4c1599573db9b
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
0e29e769c74e385342fc5dc8e9c85517771aaa34 11-Jul-2014 James Lemieux <jplemieux@google.com> Remove attachment previews from Conversation List

This includes:

- all references to the 3 attachment preview columns in the Gmail
conversation table (except for migration code in MailStoreInitializer)
- all layout and drawing code for attachment previews in conversation list
- all assets related to attachment previews
- all preference and analytics code that aided attachment previews

NOTE: This does not alter, in any way, the display of attachments in
conversation view.

Change-Id: I0aa5a32c8cce0ba98758827b973b323896932c39
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
7b4c8f069a3a84ec9570fab18c7aa882ffbb86f4 27-Jun-2014 Tony Mantler <nicoya@google.com> Add/fix overrides for archive/delete behavior

b/15935182

Change-Id: I643af378a38829fc31798abba20b72070c544589
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
7da3422697f511ed4aa8aa73462917fbd0cffabf 19-Jun-2014 Tony Mantler <nicoya@google.com> Create MailPreferenceActivity

Enable test for GeneralPrefsFragment
Add test instance support to MailPrefs
Fix some values that weren't getting .apply()'d

b/9566150

Change-Id: Ia636c748c67518b0a6e3d436c8bfd09620fda6fc
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
b3ffbbc2730c9cd0f8f0d4bedb3539762a27348d 13-Jun-2014 Tony Mantler <nicoya@google.com> Move all general prefs values to UnifiedEmail

b/9566150

Change-Id: Idd4510e7c4be598795ed92b0bd903e455edf670b
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
a3943eb4ec69e5719f7adda2312241fea5b22973 03-Mar-2014 Andrew Sapperstein <asapperstein@google.com> Rate limit opt.

Change-Id: I8f27180bfa5a2484274a064e42449dc198dca6b4
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
eeb4a35d7c596192666152d7115ac3c842b901c4 21-Nov-2013 Andy Huang <ath@google.com> prevent monkey NPE, hide experimental prefs

Change-Id: Ifa8ea55798e1d6fb0cb969ff1a76b95b4e45a1e9
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
0b8c080491f6884c2cfb7fcc473d970a9f4b97b9 16-Sep-2013 Alice Yang <alice@google.com> More svelte changes

- Re-enable sender images, but change the cache size of loaded images
to 0 (instead of default of 300K)
- Disable preloading of conversations in CV (for navigation to previous
and next conversation)

Bug 9325758, 9325806

Change-Id: Ifd70e47e1e0f5d378e4cb8c91208516a26da1db0
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
e8b77589e54ec73a8464e40111c3b7a503251cf0 13-Sep-2013 Mark Wei <markwei@google.com> resolved conflicts for merge of 440f4ba3 to jb-ub-mail-ur11

Conflicts:
src/com/android/mail/browse/ConversationItemView.java
src/com/android/mail/preferences/MailPrefs.java

Change-Id: I34c01c69b54ca46cfe026b6e2927330a82091fba
440f4ba393696ebd3b5ee777d43dc6df1e6c0c42 13-Sep-2013 Alice Yang <alice@google.com> Disable attachment previews

Change-Id: Ie1b075a22b6a62f710f98aafdce4b8933fd5480e
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
3d5ea425bce684d8fdd0a51f055025a663f3dc2e 12-Sep-2013 Alice Yang <alice@google.com> Disable features for Svelte

Disable following features for svelte (low memory devices):
- Sender images in conversation list always off and hidden in settings
- Attachment previews in conversation list always off and hidden in settings
- Auto-download attachments over wifi default to false, but still show in settings
- Conversation cursor precaching

Bug 10708266, 9325806, 9325758

Change-Id: I9d6ed9414467041f77c2895de7a71040b9a8b32a
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
342e2b8c06b83621b3f9bae7149c39a4b28a9ccc 05-Sep-2013 Alice Yang <alice@google.com> Reenable debug logging, experiments on UR11

Change-Id: I0a7dc2fc59598355638ae6ff6eff414e53c6eea5
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
88efa47f9833e2cb091fa033a55573b0d637dac9 30-Aug-2013 Alice Yang <alice@google.com> Removing "airplane mode is on" tip

Since it requires a new permission to check WIFI

Bug 10535289

Change-Id: I105676a1457740d4fbc46c5dc7d6cfb99af16d85
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
f243fc1d0aa15886ff3a31fbf43bebc8664d294a 28-Aug-2013 Alice Yang <alice@google.com> Disable STRICTMODE, VERBOSE logging, and experiments

Change-Id: Ica49433a33e79a424314cf3662e53c1f20c78a24
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
f46e0fbd4c66913133ec012ac8f251f6fca70e54 17-Aug-2013 Paul Westbrook <pwestbro@google.com> Prevent UnsupportedOperationException

SharedPreferences#getStringSet() returns a set that can't be modified

Bug: 10343466
Change-Id: Ib4e3b0e9bb289d400b66ffefb05897de0b9e128c
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
174b5d5afdaea22df9fc52b52082e36cd7fd6923 13-Aug-2013 Alice Yang <alice@google.com> More sync status messages

Added messaging for 2 more scenarios where auto-sync could be off:
- Global auto-sync is turned off
- Device is in airplane mode

Once user has dismissed the tip in conversation list,
continue to show 5 more times in the form of a toast every time they
do a manual refresh.

Bug 9825835

Change-Id: I33b1f2f0ac56ea7ec70f64c765447c05f6ed9b0e
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
c86b1fbcea43513ea903bb2ca14573423a72d7b5 12-Aug-2013 Alice Yang <alice@google.com> Sync disabled tip

The original design called for displaying different messages for when
global auto-sync is off and airplane mode, but we're considering scratching
those so I didn't cover them here.

To do still are subsequent toasts.

Bug 9825835

Change-Id: I1916e2d95896c2079fa6eeb9fe806fd4d181a27a
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
a88c13e14836d5db988f677671965ad51a2087e0 08-Aug-2013 Mark Wei <markwei@google.com> Prevent widget NPE crash.

Bug: 10155729
Change-Id: I215c472cf0f568538838ac549835ccd63209e29c
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
aa76bdfae889b995395a7636742128b3585727f9 07-Aug-2013 Mark Wei <markwei@google.com> Add a setting for attachment previews.

Bug: 10131520
Change-Id: I861a3aa7a1131c1a089011aed7492a0e4ff1ebcc
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
52a61db87c487fe5bb7cc673037887a6d35b0f0f 02-Aug-2013 Mark Wei <markwei@google.com> Fix nit 9. Add setting to change parallax speed and direction.

Change default speed to 2.0 multiplier.
Change default direction to normal (new) parallax. This looks like you are
looking through a window, at the attachment previews which exist in another
pane.

Bug: 10083052
Change-Id: I91f91ae57cda2da22cc5e3330f67982df454e7bc
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
792678671841970fa360c1c5b4ccf96b39b7e719 01-Aug-2013 Alice Yang <alice@google.com> Really dismiss tip for long press

Bug 10117171

Change-Id: Ibfba287f10919beb01da90b84cc1705e824a87ba
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
de66c8305363f41b6199900751891fd26e87f7a2 01-Aug-2013 Scott Kennedy <skennedy@google.com> Refactor PreferenceMigrator

Do the same thing as with LogTag, so that we don't have the same
class name in the same package name in three projects.

This makes IDE builds much easier.

Change-Id: I5abf83456d7c1ae76381c9596938429ce93354af
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
c5567737cb40ca156ea89f169a23008524ebd1a4 30-Jul-2013 Alice Yang <alice@google.com> Tip for long press to enter CAB

Bug: 9859881, 9572851

Change-Id: I1603651084fb9ded479af69e17bd54cdab693c2e
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
2afc01e8b222eb68049c79988c65e80819a1fd50 16-Jul-2013 Paul Westbrook <pwestbro@google.com> Suport for Contact photo teaser

1) Move the preference for show sender images to MailPrefs
2) Create a ConversationListHelper in MailActivity

Bug: 9497358
Change-Id: I6965d22891b3a8e05c89fc0bfe1330732c19d36a
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
479505d71969e26b0785d8e0e1b81108731cf827 21-Mar-2013 Mark Wei <markwei@google.com> Attachments in Conversation List: Backend changes so that the appropriate
attachments are passed to the UI. Implement PhotoManager so we can start showing
images.

Upon sync, we extract two image attachments from the first unread message, and
add them to the conversations table.

UI changes as well.

Load BEST if that is available, else load SIMPLE.
No vertical dividers in attachment previews.
Attachment previews are above labels.
Round badge appears for unread conversations when there are more images than
shown. Only appears after the previews have loaded.
Clicking on the attachment previews launches photoviewer.
Attempt to load bigger images than necessary to prevent reloading during mark
read/unread and rotate.
Show animated loading icon while previews are loading.
Previews load from top to bottom, from left to right.

Big performance improvements:
No longer decoding bitmap on UI thread. This kills most of the jank.
Only load when we are not scrolling. This kills a lot of jank.
Remaining jank will be delt with later:
DividedImageCanvas.setDimensions() creates a huge empty bitmap on the UI
thread, which causes a GC. ath will fix.

Multiple images in one line now load whatever's ready first. Added tracing.
Bitmap cache given more memory.
Following ath's advice, decode Bitmap from InputStream rather than byte[]. Don't
compress into BitmapHolder. Only use the bigger Bitmap cache.

Bug: 7481049
Change-Id: Icf823f56abc9345e6d0b800a1e6d45444d8fa028
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
e43eb7ca65c8ddf2c48f5dd2225adcb65ebbe356 18-Jun-2013 Andrew Sapperstein <asapperstein@google.com> am 150ebe6d: Add dismiss to photo checkbox teaser.

* commit '150ebe6d02f2a9a6a02c215c8b2f93c9d72f4824':
Add dismiss to photo checkbox teaser.
150ebe6d02f2a9a6a02c215c8b2f93c9d72f4824 18-Jun-2013 Andrew Sapperstein <asapperstein@google.com> Add dismiss to photo checkbox teaser.

Eyeballed the sizing. This looked right enough.
Fixes b/9470855. Also now on the third version
of the preference.

Change-Id: Id9d750b2ed8f49105abbe2e34a4e6f5493277a63
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
761cd500f798ef45ed3ea98e1c01d3a321681863 18-Jun-2013 Scott Kennedy <skennedy@google.com> am df8438c6: Merge "Change default removal action to Archive and Delete" into jb-ub-mail-ur9

* commit 'df8438c669f222efe69fb3f49de9d38b1406881c':
Change default removal action to Archive and Delete
cc47caf2aa9c6f34b52f4ece34a224e6c4e6b7e0 18-Jun-2013 Scott Kennedy <skennedy@google.com> resolved conflicts for merge of 4d1b4c85 to jb-ub-mail-ur10

Change-Id: Ifd456faa7737db4c78559c1a641501ed9f0bc889
df8438c669f222efe69fb3f49de9d38b1406881c 18-Jun-2013 Scott Kennedy <skennedy@google.com> Merge "Change default removal action to Archive and Delete" into jb-ub-mail-ur9
9be0fa3cce2e9ab7faa575cb89339f30c221e745 18-Jun-2013 Scott Kennedy <skennedy@google.com> Change default removal action to Archive and Delete

Bug: 9470704
Change-Id: I66699e24667a3692d6764a37a255bcb35dcccbd3
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
4d1b4c854aa51ea35c74a8fb086ae65853ee4fc7 18-Jun-2013 Scott Kennedy <skennedy@google.com> Remove the removal action dialog

Bug: 9470704
Change-Id: I38f44fba7114988982bdfc9a9cbf7955f807a6ce
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
7d257af54aba47ab662e34f0c9faf54d86ebd4a4 11-Jun-2013 Andrew Sapperstein <asapperstein@google.com> resolved conflicts for merge of f950fd5d to jb-ub-mail-ur10

Change-Id: I7ffb9ec33e74b118eb184b2794e08cec05650271
2f542873183b37fa38a0d468f46bbfebc1f537e2 11-Jun-2013 Andrew Sapperstein <asapperstein@google.com> Reshow sender image teaser.

Fixes b/9375917. Now the sender image teaser shows
until cab mode has been entered or it has been swiped away
manually. Entering a conversation will not hide the teaser.

Change-Id: Ib3c6d56e4504680b513b2b56e9bcbc091a5da8aa
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
0a9915394a090e7f2aa95e169a8418f5884e0518 08-Jun-2013 Paul Westbrook <pwestbro@google.com> Moved the "show pictures" to UnifiedEmail

Moved the logic that saves the list of approved senders
for automatically showing images for a message to UnifiedEmail

Also, added a fragment to allow the user to clear this list

Bug: 9320770
Change-Id: Iaf06e5113b2ef8d48cbeb4a6901bcc8ce3eab7fe
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
1b73208b910a370a3b66e9c4f7ea134f73d112ad 06-Jun-2013 Scott Kennedy <skennedy@google.com> Use the new notifyBackupPreferenceChanged() method in ur10

Change-Id: Ibec979cfccb7a3f39ebd0baf2a581f797bd750b7
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
0f88a8a8e1df87445864a74fcd331a72853c88e6 08-Jun-2013 Scott Kennedy <skennedy@google.com> am b4cb510b: Show a dialog to discover the removal setting

* commit 'b4cb510b1cef97580b0f29562aa7edc25257322b':
Show a dialog to discover the removal setting
b4cb510b1cef97580b0f29562aa7edc25257322b 06-Jun-2013 Scott Kennedy <skennedy@google.com> Show a dialog to discover the removal setting

The first time a user clicks "archive" or "delete", we will show a
dialog, asking if they want to see archive, delete, or both.

Bug: 9296856
Change-Id: Ibb88304eac66bb16a2f80622fb37cb9f57fcb6c6
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
f9024cc52785c8740654dc89296a10a18da83077 07-Jun-2013 Scott Kennedy <skennedy@google.com> Refactor notifying BackupManager of preference changes

Change-Id: I7920e088f087c4f47c1de1bfef78e78c349267cd
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
7ce0a604c625e8e45f629b471f4cc38e449fddfb 06-Jun-2013 Scott Kennedy <skennedy@google.com> Turn on experimental preferences

Change-Id: I4e0dad21e7a742d75409ce83245784b80b815f9c
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
2102b2c87a6cb39bc63fb7eff13dda64da56b72e 03-May-2013 Mark Wei <markwei@google.com> Add teaser for new conversation photo checkboxes.

The teaser shows up for the first time the user sees the conversation photos. If
they change to no photos, and later change back, the teaser comes back.

The teaser sits immediately in front of the first real conversation item (unless
other special views also try to have the same position behavior, in which case
the current implementation gives undefined behavior dependent upon which special
view is added to the adapter first).

Bug: 8772762
Change-Id: Ica79482f2a2eae0cf3409f6accb7ae5b0fc0fd45
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
d4796d78b3d6994d77edaf91b176fc3c79bb7362 04-May-2013 Scott Kennedy <skennedy@google.com> Always promote Delete when Archive is unsupported

Bug: 8743587
Change-Id: I5e37aeafc06afb222acbade9f598ca0c61e31efc
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
43a1cc1adc835f9a5df30ca2558a2aee35019706 03-May-2013 Andrew Sapperstein <asapperstein@google.com> Update settings per latest UX spec.

Fixes b/8773002. Turns Remove Action into Archive & delete
actions with three options. Setting that option changes
the title of the text in the swipe to setting below it.

This CL adds strings, changes around the preferences to support
the new tri-state setting, and updates the action bar based on
the setting (to show archive, delete, or archive & delete and
push move to into the overflow). An accompanying CL does the
rest of the work.

Change-Id: I17d8ada9bc9f16b5e7b5a8abd8c55e8708773991
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
a1ee97806aed01ca3293dd23fcf02d46a6d9e6f0 27-Apr-2013 Paul Westbrook <pwestbro@google.com> resolved conflicts for merge of d0204cff to jb-ub-mail-ur9

Change-Id: I16aa573b191f3c6e97ef69a7192558905507c32a
b905f0ea18ee0dc5774adb29c57cd7c122058c71 26-Apr-2013 Rohan Shah <shahrk@google.com> Change UI

-Removed accounts recents
-Changed colors
-Added radio button assets for accounts
-New header names for sections in folder
-Shadows, folder selection dialog modified

Bug: 8720403
Change-Id: I5b9379a4fe323bcc25fb0ed943ddc8ec7880a6be
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
2b1b87f90cb776e95f66aa5514505a0b21dc3d9d 24-Apr-2013 Andrew Sapperstein <asapperstein@google.com> Various fixes to the new Preferences format.

Most importantly, we no longer call setMigrationComplete()
until the one true migration has actually completed.
Previously, the call to performMigration in VersionedPrefs
would return immediately if a migration was in progress or
had already taken place. As a result, setMigrationComplete()
was being called once the first VersionedPrefs-derived class
was created inside the migration. If the migration crashed
after the setMigrationComplete completed but before the
migration actually finished, migration would not be run
again despite preferences not actually being migrated.

Additionally, when PreferenceMigrator.migrate is run,
we forcibly call commit after the VersionedPrefs
object is updated (whether MailPrefs, AccountPreferences
or FolderPreferences). This commit applies the change to
Email2. This may help fix b/8640441 and b/8520847 as well.

Change-Id: I9cf0875c6afae6cebdceed6f7444e2994a3fcc41
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
26f2b30a88a35bc0ae6992c3f4297ebf20bbca53 23-Apr-2013 Scott Kennedy <skennedy@google.com> Settings changes

Bug: 8685202
Change-Id: Ieaea840c61b7aca22ae664a66dbc0a28643e7139
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
a85831df1721dda712be5154fb57404d8df1758a 13-Apr-2013 Scott Kennedy <skennedy@google.com> Allow configuring ActionBar items

Bug: 8606333
Change-Id: I98182899dd8117757b77e5a66e106f85c64356e1
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
57f354c02dbf56ebc893a570564906e61c31e09e 12-Apr-2013 Andy Huang <ath@google.com> down with experiments

Bug: 8600277
Change-Id: I5b3aa7a897d3c2d780f07e1817e26128bf95a929
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
0e3882b187ab8debc71fa571e8596fc3debb6123 11-Apr-2013 Alice Yang <alice@google.com> Merge "Checkbox vs. sender image setting" into jb-mr2-dev
642731419abb9037a729114d32d6ddd15af0a406 11-Apr-2013 Alice Yang <alice@google.com> Checkbox vs. sender image setting

Replace the current "Hide checkbox" setting with a tri-state setting with
choice of:
- Show checkboxes
- Show sender image
- Show neither

Bug: 8512959

Change-Id: I87f9cd373283fd600bdd23a7307d37c660f0805a
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
ca86dc92a84ad9410ea92706ebb4d2af3932ed68 09-Apr-2013 Scott Kennedy <skennedy@google.com> DO NOT MERGE Genericize a comment and remove an experiment

Bug: 8568606
Change-Id: Ia42d0f9462ac615fb00d07868f59afa17ada2601
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
1c5fed23e5ec51f04557677c6a9353374dd44d4c 28-Mar-2013 Rohan Shah <shahrk@google.com> Added account recents support

RecentAccountsList will now maintain the ordering of
accounts from least to most recently used.

Will be adding to drawer once most of the refactoring
is done.

Bug: 8449354
Change-Id: I56e6c401bb3cfeaaa06d61e4c2e048f21c107dd8
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
0b702794bbc94e1898f4bae095c67edc8fa603e7 27-Mar-2013 Paul Westbrook <pwestbro@google.com> Remove unused experimental setting

Change-Id: I81b0a684371ee8ed5808387f14df0853358d53d3
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
e0dd921dbf749d577a1ea24de4f0a6955fbd59e0 14-Mar-2013 Paul Westbrook <pwestbro@google.com> Remove experimental fts setting

Change-Id: Icbfa96b7bb5b8ef8f0acab13dcd05010dcb13780
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
0180f27c0998623b702274048b49cd4bec536cf1 09-Mar-2013 Andy Huang <ath@google.com> add <img> transform for readability

Shrink any <img> elements with an effective width wider than the
document. Instead of setting the width outright to the document
width, use "100%" + max-width so it can be smaller if the layout
allows.

Genericize the actionLog to be a list of functions, contexts, and
parameters. I would normally use bind() but A) it may not be available
on older WebKit builds, and B) it introduces an unnecessary closure.

Bug: 7400516
Change-Id: I5ab7f81674f9e238e6dc5ea04669d282c0586066
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
04947a712d56f2373d52788ce44af42c02ca7c40 12-Mar-2013 Scott Kennedy <skennedy@google.com> Add an experimental preference to enable sectioned inbox

Bug: 8362893
Change-Id: Id2c9f2b32fb12b3fed85e24781223897e0a45e18
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
5ea5a8330532a75c83cbb30993a14ee9b821fa2a 08-Mar-2013 Andy Huang <ath@google.com> start munging wide <div> and <table> elements

Modify HTML content that is too wide if the experimental flag
is on.

Find <table> elements with a width wider than the body and
remove the widths in the hope that the table would otherwise
fit. Content authors often use this trick to prevent their
content from growing too wide in a very wide desktop browser
window.

Failing that, find all <div> elements where a width is
specified that is wider than the body, and turn the width into
a max-width.

Bug: 7400516
Change-Id: Ie4d3c2c4c50a191c30ee590dce71bc9bf6de8268
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
b39aaf53a555c1046ef31b3fecf15d086acca013 07-Mar-2013 Scott Kennedy <skennedy@google.com> Make widgets work again

We can't send Folder parcelables to RemoteViews, so let's just send
what we need: two URIs and a String.

Bug: 8330949
Change-Id: I67bf7668d5eeef3f3b2e6225cf8697a4c5533f16
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
3394560f908f95f6021a1fa8043aa10412c81ee4 17-Feb-2013 Andy Huang <ath@google.com> am 96ba65ff: enable experimental prefs

* commit '96ba65ff6e8637a7f6476263af0d7a174638ddcc':
enable experimental prefs
96ba65ff6e8637a7f6476263af0d7a174638ddcc 16-Feb-2013 Andy Huang <ath@google.com> enable experimental prefs

Change-Id: Id27e5e9f37ebb8c69d1545972dc1a8bf6dfa11f6
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
d3e492442a015189cf98f705e3c6168ba1dea6b7 15-Feb-2013 Andy Huang <ath@google.com> move experimental prefs to UnifiedEmail

Now that there are a few UI-related experiments, it's a good
time to move them all to MailPrefs from Gmail's private
Persistence class. Having them live in UnifiedEmail means they
are readable by both provider and UI code.

Migration of FTS/chip-drag-drop values not implemented; I'm
hoping folks won't mind this once.

Change-Id: I3a381be7041fb023b1e1091ae07ec6f86cfb5d2a
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
83ae15d41f6436a721c1dfcbc0fb8ecd9ef401b8 15-Feb-2013 Andy Huang <ath@google.com> DO NOT MERGE move experimental prefs to UnifiedEmail

Now that there are a few UI-related experiments, it's a good
time to move them all to MailPrefs from Gmail's private
Persistence class. Having them live in UnifiedEmail means they
are readable by both provider and UI code.

Migration of FTS/chip-drag-drop values not implemented; I'm
hoping folks won't mind this once.

Change-Id: I3a381be7041fb023b1e1091ae07ec6f86cfb5d2a
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
dbd9b1bcbcfd37f02ec92572fe1d825836562551 15-Feb-2013 Paul Westbrook <pwestbro@google.com> resolved conflicts for merge of 70e0f86e to jb-ub-mail-ur9

Change-Id: I7f7743868cf3005cf9ceab873d90896b04541d58
ae5eb02397318c432d3d77e30fb4de842a34cfea 14-Feb-2013 Scott Kennedy <skennedy@google.com> Use swipe preference for archive/delete action

Since some people prefer delete over archive, we will use their
conversation list swipe preference to determine whether to show
a "Delete" action or an "Archive"/"Remove label" action. "Delete"
will be shown if they have selected "Always delete"

UR9 version of I4eb0d408474a9f613cc4267c3851cc7277a22ebd

Change-Id: Ic703a25f39733cf389460c6ba1e58cf31e850c1c
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
f3d28bf189d84d9c4457d64ec18198841583d1bb 14-Feb-2013 Paul Westbrook <pwestbro@google.com> Removed what's new dialog

Change-Id: Ifa63dc10aba8a6a644dafbeae4694ae117d8d6cc
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
d5edd2d02649dffb40065fdb6a16acf91552b800 05-Dec-2012 Scott Kennedy <skennedy@google.com> Move notifications to UnifiedEmail

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
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
7127c273d1995077f9c55c8abe00af3e05baad38 15-Jan-2013 mindyp <mindyp@google.com> Hide conv list photos behind an experimental pref

Change-Id: I5c12c9794fe19c12595821425ecc6c2fb4ea534f
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java
8c8c9927c5b1ec2cb26ee20c3e755121723b979b 08-Nov-2012 Andy Huang <ath@google.com> prefs cleanup

This is purely a refactor with no intended functional change.

Start over with a new Persistence class. New name is MailPrefs.
No relation to Gmail's Persistence class to minimize API
confusion across unified vs. gmail stores and gmail vs email
apps.

So far the only consumer is the widget provider and the
"what's new" version checker, so no support for
account-specific prefs yet. Move all widget pref and
"what's new" calls to MailPrefs.

Bug: 7497168

Change-Id: I4008fb6c180067d10654391c5c8fa86e105db3bb
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/MailPrefs.java