Commit Graph

21256 Commits

Author SHA1 Message Date
Jeff Brown
2b60484225 am 241fe477: am 58bf986c: Merge "Use ashmem for CursorWindows. Bug: 5332296" into ics-mr0
* commit '241fe477edba539bcc58df4410c307d9540a4233':
  Use ashmem for CursorWindows. Bug: 5332296
2011-10-12 12:37:46 -07:00
Romain Guy
3ef396bb0a am f751210b: Merge "Fix the build"
* commit 'f751210b4b040458df789e217f168bccbb95117a':
  Fix the build
2011-10-12 12:37:22 -07:00
Romain Guy
1f66e8bd4e am df61887f: Merge "Check whether an AsyncTask is created/executed on a looper thread."
* commit 'df61887feb5348f1d30a2e86b13ae64c271c4acc':
  Check whether an AsyncTask is created/executed on a looper thread.
2011-10-12 12:37:15 -07:00
Jeff Brown
241fe477ed am 58bf986c: Merge "Use ashmem for CursorWindows. Bug: 5332296" into ics-mr0
* commit '58bf986c3e3948242e89654e6d59b97a21345582':
  Use ashmem for CursorWindows. Bug: 5332296
2011-10-11 15:33:28 -07:00
Romain Guy
f751210b4b Merge "Fix the build" 2011-10-11 14:51:18 -07:00
Romain Guy
4db2504ada Fix the build
Change-Id: I3071feab62abee7393557ceb920786b476fb0b02
2011-10-11 14:48:56 -07:00
Romain Guy
df61887feb Merge "Check whether an AsyncTask is created/executed on a looper thread." 2011-10-11 14:10:10 -07:00
Romain Guy
7498ccb6b9 Check whether an AsyncTask is created/executed on a looper thread.
Change-Id: I181b253c50a6579f35e61cd4b0c500379462e035
2011-10-11 14:09:27 -07:00
Jeff Brown
58bf986c3e Merge "Use ashmem for CursorWindows. Bug: 5332296" into ics-mr0 2011-10-11 13:54:45 -07:00
Svetoslav Ganov
a72a80632b Merge "DO NOT MERGE AdapterView does not set setCurrentItemIndex in accessibility event." into ics-mr0 2011-10-11 13:54:28 -07:00
Nick Pelly
5eba4d6713 am 79425fd6: Merge "Remove deprecated (and hidden) enableForegroundNdefPush callback API\'s."
* commit '79425fd600e521f1eb4947c26ef631d3e1d29920':
  Remove deprecated (and hidden) enableForegroundNdefPush callback API's.
2011-10-11 12:41:32 -07:00
Nick Pelly
79425fd600 Merge "Remove deprecated (and hidden) enableForegroundNdefPush callback API's." 2011-10-11 12:39:46 -07:00
Jeff Brown
24285a1ad3 am e69eaf5c: Merge "Don\'t log BlockGuard violations on ENG builds."
* commit 'e69eaf5c6de95a0db7d5cddf079169a925bac85f':
  Don't log BlockGuard violations on ENG builds.
2011-10-11 12:36:25 -07:00
Jeff Brown
e69eaf5c6d Merge "Don't log BlockGuard violations on ENG builds." 2011-10-11 12:35:05 -07:00
Svetoslav Ganov
eb0c52e491 DO NOT MERGE AdapterView does not set setCurrentItemIndex in accessibility event.
Cherry picking since branching caught us in the middle of review.

bug:5439637

Change-Id: I67d080abb4c14cad88b952e2f91d65e181b2029b
2011-10-11 11:58:13 -07:00
Svetoslav Ganov
98348517fd DO NOT MERGE AdapterView#isScrollableForAccessibility does not handle null adapter.
Cherry picking since branching caught us in the middle of review.

1. If an AdapterView has no adapter and the view tries to fire an
   accessibility event we get a null pointer exception.

bug:5439321

Change-Id: Ia3d7a5ad852ef42422d10d8a62c4d3af6792313b
2011-10-11 11:54:22 -07:00
Jeff Brown
be7c29c9f7 Don't log BlockGuard violations on ENG builds.
We want to see CloseGuard violations in the log in ENG builds
because they indicate serious problems, but BlockGuard is
too noisy and is best viewed in the aggregate from the
drop box based tools.

Change-Id: I77d4d0a561a4299355c111d0ccb5a2147646245b
2011-10-11 11:35:23 -07:00
Svetoslav Ganov
9e2660be00 am 0c9698ac: Merge changes I67d080ab,Ia3d7a5ad
* commit '0c9698aca534f123414e4c5a9419f210473ba11b':
  AdapterView does not set setCurrentItemIndex in accessibility event.
  AdapterView#isScrollableForAccessibility does not handle null adapter.
