Commit Graph

3869 Commits

Author SHA1 Message Date
Marc Blank 1b9337ea4f Wireframe email widget
* Formatting and assets are preliminary
* Functionality correct
* Needs cleanup, etc.

Change-Id: I75051df93d233ef529a616c7a9efae403d320bd2
2010-12-01 13:37:57 -08:00
Adam Powell 4f4c902916 Merge "Update for ActionBar API change" 2010-12-01 13:15:27 -08:00
Adam Powell 4a54ec9b01 Update for ActionBar API change
Change-Id: I209a4409180f45146423254ed36a9859daa86547
2010-12-01 13:12:58 -08:00
Andy Stadler 1ca111c19c Add password expiration plumbing
* Set aggregated expiration values with DPM
* Fix min/max logic when aggregating, and fix unit test
* Add expiration tests when checking if policies are active
* Add expire-password to uses-policies set
* Handle password refresh (clear notifications and sec. holds)
* Handle password expiration (warning and/or wipe synced data)
* Unit tests for provider-level methods
* Refactor common security notification logic
* Placeholder notification strings (need final)

Bug: 3197935
Change-Id: Idf1975edd81dd7f55729156dc6b1002b7d09841f
2010-12-01 12:58:36 -08:00
Makoto Onuki d1ee5b8fa5 EML viewer: Set title, and show arrow next to the app icon
- Set "Viewing FILENAME" as title.
- Home icon now has "back" arrow.  Closes the activity when clicked.

Bug 3221312

Change-Id: I689499e10704d3c5d206df4aa12e21db9687c4c5
2010-12-01 11:35:09 -08:00
Makoto Onuki ad79ec4754 Merge "Importing new icons." 2010-12-01 11:34:24 -08:00
Makoto Onuki a19e003242 Merge "Fix UtilityUnitTests.testSpecialIcons" 2010-12-01 11:34:16 -08:00
Makoto Onuki eee6f5e81f Importing new icons.
Change-Id: I1f66f934b3ccbf912f4b3305e3adffc367759423
2010-12-01 10:34:13 -08:00
Marc Blank b8419984f0 Merge "Fix typo in ExchangeService" 2010-12-01 09:50:04 -08:00
Marc Blank b1d511309a Fix typo in ExchangeService
Bug: 3241867
Change-Id: If805196409837bb8e1eeaa2e4ec82c2d1fad2c38
2010-12-01 09:35:45 -08:00
Marc Blank 1832ea8c58 Merge "Don't throw exception on moveToPosition in CachedCursor" 2010-12-01 09:09:03 -08:00
Eric Fischer ed795618e0 am 63983af4: (-s ours) am a56f0eed: Import revised translations. DO NOT MERGE
* commit '63983af4a22f213277569923b4d40c829b31b0a8':
  Import revised translations.  DO NOT MERGE
2010-12-01 03:36:28 -08:00
Makoto Onuki ed0d19e887 Fix UtilityUnitTests.testSpecialIcons
Now non-special mailboxes on mailbox list doesn't have an icon, so
getIcon(Mailbox.TYPE_MAIL) should return null.

Change-Id: I354551baa4027c8e90c499dafac72423343c9cee
2010-11-30 17:34:55 -08:00
Makoto Onuki 17d07ecdf7 Hide selection mode when message list is not visible.
...without clearing the selection.

Message list can be hidden on portrait.

Bug 3228718

Change-Id: Idc9eb3416e151ac0c2b851824fcee10b346d51c5
2010-11-30 14:54:04 -08:00
Marc Blank 68dc380d62 Don't throw exception on moveToPosition in CachedCursor
* Just return false

Bug: 3240290
Change-Id: I808ca88c7897c573d19c2c2c92b179b4106a6dd3
2010-11-30 12:38:52 -08:00
Andy Stadler e29189e3ee Cleanups to Controller & AttachmentProvider
* New method in AttachmentProvider to delete all attachments for an
  account, and unit test it.
