History log of /packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e26853a5f7c19fc037a2ff5223adcd66596b9b2c 08-Sep-2014 Milos Stankovic <miloss@google.com> Removing com/android/mail/lib.

All classes in com/android/mail/lib are duplicated in
com/google/android/mail/common.
Some files are different but those files in com/android/mail/lib
are not used so it's safe to delete them.

b/17384593 "Remove 3 versions of Function"

Change-Id: Ibf9363710502ca888bbf0b4d8879e6775ec85a8e
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
df9731cce1cc8043f883b369a410c4dc765b8e7e 01-Sep-2014 Greg Bullock <gregbullock@google.com> Wrap field initialization from cursor.

I have observed a number of occassions where the comparison of two accounts
using .equals return false purely because the accounts were constructed in
different ways. This can result in doing lots of additional work for no reason.

Change-Id: I13130c1250f62115ce0dff5d43ab33b710a4d78c
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
9dc8a334c06a8b58daf6fe3033726edceccc74b4 16-Jul-2014 Milos Stankovic <miloss@google.com> Renaming the settings value to reflect the actual name.

Gmail changes are in ag/503888.

Change-Id: Id4b6a2506019ed36ec5d6f4957c2182ef2eacbd6
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.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/providers/Settings.java
ede2e52e725abc625ae963f979639ff8ecc40cf5 30-May-2014 Greg Bullock <gregbullock@google.com> Changes to support displaying a welcome tour.

Change-Id: Ice10fd8d629a9f4aebe5cfb7cb94bc1eb5ebaaeb
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
fb8893b9e37d8d549200cdae7fa7ba6ed59db4dc 10-Jun-2014 Tony Mantler <nicoya@google.com> Remove obsolete message text size preference

Change-Id: I3a197855f4d34a4f5ba454ab9ce8c3b55c42de10
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
17646055214b9ab3abc2553379bf046ca3e53fb2 07-Mar-2014 Andrew Sapperstein <asapperstein@google.com> Show priority indicators (chevrons).

Fixes b/7961430. Creates a new account setting
called showChevronsEnabled that, if true, results
in the UI showing chevrons. Also properly distinguishes
showing chevrons from the show importance marker setting.

Change-Id: I767341457ed610309b5729887d121c6fb7c94eba
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
f323c046034b4658a80438575d8e9f01d92e57e6 30-Oct-2013 Alice Yang <alice@google.com> Use server prefs for show images setting

- Change setting from a checkbox to list pref (popup)
- Use synced preference "bx_eid" for whether to always show images setting,
in order for UnifiedEmail to read this pref, it's added to the account's
Setting field
- Dismissing the teaser now sets "bx_eidps" pref which gets synced to
the server (once server changes are in)

Bug 11158252

Change-Id: Ibd28690ccd95e0bdd399aaad9c9e205968a0ef39
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
a4836711cf7909575bfb25720232c22c201efd06 14-Aug-2013 Tony Mantler <nicoya@google.com> Tidy warnings in Account and Settings, and tidy deconstitution and reconstitution

Change-Id: Ia16ed4c1fb9394cf0451845685ea1ffb06998ea5
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.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/providers/Settings.java
3b965d78774a42358ce6bbdcc43b4c8df130a60e 25-Jun-2013 Scott Kennedy <skennedy@google.com> Clean up a bunch of warnings

Bug: 9565838
Change-Id: Ie3a380581e81c63aaa0764875c55bfdccd5f2b13
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
dd2ec688cf18e0ec132d936168ccaa3c43cdefb1 04-Jun-2013 Scott Kennedy <skennedy@google.com> Move to Inbox

Show this option in places where "Move to" doesn't make sense, like
All Mail and search results.

Add a new Account setting field: Uri moveToInbox
This contains the Uri to use for the "move to inbox" action, which
may differ from defaultInbox.

Bug: 9256654
Change-Id: I91062d6a602ed785d42cc52ed66712f134730755
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
b8911730b9d87179cc77ac8336f7002c5e056c26 28-Apr-2013 Paul Westbrook <pwestbro@google.com> Minor cleanup

Change-Id: I36e95c1fbc21b2630782a0ebec868dcf0383ce1e
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
4758e980c21027ef1a9cacc9847170290b2ae42e 25-Apr-2013 Alice Yang <alice@google.com> Make sender image behave like checkboxes

- Tapping on sender image selects/deselects a conversation.
- Removed the "checkbox" option from settings, but didn't change wording
yet since settings text hasn't been finalized.

Bug 8713329

Change-Id: I11afe2b2ca3191f63ae5b82228fa209fdbd9295c
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
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/providers/Settings.java
ccf6780d9c80070beca4ade6e4084c3fb719af51 15-Mar-2013 Andy Huang <ath@google.com> define a default value for the auto-fit setting

Fixes an issue where migrating the pref to default=ON didn't take effect
until you visited general preferences.

