replicant-packages_apps_Email/src/com/android/email
Marc Blank 4cf3252fb0 Workaround system peculiarity to fix #2134509
* Our AccountManager listener was getting unregistered due to the way
  ApplicationContext caches AccountManager in a static member
* The result was that AccountManager registers its listeners against the
  FIRST context it is instantiated with!  Future calls will all obtain
  this pre-initialized AccountManager.
* In this case, AccountSetupOptions was the first caller (to create the
  AccountManager Account for Exchange)
* The subsequent call to register a listener therefore had its registration
  tied to the context of AccountSetupOptions, and was therefore leaked
  when AccountSetupOptions finished!
* This caused a chain of problems - the leaked receiver, an Exception in
  AccountManager when trying to ping the listener in an expired context,
  and eventually the bug referenced above, which became a P1 issue

Change-Id: I478e28d21ca77419afa8011e4ed8101cdf67ab79
2009-09-22 10:40:46 -07:00
..
activity Workaround system peculiarity to fix #2134509 2009-09-22 10:40:46 -07:00
codec/binary auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
mail Clean up recent submission per stadler 2009-09-20 22:24:08 -07:00
provider Clean out old mailbox names logic and fix a couple of bugs. 2009-09-21 14:44:30 -07:00
service Fix service behavior w/r/t onStartCommand, onCreate, onDestroy 2009-09-19 13:38:59 -07:00
Account.java AI 149140: Automated g4 rollback of changelist 148333. 2009-05-21 10:39:04 -07:00
Controller.java Clean out old mailbox names logic and fix a couple of bugs. 2009-09-21 14:44:30 -07:00
Email.java Clean out old mailbox names logic and fix a couple of bugs. 2009-09-21 14:44:30 -07:00
EmailAddressAdapter.java Re-enabling email suggestions and switching to new contacts API. 2009-09-06 11:50:35 -07:00
EmailAddressValidator.java auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
FixedLengthInputStream.java auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
GroupMessagingListener.java Harden against crashes caused by account deletes 2009-09-16 10:58:54 -07:00
LegacyConversions.java Implement move-to-trash for IMAP and POP3. 2009-09-10 12:44:05 -07:00
MessagingController.java Clean out old mailbox names logic and fix a couple of bugs. 2009-09-21 14:44:30 -07:00
MessagingListener.java Harden against crashes caused by account deletes 2009-09-16 10:58:54 -07:00
PeekableInputStream.java auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
Preferences.java Fix EAS debug switches and clean up debug prefs code. 2009-08-13 17:43:25 -07:00
Utility.java Clean out old mailbox names logic and fix a couple of bugs. 2009-09-21 14:44:30 -07:00