OSDN Git Service

android-x86/frameworks-base.git
12 years agoMerge "Remove deprecated (and hidden) enableForegroundNdefPush callback API's."
Nick Pelly [Tue, 11 Oct 2011 19:39:46 +0000 (12:39 -0700)]
Merge "Remove deprecated (and hidden) enableForegroundNdefPush callback API's."

12 years agoMerge "Don't log BlockGuard violations on ENG builds."
Jeff Brown [Tue, 11 Oct 2011 19:35:05 +0000 (12:35 -0700)]
Merge "Don't log BlockGuard violations on ENG builds."

12 years agoMerge "Stop enabling all disabled status bar features from GlobalActions."
Daniel Sandler [Tue, 11 Oct 2011 19:01:15 +0000 (12:01 -0700)]
Merge "Stop enabling all disabled status bar features from GlobalActions."

12 years agoDon't log BlockGuard violations on ENG builds.
Jeff Brown [Tue, 11 Oct 2011 18:35:23 +0000 (11:35 -0700)]
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

12 years agoMerge changes I67d080ab,Ia3d7a5ad
Svetoslav Ganov [Tue, 11 Oct 2011 18:30:45 +0000 (11:30 -0700)]
Merge changes I67d080ab,Ia3d7a5ad

* changes:
  AdapterView does not set setCurrentItemIndex in accessibility event.
  AdapterView#isScrollableForAccessibility does not handle null adapter.

12 years agoMerge "Remove non-module names from PRODUCT_PACKAGES"
Ying Wang [Tue, 11 Oct 2011 17:01:39 +0000 (10:01 -0700)]
Merge "Remove non-module names from PRODUCT_PACKAGES"

12 years agoReconcile with ics-factoryrom-release
The Android Open Source Project [Tue, 11 Oct 2011 11:29:26 +0000 (04:29 -0700)]
Reconcile with ics-factoryrom-release

Change-Id: Ibd1dca227b44e13538ea0b9f6aea45d180a010d3

12 years agoMerge "fix an issue where the screen could stay off"
Mathias Agopian [Tue, 11 Oct 2011 05:21:57 +0000 (22:21 -0700)]
Merge "fix an issue where the screen could stay off"

12 years agofix an issue where the screen could stay off
Mathias Agopian [Tue, 11 Oct 2011 05:18:55 +0000 (22:18 -0700)]
fix an issue where the screen could stay off

this would happen when toggling on/off/on very fast, the screen
could stay black (while the panel is on).

Bug: 5429724
Change-Id: Ic8aa6aff066e6267923c0d47ef65e314e7bb6d41

12 years agoMerge "Fix 5386408: Fix battery state information propagation in Lock Screen"
Jim Miller [Tue, 11 Oct 2011 05:06:07 +0000 (22:06 -0700)]
Merge "Fix 5386408: Fix battery state information propagation in Lock Screen"

12 years agoFix 5386408: Fix battery state information propagation in Lock Screen
Jim Miller [Tue, 11 Oct 2011 04:55:04 +0000 (21:55 -0700)]
Fix 5386408: Fix battery state information propagation in Lock Screen

This fixes a bug where Lock Screen would sometimes inappropriately show
"charged" if it took a while for Lock Screen to get an update on the
battery state.  It now starts with the state set to BATTERY_STATUS_UNKNOWN
so we properly update listeners when we finally get battery information
in handleBatteryUpdate().

Change-Id: I71018a233f38b2f897ff2e6592d7e310550fa016

12 years agomerge in ics-factoryrom-release history after reset to ics-factoryrom
The Android Automerger [Tue, 11 Oct 2011 03:38:59 +0000 (20:38 -0700)]
merge in ics-factoryrom-release history after reset to ics-factoryrom

12 years agoMerge "Fix 5249234: Add contentDescription to buttons on transport control on lock...
Jim Miller [Tue, 11 Oct 2011 03:06:29 +0000 (20:06 -0700)]
Merge "Fix 5249234: Add contentDescription to buttons on transport control on lock screen."

12 years agoMerge "Keep screen brightness at 0 while waiting for the UI to be displayed."
Dianne Hackborn [Tue, 11 Oct 2011 02:16:52 +0000 (19:16 -0700)]
Merge "Keep screen brightness at 0 while waiting for the UI to be displayed."