Change-Id: Ie86713da8da5aed0382c1bb7fc33247fccef8b23
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
720a2c494c066b4657ab852384fd66fbd11cd430 13-Mar-2013 Alice Yang <alice@google.com> Revert "Change "hide checkboxes" to "show checkboxes""

This reverts commit e7b31afacb4779e0af5a23413b96453979a852a4.

Bug 8370186

Change-Id: I52d0d0ee18e2e7bb4a845e86d0b5e3ba055c50ac
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.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/providers/Settings.java
82d37501827cf9770ba4610dd6f81c7a3a14b2e1 11-Jan-2013 Vikram Aggarwal <viki@google.com> Just use the default directly.

Change-Id: I424e964299ebd4e00e7ef02e6a0e9ef819426e93
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
69a6cdff8afde77ec9bcd75a5651ee212344019e 09-Jan-2013 Vikram Aggarwal <viki@google.com> Allow veiled address pattern to be updated through settings

Change-Id: Ibbd412308283fd2c0cae0abbec0a43be1db1b3ad
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
e7b31afacb4779e0af5a23413b96453979a852a4 21-Dec-2012 Scott Kennedy <skennedy@google.com> Change "hide checkboxes" to "show checkboxes"

Change-Id: I709484f7ea3c563942880a0af9cd0d08daf2496a
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
8f1877832b0f3bc55e6d63ccf70dfae7dd8328c9 07-Nov-2012 Andy Huang <ath@google.com> wire up snap headers pref

Have conversation view read the initial value upon view creation
and update the value in ConversationContainer via dataset
change, which is triggered by account change (which is triggered
by settings change!).

Bug: 7217360
Change-Id: I55ac947dea692af6ad32995d0970c69dbdf5c2ef
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
0d0f8b061faae060529af4da339eed2d728ef1bd 13-Oct-2012 Scott Kennedy <skennedy@google.com> Prompt for auto-advance option on first action

If we're on a tablet, we will pop up a dialog that asks the user what
they want to do. When they select an option, we save it, and take
the original action, and auto-advance to their preference.

Bug: 7328118
Change-Id: I7b11bd0d17e6cc184b67c8c943531146fc964b49
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
fa255c019a8d4f6a74cc544a4dd2d8b74b1fc572 13-Oct-2012 Paul Westbrook <pwestbro@google.com> Add setting to control conversation view mode

Add conversation view mode setting to UIProvider

Bug: 7312540
Change-Id: I07095c9a6b22d3ef97d2848a067ba50d82970117
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
57899081749fac79c25362cc591705f8bd1c1f58 05-Sep-2012 Marc Blank <mblank@google.com> Add setupIntentUri to account settings

Change-Id: I172a0703c0f6b58f6b559e5c5ac220f5c53b546b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
434f294a3ae17a4f76342af38d6376f672a5d9ed 24-Aug-2012 Mark Wei <markwei@google.com> Better wording for file too large error text

Add error resource field to AttachmentFailureException to differentiate between
3 different cases of file limit. String resources use formatting for different
max file size limits.

Bug: 6923821
Change-Id: If824e06a28c91760fbfb1909cbd191cad4b6dd50
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
b122b1e6018cbb382b33a4650e391ba68f037ad6 15-Aug-2012 Vikram Aggarwal <viki@google.com> Fill settings values with valid content

We fill default settings both when reading and writing, to ensure that
1. Objects are never null
2. Native fallback values are sane defaults.

Fix b/6894588

Change-Id: I1b5d1840c5cbcb2736f71a958a595300c9bbfa08
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
7c401b7896910c00e6234e8774aab0be45740d32 14-Aug-2012 Vikram Aggarwal <viki@google.com> Get the Account through a listener

Every object that needs an account gets it from the ActivityController
by registering for future updates. This should reduce some of the
headaches with account objects going out of sync.

Fix b/6969950

Change-Id: I0449b482ecd84bdb947304db5f0504c77dd1dc7a
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
707f24c693f116901660ce4b07598b474e681319 01-Aug-2012 Vikram Aggarwal <viki@google.com> Put Priority Arrows enabled/disabled in Settings

No user-visible change yet. The next step is to read the setting and
change the Conversation List and Conversation View to remove the
priority inbox arrows.

Change-Id: I44b644f1206f20f75891f7e0870fb3b72e56ab15
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
e181c443d51aef54f60264d205be4cc834e93a53 28-Jul-2012 Paul Westbrook <pwestbro@google.com> Fix viewing search results

When a setting is instantiated, sometimes a missing signature
is causes the signature memeber variable to be null, and it appears
that some times it is an empty string. TextUtils.equals() returns false
if only one is null.

Bug 6894588 has been written to track how to represent unset settings
values

Change-Id: I6a756da3ebfdc1e413aa4aac6ce91055380022b1
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
6006991395131d7d1db4f883ff8c7a87498b6eec 24-Jul-2012 Vikram Aggarwal <viki@google.com> Allow settings to update