2011-10-11 11:32:20 -07:00
Svetoslav Ganov
0c9698aca5 Merge changes I67d080ab,Ia3d7a5ad
* changes:
  AdapterView does not set setCurrentItemIndex in accessibility event.
  AdapterView#isScrollableForAccessibility does not handle null adapter.
2011-10-11 11:30:45 -07:00
Jeff Brown
0cde89f5f0 Use ashmem for CursorWindows.
Bug: 5332296

The memory dealer introduces additional delays for reclaiming
the memory owned by CursorWindows because the Binder object must
be finalized.  Using ashmem instead gives CursorWindow more
direct control over the lifetime of the shared memory region.

The provider now allocates the CursorWindows and returns them
to clients with a read-only protection bit set on the ashmem
region.

Improved the encapsulation of CursorWindow.  Callers shouldn't
need to care about details like how string fields are allocated.

Removed the compile-time configuration of string and numeric
storage modes to remove some dead weight.

Change-Id: I07c2bc2a9c573d7e435dcaecd269d25ea9807acd
2011-10-11 11:03:19 -07:00
Jim Miller
85a95089df am 66360acc: Merge "Fix 5249234: Add contentDescription to buttons on transport control on lock screen."
* commit '66360acc126c243de7938c7499f22c4f9a037a29':
  Fix 5249234: Add contentDescription to buttons on transport control on lock screen.
2011-10-10 20:08:21 -07:00
Jim Miller
66360acc12 Merge "Fix 5249234: Add contentDescription to buttons on transport control on lock screen." 2011-10-10 20:06:29 -07:00
Dianne Hackborn
74ffab4990 am 5f9532f4: Merge "Fix issue #5435470: SharedPreferencesImpl should read from file..."
* commit '5f9532f47e823185d7549f7008203a6df1a44131':
  Fix issue #5435470: SharedPreferencesImpl should read from file...
2011-10-10 19:17:11 -07:00
Dianne Hackborn
5f9532f47e Merge "Fix issue #5435470: SharedPreferencesImpl should read from file..." 2011-10-10 19:15:32 -07:00
Jim Miller
67e043db11 Fix 5249234: Add contentDescription to buttons on transport control on lock screen.
Change-Id: Ie4e9139e01c37a0d9542ff9996a84db0083b35ef
2011-10-10 19:11:06 -07:00
Dianne Hackborn
2e8fb73ec0 Fix issue #5435470: SharedPreferencesImpl should read from file...
...via BufferedInputStream

Change-Id: Ic14eff1e53b6f4a0de5f59bd97cd390eb908e3c6
2011-10-10 18:47:00 -07:00
Svetoslav Ganov
b2a9e21672 AdapterView does not set setCurrentItemIndex in accessibility event.
bug:5439637

Change-Id: I67d080abb4c14cad88b952e2f91d65e181b2029b
2011-10-10 18:15:49 -07:00
Jeff Sharkey
78d8308677 am 338140f7: Merge "Over-limit within handful of MTU\'s, update assets."
* commit '338140f7340a5471b5c5e8152405bc810fe56769':
  Over-limit within handful of MTU's, update assets.
2011-10-10 17:49:04 -07:00
Jeff Sharkey
338140f734 Merge "Over-limit within handful of MTU's, update assets." 2011-10-10 17:47:46 -07:00
Svetoslav Ganov
f11d6f57db am f005a2c8: Merge "Adding accessibility support to the pattern lock."
* commit 'f005a2c83b341647ea827e548cf506d37a8bf97e':
  Adding accessibility support to the pattern lock.
2011-10-10 17:41:56 -07:00
Svetoslav Ganov
f005a2c83b Merge "Adding accessibility support to the pattern lock." 2011-10-10 17:39:54 -07:00
Svetoslav Ganov
54669f837a AdapterView#isScrollableForAccessibility does not handle null adapter.
1. If an AdapterView has no adapter and the view tries to fire an
   accessibility event we get a null pointer exception.

bug:5439321

Change-Id: Ia3d7a5ad852ef42422d10d8a62c4d3af6792313b
2011-10-10 17:18:24 -07:00
Jeff Sharkey
50e7e51d68 Over-limit within handful of MTU's, update assets.
Consider a network over-limit when it's measured usage is within a
handful of MTU's, since kernel completely drops packets that trigger
limit alert.

Update notification drawables.