12 years agoMerge "Fix issue #5435470: SharedPreferencesImpl should read from file..."
Dianne Hackborn [Tue, 11 Oct 2011 02:15:32 +0000 (19:15 -0700)]
Merge "Fix issue #5435470: SharedPreferencesImpl should read from file..."

12 years agoFix 5249234: Add contentDescription to buttons on transport control on lock screen.
Jim Miller [Tue, 11 Oct 2011 00:48:01 +0000 (17:48 -0700)]
Fix 5249234: Add contentDescription to buttons on transport control on lock screen.

Change-Id: Ie4e9139e01c37a0d9542ff9996a84db0083b35ef

12 years agoMerge "Fix screen off animation when in landscape"
Mathias Agopian [Tue, 11 Oct 2011 02:05:23 +0000 (19:05 -0700)]
Merge "Fix screen off animation when in landscape"

12 years agoFix screen off animation when in landscape
Mathias Agopian [Tue, 11 Oct 2011 02:02:07 +0000 (19:02 -0700)]
Fix screen off animation when in landscape

Change-Id: I4bc5b12d7a64a4bf8b9a851594be4d60b790d1ed

12 years agoFix issue #5435470: SharedPreferencesImpl should read from file...
Dianne Hackborn [Tue, 11 Oct 2011 01:47:00 +0000 (18:47 -0700)]
Fix issue #5435470: SharedPreferencesImpl should read from file...

...via BufferedInputStream

Change-Id: Ic14eff1e53b6f4a0de5f59bd97cd390eb908e3c6

12 years agoKeep screen brightness at 0 while waiting for the UI to be displayed.
Dianne Hackborn [Tue, 11 Oct 2011 01:40:22 +0000 (18:40 -0700)]
Keep screen brightness at 0 while waiting for the UI to be displayed.

Change-Id: I957135c5423db6d83f4f30232481a1b6d77165fa

12 years agoAdapterView does not set setCurrentItemIndex in accessibility event.
Svetoslav Ganov [Tue, 11 Oct 2011 01:15:41 +0000 (18:15 -0700)]
AdapterView does not set setCurrentItemIndex in accessibility event.

bug:5439637

Change-Id: I67d080abb4c14cad88b952e2f91d65e181b2029b

12 years agoMerge "Over-limit within handful of MTU's, update assets."
Jeff Sharkey [Tue, 11 Oct 2011 00:47:46 +0000 (17:47 -0700)]
Merge "Over-limit within handful of MTU's, update assets."

12 years agoMerge "Adding accessibility support to the pattern lock."
Svetoslav Ganov [Tue, 11 Oct 2011 00:39:54 +0000 (17:39 -0700)]
Merge "Adding accessibility support to the pattern lock."

12 years agoMerge "Add "format" extra to SMS delivery report intents."
Jake Hamby [Tue, 11 Oct 2011 00:34:15 +0000 (17:34 -0700)]
Merge "Add "format" extra to SMS delivery report intents."

12 years agoMerge "Gracefully handle "needs init" transport errors at finish"
Christopher Tate [Tue, 11 Oct 2011 00:27:05 +0000 (17:27 -0700)]
Merge "Gracefully handle "needs init" transport errors at finish"

12 years agoAdapterView#isScrollableForAccessibility does not handle null adapter.
Svetoslav Ganov [Tue, 11 Oct 2011 00:18:19 +0000 (17:18 -0700)]
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

12 years agoOver-limit within handful of MTU's, update assets.
Jeff Sharkey [Mon, 10 Oct 2011 23:50:35 +0000 (16:50 -0700)]
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: 54333595224629
Change-Id: I10b19cc34c34b47775904229829a25208cd85d25

12 years agoAdd "format" extra to SMS delivery report intents.
Jake Hamby [Mon, 10 Oct 2011 23:56:58 +0000 (16:56 -0700)]
Add "format" extra to SMS delivery report intents.

The MMS app was updated for multiple SMS dispatcher support, passing
the "format" extra into SmsMessage.createFromPdu() so that the PDU
is interpreted as the correct format (3GPP or 3GPP2).

This change adds the "format" extra to the intents that are sent for
SMS delivery reports. The MMS app is already expecting this extra, so
this change fixes a NPE that was introduced with the last change.

Bug: 5434052
Change-Id: I38b97f166c78d246d721ca1db8a4a18a2c6529bd