* New method in Controller to delete all synced data for an account,
  and unit test it.
* Fixed existing problem with Controller unit tests (needed cache clear)
* Fixed existing problems in Controller (mContext vs. mProviderContext)

Bug: 3197935
Change-Id: I79c6a03c21f18d37eeb8158cd1c2af0e0a6e9d2e
2010-11-30 12:11:36 -08:00
Eric Fischer 63983af4a2 am a56f0eed: Import revised translations. DO NOT MERGE
* commit 'a56f0eedc5cf606aa4e790c15cd6948421916be1':
  Import revised translations.  DO NOT MERGE
2010-11-30 11:48:04 -08:00
Marc Blank 3bbc690600 Add watchdog to AttachmentDownloadService
* Detect attachment downloads that have stalled and restart them
* Catch a couple of cases in which we weren't sending callbacks

Bug: 3122242

Change-Id: Id2bfd3b26182004b301cf8665f4feb6e62b98b73
2010-11-30 10:16:05 -08:00
Eric Fischer a56f0eedc5 Import revised translations. DO NOT MERGE
Change-Id: I453979a6a8a6ed9d5431fc790a03cbfd21056fa7
2010-11-29 16:16:50 -08:00
Makoto Onuki 2201b38fe3 Add error message UI
Show an error message in a yellow bar at the top of the activity.

Bug 3230116

Change-Id: I45dad233c1ab52de365c8caedb4eeff29aefac65
2010-11-29 16:07:38 -08:00
Makoto Onuki 2d648f4cec Merge "Make "mark unread" close current message" 2010-11-29 16:07:09 -08:00
Eric Fischer 947ee4537d Merge "Import revised translations." 2010-11-29 16:05:44 -08:00
Marc Blank d14f93f2b4 Merge "Make sure we send callbacks for UI requested syncs" 2010-11-29 16:04:55 -08:00
Andy Stadler 2148d9b2e6 Merge "Move "Add Account" to ActionBar" 2010-11-29 15:18:17 -08:00
Eric Fischer d23fce1ab6 Import revised translations.
Change-Id: I73185cb23b4ec2612e47e5b16b2eeddf71693065
2010-11-29 15:14:54 -08:00
Andy Stadler 97874770fc Move "Add Account" to ActionBar
Not currently enabling/disabling properly, filing a framework bug.

Bug: 3188951
Change-Id: I9c8900187048f548411a23c2a1b0208c79fc0a24
2010-11-29 15:00:37 -08:00
Makoto Onuki f3d43641c9 Make "mark unread" close current message
- XLFragmentManager.selectMailbox() used to hide the message view
  when it's visible, but not anymore.  Made goBackToMailbox() itself
  hide it instead.

- Also made onMarkAsUnread() not call the unread callback, which was
  already done in onMarkMessageAsRead().

Bug 3214538

Change-Id: I52fb8bb745cdaa517624a9aeec074122f10aac4a
2010-11-29 14:46:27 -08:00
Makoto Onuki af1179ca22 Merge "New back behavior" 2010-11-29 12:48:45 -08:00
Marc Blank 1b6623b092 Make sure we send callbacks for UI requested syncs
* In the case in which a sync was requested during an already-running
  sync, we weren't passing the request information into the service

Bug: 3143544
Change-Id: I098161830844f604e4aa5b9c067491d2777d78c3
2010-11-29 11:32:04 -08:00
Makoto Onuki 36cf701784 New back behavior
The home icon on action bar and the system back key work slightly differently
on portrait.

home: full-screen message view -> mailbox list + message list
back: full-screen message view -> expanded message list
      -> mailbox list + message list

Bug 3228524

Change-Id: I9bb598315ee829c6a8300a35d194a29c7a26291f
2010-11-24 14:42:27 -08:00
Gilles Debunne ac25a48d7b Merge "Removed unused assets." 2010-11-24 14:41:54 -08:00
Makoto Onuki 54513ed740 Merge "pixel-almost-perfect: mailbox list" 2010-11-24 13:47:04 -08:00
Makoto Onuki 9d6d5b3091 pixel-almost-perfect: mailbox list
Bug 3137965