Bug: 5433359, 5224629
Change-Id: I10b19cc34c34b47775904229829a25208cd85d25
2011-10-10 16:57:21 -07:00
Amith Yamasani
373d3e9dec am 2cba116c: Merge "Don\'t show icon for power-off confirmation dialog."
* commit '2cba116c27f52fa7545d5131ff9e18294d87e81a':
  Don't show icon for power-off confirmation dialog.
2011-10-10 16:35:43 -07:00
Amith Yamasani
2cba116c27 Merge "Don't show icon for power-off confirmation dialog." 2011-10-10 16:34:34 -07:00
Amith Yamasani
04b81c713e Don't show icon for power-off confirmation dialog.
Bug: 5380396
Change-Id: I57574b613d95885c829df729297b24be1c73b876
2011-10-10 16:24:48 -07:00
Dianne Hackborn
091ff486ab am 94e8471a: Merge "Fix issue #5405788: Device continuously opening and closing..."
* commit '94e8471a956d46f4fae3da2b1e79862e07209efa':
  Fix issue #5405788: Device continuously opening and closing...
2011-10-10 16:10:02 -07:00
Dianne Hackborn
94e8471a95 Merge "Fix issue #5405788: Device continuously opening and closing..." 2011-10-10 16:08:05 -07:00
Svetoslav Ganov
4901a15839 am a1a274f2: Merge "Accessibility text changed event text not populated."
* commit 'a1a274f2794e29afd5ba5e2ca31352cae5c508fd':
  Accessibility text changed event text not populated.
2011-10-10 16:07:57 -07:00
Svetoslav Ganov
a1a274f279 Merge "Accessibility text changed event text not populated." 2011-10-10 16:05:53 -07:00
Gilles Debunne
82b1c433a6 am 737f3309: Merge "Bug 5437846: Crash in SpellChecker"
* commit '737f33091f28251f0ac6e525e7401c841ef54af0':
  Bug 5437846: Crash in SpellChecker
2011-10-10 15:21:04 -07:00
Gilles Debunne
737f33091f Merge "Bug 5437846: Crash in SpellChecker" 2011-10-10 15:18:35 -07:00
Gilles Debunne
f656030a86 Bug 5437846: Crash in SpellChecker
The cached mText field from TextView is not constant overtime.
It is especially changed whne the first character of text is added.
Retrieve the actual current value everytime we use it.

Change-Id: Ie297a3292106879621e54a22e5d03444d442ec96
2011-10-10 15:04:54 -07:00
Dianne Hackborn
58f42a59bd Fix issue #5405788: Device continuously opening and closing...
...the "Complete action using" dialog

When an application goes idle, it sends back to the activity manager
the configuration it last used, to make sure the two don't get out
of sync.  Fix a bunch of edge cases here in dealing with that, and
be sure to also send the current configuration when launching an
activity so the client is always up-to-date when launching.

Also a small fix to not show the upgrading dialog during first boot.

Change-Id: I14ed366a87cd689d1c78787369e052422290ac6f
2011-10-10 14:53:08 -07:00
Romain Guy
b12f84674c am 1e43657c: Merge "Make sure we have the correct GL context when grabbing a bitmap Bug #5427391"
* commit '1e43657ca08d755e950220a0e70518f33dce705e':
  Make sure we have the correct GL context when grabbing a bitmap Bug #5427391
2011-10-10 14:09:39 -07:00
Jeff Brown
01b2e96bc2 am 184b44e7: Merge "Fix ownership of CursorWindows across processes. Bug: 5332296"
* commit '184b44e79406e5f7e4f68673277c9637c6451b55':
  Fix ownership of CursorWindows across processes. Bug: 5332296
2011-10-10 14:07:36 -07:00
Romain Guy
1e43657ca0 Merge "Make sure we have the correct GL context when grabbing a bitmap Bug #5427391" 2011-10-10 14:07:10 -07:00
Jeff Brown
184b44e794 Merge "Fix ownership of CursorWindows across processes. Bug: 5332296" 2011-10-10 14:06:09 -07:00
Romain Guy
589b0bb6ab Make sure we have the correct GL context when grabbing a bitmap
Bug #5427391

Change-Id: I4687a6a3e8968fc3ca8ef171833b2bb7afc16f89
2011-10-10 13:57:47 -07:00
Derek Sollenberger
77553640e6 am 1d805c2b: Merge "Delay sending Plugin Draw event until the surface is ready."
* commit '1d805c2b90f67a394016a138995c4c1eeb855ff7':
  Delay sending Plugin Draw event until the surface is ready.
2011-10-10 13:29:57 -07:00