12 years agoResolved conflicts for merge of 83cf0313 to master
Justin Ho [Mon, 10 Oct 2011 23:46:35 +0000 (16:46 -0700)]
Resolved conflicts for merge of 83cf0313 to master

Change-Id: Ib66ee7e34d0c4d845004bce635ee1ef300d3b344

12 years agoGracefully handle "needs init" transport errors at finish
Christopher Tate [Mon, 10 Oct 2011 23:34:50 +0000 (16:34 -0700)]
Gracefully handle "needs init" transport errors at finish

Although it's typical for a backup transport to report that it
needs an explicit initialization opportunity when the backup is
initiated, it can sometimes come to pass that the "needs init"
error condition is reported at backup *finish*.  In this case the
framework side was failing to properly reset all of the relevant
state.  The end result was to spin hard forever, holding wakelocks
and continually failing to actually perform the necessary init
operation, possibly continuing even after a reboot.  Fixed.

Bug 5434579

Change-Id: If1d72c338526e4019ea524c48a11e71e44e77f71

12 years agoMerge "Don't show icon for power-off confirmation dialog."
Amith Yamasani [Mon, 10 Oct 2011 23:34:34 +0000 (16:34 -0700)]
Merge "Don't show icon for power-off confirmation dialog."

12 years agoMerge "Ensuring previous sounds are named correctly Bug: 5416299" into ics-factoryrom
Hiroshi Lockheimer [Mon, 10 Oct 2011 23:34:23 +0000 (16:34 -0700)]
Merge "Ensuring previous sounds are named correctly Bug: 5416299" into ics-factoryrom

12 years agoMerge "Fix 5406921: Register for receiving phone state changes when KGSVM gets created."
Jim Miller [Mon, 10 Oct 2011 23:30:06 +0000 (16:30 -0700)]
Merge "Fix 5406921: Register for receiving phone state changes when KGSVM gets created."

12 years agoMerge "Fixes 5429869 Only displaying FaceUnlock when window is focused"
Steven Ross [Mon, 10 Oct 2011 23:28:36 +0000 (16:28 -0700)]
Merge "Fixes 5429869 Only displaying FaceUnlock when window is focused"

12 years agoDon't show icon for power-off confirmation dialog.
Amith Yamasani [Mon, 10 Oct 2011 23:24:48 +0000 (16:24 -0700)]
Don't show icon for power-off confirmation dialog.

Bug: 5380396
Change-Id: I57574b613d95885c829df729297b24be1c73b876

12 years agoMerge "Fix issue #5405788: Device continuously opening and closing..."
Dianne Hackborn [Mon, 10 Oct 2011 23:08:05 +0000 (16:08 -0700)]
Merge "Fix issue #5405788: Device continuously opening and closing..."

12 years agoMerge "Accessibility text changed event text not populated."
Svetoslav Ganov [Mon, 10 Oct 2011 23:05:53 +0000 (16:05 -0700)]
Merge "Accessibility text changed event text not populated."

12 years agoEnsuring previous sounds are named correctly
Justin Ho [Mon, 10 Oct 2011 22:05:49 +0000 (15:05 -0700)]
Ensuring previous sounds are named correctly
Bug: 5416299

Change-Id: I0f2cd229be02908553368d6ff19977a0ebd3e613

12 years agoReconcile with ics-factoryrom-release
The Android Open Source Project [Mon, 10 Oct 2011 22:39:41 +0000 (15:39 -0700)]
Reconcile with ics-factoryrom-release

Change-Id: I8642724549283dbcd3d104a35d5c659e5591682e

12 years agoMerge "Don't call saveLayer() when it's not required Bug #5435653"
Romain Guy [Mon, 10 Oct 2011 22:24:06 +0000 (15:24 -0700)]
Merge "Don't call saveLayer() when it's not required Bug #5435653"

12 years agoDon't call saveLayer() when it's not required
Romain Guy [Mon, 10 Oct 2011 22:22:25 +0000 (15:22 -0700)]
Don't call saveLayer() when it's not required
Bug #5435653

saveLayer() can be extremely expensive on some GPU architectures. Avoiding
this call greatly improve the rendering performance of drawables with
strok + fill.

Change-Id: Ib414174ba05d5bad56d942b8e67ab784e7d60b9e