Change-Id: Ic5aa3327ddbd456024e1938b74c7da0452b682f5
2010-11-24 13:40:58 -08:00
Andy Stadler 0cefe81b47 Merge "Update visual style shortcut picker and make it async" 2010-11-24 11:20:06 -08:00
Makoto Onuki 2e1c3eaaf1 Merge "Don't show color chips when there's only one account" 2010-11-24 10:48:10 -08:00
Makoto Onuki e2201949ba Don't show color chips when there's only one account
Bug 3225322

Change-Id: Idb299f54dc6f746e7d451a7a04fb971a432a869a
2010-11-24 10:47:04 -08:00
Andy Stadler d87f81e901 Update visual style shortcut picker and make it async
* Use dialog when in XL screen size
* Show different strings in launcher and in dialog/activity title
* Add cancel button to picker
* Move accounts query to AsyncTask
* Remove obsolete AccountsAdapter

Bug: 3093928
Change-Id: Ief771482c6db684c434c21cf92844c37a927d34a
2010-11-23 22:54:49 -08:00
Makoto Onuki e47c12dba8 Merge "Don't show account dropdown when there's only 1 account." 2010-11-23 17:31:43 -08:00
Makoto Onuki 08e1f2f782 Don't show account dropdown when there's only 1 account.
Bug 3225851

Change-Id: I7b411f8047e3b26cfe53f17c46c3e2611fb8ae9d
2010-11-23 17:23:36 -08:00
Marc Blank 2eaa910a65 Merge "Handle upsync of EAS contact "group" (category) rename/delete" 2010-11-23 15:10:20 -08:00
Marc Blank fb3c389a14 Handle upsync of EAS contact "group" (category) rename/delete
Bug: 3211907
Change-Id: I7bec90dae7c223b4bd0d0f366d18cac37e53fbcc
2010-11-23 15:07:48 -08:00
Makoto Onuki 5b81690de1 Show color chips for combined view.
Show color chips for account rows and message items on the combined view.

Moved hard-coded color values to resource.

Bug 3138001

Change-Id: Ib93fb9d6e9592ebd0c297f83c3dee2358a80508f
2010-11-23 13:03:06 -08:00
Makoto Onuki 46e60b51e2 Merge "Fix & cleanup on EML viewer (MessageFileView)" 2010-11-23 12:18:28 -08:00
Makoto Onuki f23474a40d Revive inputType and imeOptions for address and subject fields
Also removed an unnecessary android:text.

Bug 3222325

Change-Id: Iba49ee85569d7707a0927f44f363dbc9c6cc7c8a
2010-11-23 12:17:26 -08:00
Andy Stadler 4091ffe94f Merge "Move application icon to mipmap-* directories" 2010-11-23 12:16:00 -08:00
Andy Stadler 5c4c0ab456 Move application icon to mipmap-* directories
Change-Id: Idc5df7046d0fa64ffbfce2869dffb4fe0fd144a0
2010-11-23 12:06:44 -08:00
Marc Blank 70188b71aa Merge "Fix deadlock in ContentCache" 2010-11-23 11:51:04 -08:00
Makoto Onuki 0d6eea970d Merge "Change "id" to "android:id"" 2010-11-23 11:44:18 -08:00
Marc Blank 5835dceced Fix deadlock in ContentCache
* The situation is that putCursor() is called from a reading thread
  while invalidate() is called from a writing thread
* putCursor() must not hold the monitor lock on ContentCache while
  moving the underlying cursor to position 0

Bug: 3224203
Change-Id: I35b798dccf245c761dc79c39ced4fc8c0cfb9d78
2010-11-23 11:19:26 -08:00
Makoto Onuki a6998d39fa Merge "Implement screen transition animation." 2010-11-23 10:18:25 -08:00