Change-Id: Ief66ab0df6bb26d1d145dcf8f343640cca2d0a55
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
71a8f5e5d2bb6b2a34460ef4c11db0311054334e 25-Jul-2012 Mindy Pereira <mindyp@google.com> Add swipe settings column.

Change-Id: I9b893ac203f62ca837284485ec4fc70fe5676f2d
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
5e63e8aae365dc210a0647b7e1c87f76bf652c80 19-Jul-2012 Vikram Aggarwal <viki@google.com> Store default inbox name in Settings.

Show the default inbox name in the Action bar.

Change-Id: I08d31084944677ec219fbb8936eeaa5d8c4532c9
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
0a88d81a9f6d6997ff62c669824f1f7e85206ca3 18-Jul-2012 Andy Huang <ath@google.com> Don't crash due to old cached Settings objects

Settings doesn't need to wtf on bad input, it should be caught
upstream. (ideally all upstream cases catch exceptions, but
it's easier to just have the specific cache de-serialization
case look for Settings failures, as it does now for Account.)

Change-Id: I5fa6a3e3095c81598e75f684f96ccb99ed3bb8ff
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
3cd4f40dab2c0810cb5ecd77256abf022863b2b5 17-Jul-2012 Mindy Pereira <mindyp@google.com> Allow providers to supply max attachment(s) size for new messages

Also, general cleanup around attachment exceptipons.
Moved showing the error toasts to the composeactivity.
Change-Id: Icd829146b60ed5656bed0d6d570fafbf5d0956fd
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
b334c9035e9b7a38766bb66c29da2208525d1e11 25-Jun-2012 Paul Westbrook <pwestbro@google.com> Changes to support different Log tags

Change-Id: I7121fbf7132444fc0f5c0c130373e3f2d1a3cf7a
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
025eba8bfd4d0b5e248b6de0bda6f1129170fb41 08-May-2012 Vikram Aggarwal <viki@google.com> Always read settings from the account

Since settings are a member of the account, read them from the account
directly rather than keeping a copy. Also, stop passing Settings if we
can pass specific values within them to limit the visibility of the
class.

(Nobody likes settings...)

Change-Id: I0b4ee83f7396c9205169e89838e0121ee17232f5
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
1e57e67c1a59b6d3b00d935fab91805689cb6f74 07-May-2012 Vikram Aggarwal <viki@google.com> Read defaultInbox through a safe accessor

Precusor to cleaning up the Settings and propagating Settings through the entire app.

On the road to fixing: b/6303321

Change-Id: Ibe3aaf7eb0c0a4a02af741589c32b5c1e8261890
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
c7694221dfa5cec3f4ae290f2266b081b2639d80 23-Apr-2012 Vikram Aggarwal <viki@google.com> Destructive Actions. Part 2: More logic consolidated.

Get next and previous conversations through mTracker in preparation
for relying entirely on the AbstractActivityController's logic.

Change-Id: I0d477547356561316c1717d5ddbf4f467b7f3b3b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
7d81600cbce3cfd366cbff9ecd1b7317ff957221 18-Apr-2012 Vikram Aggarwal <viki@google.com> Update consumers on changes to Settings

Change-Id: I96ed21a16c0dfb290198d2236fee8d21e299ec31
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
19e5908550fa9aac54be1647462b06be0e724440 08-Apr-2012 Paul Westbrook <pwestbro@google.com> Handle missing settings

Prevent NPE when parceling Account object

Log instances when settings object is missing from account
object. This probably happened when dealing with a serialized
account object (probably in a shortcut or widget).

Bug: 6304691
Change-Id: I327c03ae98c596e65ea116208a75948b9f7f599a
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
b1f573c59ec20f9149443e1e0cc8b64ff3a07fea 06-Apr-2012 Paul Westbrook <pwestbro@google.com> Embed Settings into Account object

Change-Id: Ie9e5d32fbd3c0dd21a43e7c6106c32641b51d467
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
eee630749e7d57d409ac2e28a8381681b88bdee2 06-Apr-2012 Mindy Pereira <mindyp@google.com> Create setting for reply from default.

For custom from.

Change-Id: I1d25112dbad0a2b68f6d5c8e5e4127a277b19882
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
dac00547ce8d44a964e4510315168ee413e55a75 01-Mar-2012 Mindy Pereira <mindyp@google.com> Read settings and keep them up to date.

Change-Id: I8d41e460b2c0c462edc6a877edc4189c675cef1f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java
8bd82155143d6967f9be67555a2913b3f22c1817 01-Mar-2012 Mindy Pereira <mindyp@google.com> Create settings model.

Change-Id: Ia4cdb7f6328c29ced8e86de4e04d04ef5e61fb9f
/packages/apps/UnifiedEmail/src/com/android/mail/providers/Settings.java