12 years agoMerge "Support AMR as a file type so that it can be imported into movie studio"
James Dong [Mon, 10 Oct 2011 22:22:04 +0000 (15:22 -0700)]
Merge "Support AMR as a file type so that it can be imported into movie studio"

12 years agoMerge "Bug 5437846: Crash in SpellChecker"
Gilles Debunne [Mon, 10 Oct 2011 22:18:35 +0000 (15:18 -0700)]
Merge "Bug 5437846: Crash in SpellChecker"

12 years agoBug 5437846: Crash in SpellChecker
Gilles Debunne [Mon, 10 Oct 2011 22:03:55 +0000 (15:03 -0700)]
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

12 years agoFix issue #5405788: Device continuously opening and closing...
Dianne Hackborn [Mon, 10 Oct 2011 20:46:34 +0000 (13:46 -0700)]
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

12 years agoam 832c5485: Merge "Update screen lock/unlock sound Bug: 5416299" into ics-factoryrom
Justin Ho [Mon, 10 Oct 2011 21:43:35 +0000 (14:43 -0700)]
am 832c5485: Merge "Update screen lock/unlock sound Bug: 5416299" into ics-factoryrom

* commit '832c54857519c405d7aa0d3bccfe74078f1a1abf':
  Update screen lock/unlock sound Bug: 5416299

12 years agoam 17249d64: Adding Pollux notification tone Bug: 5416299
Justin Ho [Mon, 10 Oct 2011 21:43:33 +0000 (14:43 -0700)]
am 17249d64: Adding Pollux notification tone Bug: 5416299

* commit '17249d6472b85e669c1b854fc413888e78af6def':
  Adding Pollux notification tone Bug: 5416299

12 years agoam 9e7caa0b: Tie the lockscreen sounds with the ringer volume.
Amith Yamasani [Mon, 10 Oct 2011 21:37:25 +0000 (14:37 -0700)]
am 9e7caa0b: Tie the lockscreen sounds with the ringer volume.

* commit '9e7caa0b270f8cea1fd2a61c5bffcf0df1037970':
  Tie the lockscreen sounds with the ringer volume.

12 years agoam 803ce0f9: (-s ours) Use SoundPool instead of Ringtone.
Marco Nelissen [Mon, 10 Oct 2011 21:37:23 +0000 (14:37 -0700)]
am 803ce0f9: (-s ours) Use SoundPool instead of Ringtone.

* commit '803ce0f9fdd455dc4ec0c6ad9c141c76315fd4da':
  Use SoundPool instead of Ringtone.

12 years agoMerge "Make sure we have the correct GL context when grabbing a bitmap Bug #5427391"
Romain Guy [Mon, 10 Oct 2011 21:07:10 +0000 (14:07 -0700)]
Merge "Make sure we have the correct GL context when grabbing a bitmap Bug #5427391"

12 years agoMerge "Fix ownership of CursorWindows across processes. Bug: 5332296"
Jeff Brown [Mon, 10 Oct 2011 21:06:09 +0000 (14:06 -0700)]
Merge "Fix ownership of CursorWindows across processes. Bug: 5332296"

12 years agoMake sure we have the correct GL context when grabbing a bitmap
Romain Guy [Mon, 10 Oct 2011 20:57:47 +0000 (13:57 -0700)]
Make sure we have the correct GL context when grabbing a bitmap
Bug #5427391

Change-Id: I4687a6a3e8968fc3ca8ef171833b2bb7afc16f89

12 years agoMerge "Delay sending Plugin Draw event until the surface is ready."
Derek Sollenberger [Mon, 10 Oct 2011 20:28:01 +0000 (13:28 -0700)]
Merge "Delay sending Plugin Draw event until the surface is ready."

12 years agoDelay sending Plugin Draw event until the surface is ready.
Derek Sollenberger [Mon, 22 Aug 2011 18:05:49 +0000 (14:05 -0400)]
Delay sending Plugin Draw event until the surface is ready.

bug: 5436630
Change-Id: Ib66859b94b60fc5ea2a8db5e2e40690a084d5b0a

12 years agoMerge "Improve loadData JavaDoc"
John Reck [Mon, 10 Oct 2011 20:06:54 +0000 (13:06 -0700)]
Merge "Improve loadData JavaDoc"

12 years agoImprove loadData JavaDoc
John Reck [Fri, 7 Oct 2011 19:31:26 +0000 (12:31 -0700)]
Improve loadData JavaDoc

 Bug: 5425567

Change-Id: I2feff8ac69b2bb790aec8c5f710af0df257e28fb

12 years agoMerge "YouTube can now request custom cache/prefetch parameters and disconnect-at...
Andreas Huber [Mon, 10 Oct 2011 19:45:02 +0000 (12:45 -0700)]
Merge "YouTube can now request custom cache/prefetch parameters and disconnect-at-highwater"

12 years agoRemove non-module names from PRODUCT_PACKAGES
Ying Wang [Mon, 10 Oct 2011 19:44:12 +0000 (12:44 -0700)]
Remove non-module names from PRODUCT_PACKAGES

Bug: 5430740
Those files are in PRODUCT_COPY_FILES but not modules that can be put in
PRODUCT_PACKAGES.

Change-Id: I9e2f60de7ac2e12e6880e1365a36615835ca747c

12 years agoYouTube can now request custom cache/prefetch parameters and disconnect-at-highwater
Andreas Huber [Fri, 7 Oct 2011 20:40:45 +0000 (13:40 -0700)]
YouTube can now request custom cache/prefetch parameters and disconnect-at-highwater

through the use of pseudo http headers specified in the setDataSource call.

x-cache-config: -1/-1/0
x-disconnect-at-highwatermark: 1

turns off keep-alives and disconnects every time the cache is full (will attempt
to reconnect once it run below lowwater mark)

related-to-bug: 5433309

Change-Id: Id2f942fc956e0e156834cfcd6bb08dae6a29fae1

12 years agoMerge "enable EGL_IMG_context_priority for the omap4 platform"
Mathias Agopian [Mon, 10 Oct 2011 19:38:16 +0000 (12:38 -0700)]
Merge "enable EGL_IMG_context_priority for the omap4 platform"

12 years agoAccessibility text changed event text not populated.
Svetoslav Ganov [Sat, 8 Oct 2011 01:39:11 +0000 (18:39 -0700)]
Accessibility text changed event text not populated.

Added the TYPE_VIEW_TEXT_CHANGED event to the populating events.

bug:5430831

Change-Id: I78e87640ea4279227d89f399ad43e9b88eb4a486

12 years agoMerge "Fix Cursor leak in SettingsBackupAgent. Bug: 5434060"
Jeff Brown [Mon, 10 Oct 2011 18:48:58 +0000 (11:48 -0700)]
Merge "Fix Cursor leak in SettingsBackupAgent. Bug: 5434060"

12 years agoMerge "Always log StrictMode violations on ENG builds."
Jeff Brown [Mon, 10 Oct 2011 18:48:53 +0000 (11:48 -0700)]
Merge "Always log StrictMode violations on ENG builds."

12 years agoMerge "Implement CloseGuard in ContentResolver."
Jeff Brown [Mon, 10 Oct 2011 18:48:49 +0000 (11:48 -0700)]
Merge "Implement CloseGuard in ContentResolver."

12 years agoMerge "Clean up handrolled Binder proxies. Bug: 5332296"
Jeff Brown [Mon, 10 Oct 2011 18:48:39 +0000 (11:48 -0700)]
Merge "Clean up handrolled Binder proxies. Bug: 5332296"

12 years agoMerge "Bug 5430909 - Overlay action bar should consume hover events"
Adam Powell [Mon, 10 Oct 2011 18:19:35 +0000 (11:19 -0700)]
Merge "Bug 5430909 - Overlay action bar should consume hover events"

12 years agoBug 5430909 - Overlay action bar should consume hover events
Adam Powell [Mon, 10 Oct 2011 18:15:56 +0000 (11:15 -0700)]
Bug 5430909 - Overlay action bar should consume hover events

Otherwise these will incorrectly fall through to the view below.

Change-Id: I97280c41b2080f3f156554c6eb111af246e140d0

12 years agoAdding accessibility support to the pattern lock.
Svetoslav Ganov [Tue, 4 Oct 2011 21:51:25 +0000 (14:51 -0700)]
Adding accessibility support to the pattern lock.

The pattern lock fires accessibility eventa to announce start,
update, and end of a pattern. The pattern lock reacts to hover
events if touch exploration is enabled.

bug:5318807

Change-Id: I5a10c76338ca029f63f278c7e7d0aaba2386f73c

12 years agoMerge "Bug 5250788: LatinIME slows down as amount of Text increases"
Gilles Debunne [Mon, 10 Oct 2011 17:54:51 +0000 (10:54 -0700)]
Merge "Bug 5250788: LatinIME slows down as amount of Text increases"

12 years agoMerge "Import revised translations."
Eric Fischer [Mon, 10 Oct 2011 17:29:17 +0000 (10:29 -0700)]
Merge "Import revised translations."

12 years agoMerge "Update screen lock/unlock sound Bug: 5416299" into ics-factoryrom
Justin Ho [Mon, 10 Oct 2011 17:08:55 +0000 (10:08 -0700)]
Merge "Update screen lock/unlock sound Bug: 5416299" into ics-factoryrom

12 years agoMerge "Size Autocomplete drop down items correctly."
Ben Murdoch [Mon, 10 Oct 2011 16:51:31 +0000 (09:51 -0700)]
Merge "Size Autocomplete drop down items correctly."

12 years agoSize Autocomplete drop down items correctly.
Ben Murdoch [Mon, 10 Oct 2011 11:14:50 +0000 (12:14 +0100)]
Size Autocomplete drop down items correctly.

Fit the list item size to the content, and add a small amount of
padding.

Bug: 5420125
Change-Id: I50d6085654be77d1d314efad40df496e9c639c69

12 years agoImprove documentation for WebView.loadUrl() to specify charset
Steve Block [Mon, 10 Oct 2011 13:09:44 +0000 (14:09 +0100)]
Improve documentation for WebView.loadUrl() to specify charset

Bug: 5435233
Change-Id: I69a8e0c551b58f284cfa95dccfc0ea49b0bbf05f

12 years agoAdding Pollux notification tone
Justin Ho [Mon, 10 Oct 2011 14:53:50 +0000 (07:53 -0700)]
Adding Pollux notification tone
Bug: 5416299

Change-Id: I471977f1119c1afe314fa7539d8452fab5a4961e

12 years agoUpdate screen lock/unlock sound
Justin Ho [Mon, 10 Oct 2011 14:50:07 +0000 (07:50 -0700)]
Update screen lock/unlock sound
Bug: 5416299

Change-Id: Icdb1d45ce2afd742cc89cfb8e53245a158d4c241

12 years agoFixes 5429869 Only displaying FaceUnlock when window is focused
Steven Ross [Sat, 8 Oct 2011 13:06:37 +0000 (09:06 -0400)]
Fixes 5429869 Only displaying FaceUnlock when window is focused

Makes sure that the screen is on and the window is focused before bringing up FaceUnlock

Change-Id: I4c138c5c60fde217b6243627bd043194278835c2

12 years agoMerge "Add a hidden flag for the auto correction indicator in SuggestionSpan"
satok [Mon, 10 Oct 2011 08:08:27 +0000 (01:08 -0700)]
Merge "Add a hidden flag for the auto correction indicator in SuggestionSpan"

12 years agoMerge "Fix the behavior for choosing new default IME not to choose an auxiliary IME...
satok [Mon, 10 Oct 2011 07:59:41 +0000 (00:59 -0700)]
Merge "Fix the behavior for choosing new default IME not to choose an auxiliary IME as the default IME"

12 years agoAdd a hidden flag for the auto correction indicator in SuggestionSpan
satok [Fri, 7 Oct 2011 06:08:19 +0000 (15:08 +0900)]
Add a hidden flag for the auto correction indicator in SuggestionSpan

Bug: 5245468

Change-Id: Ic111554da86fefd47dd9a26c1bd41e4ee57dc552

12 years agoFix the behavior for choosing new default IME not to choose an auxiliary IME as the...
satok [Thu, 6 Oct 2011 03:22:36 +0000 (12:22 +0900)]
Fix the behavior for choosing new default IME not to choose an auxiliary IME as the default IME

Bug: 5420127

Change-Id: I3649de36806fc24e1c85c2b15db5e37acad1f120

12 years agoFix ownership of CursorWindows across processes.
Jeff Brown [Sun, 9 Oct 2011 19:39:53 +0000 (12:39 -0700)]
Fix ownership of CursorWindows across processes.
Bug: 5332296

Ensure that there is always an owner for each CursorWindow
and that references to each window are acquired/released
appropriately at all times.

Added synchronization to CursorToBulkCursorAdaptor to
prevent the underlying Cursor and CursorWindow from being
remotely accessed in ways that might violate invariants,
resulting in leaks or other problems.

Ensured that CursorToBulkCursorAdaptor promptly releases
its references to the Cursor and CursorWindow when closed
so they don't stick around longer than they should, even
if the remote end hangs onto the IBulkCursor for some reason.

CursorWindow respects Parcelable.FLAG_WRITE_RETURN_VALUE
as an indication that one reference to the CursorWindow is
being released.  Correspondingly, CursorToBulkCursorAdaptor
acquires a reference to the CursorWindow before returning
it to the caller.  This change also prevents races from
resulting in the transfer of an invalid CursorWindow over
the wire.

Ensured that BulkCursorToCursorAdaptor promptly releases
its reference to the IBulkCursor when closed and throws
on attempts to access the cursor while closed.

Modified ContentProviderNative to handle both parts of
the wrapping and unwrapping of Cursors into IBulkCursors.
This makes it a lot easier to ensure that the right
things happen on both ends.  Also, it turns out that
the only caller of IContentProvider.bulkQuery was
ContentProviderNative itself so there was no need
to support bulkQuery on ContentProviderProxy and it was
just getting in the way.

Implement CloseGuard on CursorWindow.

Change-Id: Ib3c8305d3cc62322f38a06698d404a2989bb6ef9

12 years agoSupport AMR as a file type so that it can be imported into movie studio
James Dong [Mon, 10 Oct 2011 04:02:12 +0000 (21:02 -0700)]
Support AMR as a file type so that it can be imported into movie studio

Change-Id: I3fc4f49ae0a210f53b1bab68716f4e558b3d91c5
related-to-bug: 5419452

12 years agoStop enabling all disabled status bar features from GlobalActions.
Daniel Sandler [Mon, 10 Oct 2011 01:18:58 +0000 (21:18 -0400)]
Stop enabling all disabled status bar features from GlobalActions.

Leaky singleton bug! GlobalActions, recents, and the
keyguard are all in the same process and therefore receive
the same StatusBarManager instance. Therefore, their calls
to enable() and disable() clobber one another.

Bug: 5423182
Change-Id: I724d17dfc5289141690560cc8ff83cc8543b25b1

12 years agoMerge "Calling close() outside of the main thread breaks stuff."
Dianne Hackborn [Mon, 10 Oct 2011 00:14:49 +0000 (17:14 -0700)]
Merge "Calling close() outside of the main thread breaks stuff."

12 years agoMerge "Move battery stats to xt_qtaguid for data stats."
Jeff Sharkey [Mon, 10 Oct 2011 00:08:23 +0000 (17:08 -0700)]
Merge "Move battery stats to xt_qtaguid for data stats."

12 years agoCalling close() outside of the main thread breaks stuff.
Dianne Hackborn [Sun, 9 Oct 2011 23:01:40 +0000 (16:01 -0700)]
Calling close() outside of the main thread breaks stuff.

Too dangerous to fix at this point.

Change-Id: I7de5bfecd757fbae635b02c2c2d9ba7ce3bcb435

12 years agoFix Cursor leak in SettingsBackupAgent.
Jeff Brown [Sun, 9 Oct 2011 22:24:53 +0000 (15:24 -0700)]
Fix Cursor leak in SettingsBackupAgent.
Bug: 5434060

Change-Id: I805695a30d6778d0c7302e63bcfe3dc1a38488f4

12 years agoAlways log StrictMode violations on ENG builds.
Jeff Brown [Sun, 9 Oct 2011 21:59:37 +0000 (14:59 -0700)]
Always log StrictMode violations on ENG builds.

The drop-box is too quiet and it masking real problems from
developers.  On ENG builds, use both logging and the drop-box
to ensure that problems are noticed promptly.

Change-Id: Id8fb8d392a7e01b532b73cb1a026b0d1f17af742

12 years agoImplement CloseGuard in ContentResolver.
Jeff Brown [Sun, 9 Oct 2011 21:07:00 +0000 (14:07 -0700)]
Implement CloseGuard in ContentResolver.

Also, don't try to close the cursor from the finalizer,
it just won't work because quite probably the Binder underneath
it has already been finalized or is about to be.

Change-Id: I6363cd30f32abe15412948d126e0bcc5f62943c5

12 years agoMerge "Save the click position and restore it on orientation change."
Dianne Hackborn [Sun, 9 Oct 2011 21:24:49 +0000 (14:24 -0700)]
Merge "Save the click position and restore it on orientation change."

12 years agoFix issue #5433910: RTE while adding an account from settings
Dianne Hackborn [Sun, 9 Oct 2011 21:11:05 +0000 (14:11 -0700)]
Fix issue #5433910: RTE while adding an account from settings

Make the new marshalling/unmarshalling code for the long sparse
array of ints always consistent.

And sane.

Change-Id: Ifbfbe6e56f59e469acb66257c504b1168d6566fa

12 years agoMove battery stats to xt_qtaguid for data stats.
Jeff Sharkey [Tue, 4 Oct 2011 23:54:49 +0000 (16:54 -0700)]
Move battery stats to xt_qtaguid for data stats.

Replace TrafficStats calls by reading values from xt_qtaguid kernel
module. To keep BatteryStatsImpl changes lightweight, cache recently
parsed stats. Tracks mobile ifaces from ConnectivityService.

Refactor xt_qtaguid parsing into factory outside of NMS. Add stats
grouping based on UID, and total based on limiting filters like iface
prefix and UID.

Bug: 4902271
Change-Id: I533f116c434b77f93355bf95b839e7478528505b

12 years agomerge in ics-factoryrom-release history after reset to ics-factoryrom
The Android Automerger [Sun, 9 Oct 2011 20:30:09 +0000 (13:30 -0700)]
merge in ics-factoryrom-release history after reset to ics-factoryrom

12 years agoClean up handrolled Binder proxies.
Jeff Brown [Sun, 9 Oct 2011 19:28:54 +0000 (12:28 -0700)]
Clean up handrolled Binder proxies.
Bug: 5332296

We can't replace these with AIDL generated proxies just yet, but
at least we can make them a little more conformant.

Change-Id: I1814f76d0f9c5e44a7fd85a12b2e3c2b7e3c9daa

12 years agoFix issue #5418999: [From My Phone] - ANR when navigating back from OneUp view
Dianne Hackborn [Sun, 9 Oct 2011 19:37:57 +0000 (12:37 -0700)]
Fix issue #5418999: [From My Phone] - ANR when navigating back from OneUp view

Close cursors asynchronously.

Change-Id: I32c106d26c0443710789344bf823c288eaf31db5

12 years agoTie the lockscreen sounds with the ringer volume.
Amith Yamasani [Fri, 30 Sep 2011 22:39:41 +0000 (15:39 -0700)]
Tie the lockscreen sounds with the ringer volume.

Actual volume is a ratio of the ringer volume and drops along with
but slower than the ringer volume, so that at lowest ringer volume,
the lockscreen sounds are still somewhat audible.

Don't start the sounds if the ringer is muted.

Bug: 5394473
Change-Id: Ifcf242b3198b4ec8f12334e26ec23ebf05a96b83

12 years agoUse SoundPool instead of Ringtone.
Marco Nelissen [Thu, 29 Sep 2011 19:49:17 +0000 (12:49 -0700)]
Use SoundPool instead of Ringtone.

The lock screen was using Ringtone for the lock/unlock sounds, which
meant two new MediaPlayers were created every time a sound needed to
be played. In addition, the Ringtone was assigned to a local variable,
which means it could go be garbage collected and finalized while it
was still playing.
For short sounds that need to be played repeatedly, SoundPool is a
better option anyway, so use that instead.
b/5382634

Change-Id: I8794cbb24604fa7c03032bd5e32ceab37a858054

12 years agoMerge "SurfaceFlinger: screenshots w/ protected buffers"
James Dong [Sun, 9 Oct 2011 16:16:37 +0000 (09:16 -0700)]
Merge "SurfaceFlinger: screenshots w/ protected buffers"

12 years agoMerge "Update Icon Guidelines and Icon Templates Pack for ICS"
Roman Nurik [Sat, 8 Oct 2011 23:23:16 +0000 (16:23 -0700)]
Merge "Update Icon Guidelines and Icon Templates Pack for ICS"