OSDN Git Service

android-x86/frameworks-base.git
12 years agoMerge "handle EINTR when calling sensor HAL's poll function" into ics-mr1
Mathias Agopian [Thu, 10 Nov 2011 18:33:55 +0000 (10:33 -0800)]
Merge "handle EINTR when calling sensor HAL's poll function" into ics-mr1

12 years agoMerge "Pause drawing when not visible" into ics-mr1
John Reck [Thu, 10 Nov 2011 17:19:55 +0000 (09:19 -0800)]
Merge "Pause drawing when not visible" into ics-mr1

12 years agoMerge "Send RTSP control connection keep-alive requests" into ics-mr1
Andreas Huber [Thu, 10 Nov 2011 16:48:44 +0000 (08:48 -0800)]
Merge "Send RTSP control connection keep-alive requests" into ics-mr1

12 years agoMerge "Don't believe the PV decoder's lies..." into ics-mr1
Andreas Huber [Thu, 10 Nov 2011 16:48:34 +0000 (08:48 -0800)]
Merge "Don't believe the PV decoder's lies..." into ics-mr1

12 years agoMerge "There's no point in trying to continue to decode after an error was signalled...
Andreas Huber [Thu, 10 Nov 2011 16:47:25 +0000 (08:47 -0800)]
Merge "There's no point in trying to continue to decode after an error was signalled." into ics-mr1

12 years agoMerge "DO NOT MERGE Set the initial scroll position for RTL." into ics-mr1
George Mount [Thu, 10 Nov 2011 16:32:18 +0000 (08:32 -0800)]
Merge "DO NOT MERGE Set the initial scroll position for RTL." into ics-mr1

12 years agoMerge "Fix problems in tablet silent mode." into ics-mr1
Eric Laurent [Thu, 10 Nov 2011 16:28:58 +0000 (08:28 -0800)]
Merge "Fix problems in tablet silent mode." into ics-mr1

12 years agoam e562287c: Merge "[maguro] Update COMPREHENSION-TLV parser in CAT" into ics-mr0
Wink Saville [Thu, 10 Nov 2011 15:22:35 +0000 (15:22 +0000)]
am e562287c: Merge "[maguro] Update COMPREHENSION-TLV parser in CAT" into ics-mr0

* commit 'e562287c85662457864255028cd4bc3b04f13750':
  [maguro] Update COMPREHENSION-TLV parser in CAT

12 years agoMerge "[maguro] Update COMPREHENSION-TLV parser in CAT" into ics-mr0
Wink Saville [Thu, 10 Nov 2011 15:20:55 +0000 (07:20 -0800)]
Merge "[maguro] Update COMPREHENSION-TLV parser in CAT" into ics-mr0

12 years agoMerge "Visual glitches when starting extracted text" into ics-mr1
Gilles Debunne [Thu, 10 Nov 2011 08:48:10 +0000 (00:48 -0800)]
Merge "Visual glitches when starting extracted text" into ics-mr1

12 years agoam b9619430: (-s ours) Merge "Actually 59 fps DO NOT MERGE" into ics-mr0
Dave Burke [Thu, 10 Nov 2011 07:59:32 +0000 (07:59 +0000)]
am b9619430: (-s ours) Merge "Actually 59 fps DO NOT MERGE" into ics-mr0

* commit 'b96194308dc8678e99564f038872061e4881e65a':
  Actually 59 fps DO NOT MERGE

12 years agoMerge "Actually 59 fps DO NOT MERGE" into ics-mr0
Dave Burke [Thu, 10 Nov 2011 07:58:09 +0000 (23:58 -0800)]
Merge "Actually 59 fps DO NOT MERGE" into ics-mr0

12 years agoActually 59 fps DO NOT MERGE
Dave Burke [Thu, 10 Nov 2011 07:50:45 +0000 (23:50 -0800)]
Actually 59 fps DO NOT MERGE

Change-Id: Ic70dbba81c054eaaf21f71b10e329ebf1424d4a2

12 years agoMerge "Back to 59fps" into ics-mr1
Dave Burke [Thu, 10 Nov 2011 07:49:09 +0000 (23:49 -0800)]
Merge "Back to 59fps" into ics-mr1

12 years agoMerge "Introduce an API to cancel pending/running spell check tasks" into ics-mr1
satok [Thu, 10 Nov 2011 05:26:46 +0000 (21:26 -0800)]
Merge "Introduce an API to cancel pending/running spell check tasks" into ics-mr1

12 years agoMerge "Use platform assets for brightness scrubber." into ics-mr1
Daniel Sandler [Thu, 10 Nov 2011 04:41:03 +0000 (20:41 -0800)]
Merge "Use platform assets for brightness scrubber." into ics-mr1

12 years agoam 16ee60a5: Merge "Increase DATA_STALL_ALARM_DELAY_IN_MS_DEFAULT to 6 minutes."...
Wink Saville [Thu, 10 Nov 2011 03:42:09 +0000 (03:42 +0000)]
am 16ee60a5: Merge "Increase DATA_STALL_ALARM_DELAY_IN_MS_DEFAULT to 6 minutes." into ics-mr0

* commit '16ee60a5ae0336a46a417a72bca64a1a04b0fce2':
  Increase DATA_STALL_ALARM_DELAY_IN_MS_DEFAULT to 6 minutes.

12 years agoMerge "Increase DATA_STALL_ALARM_DELAY_IN_MS_DEFAULT to 6 minutes." into ics-mr0
Wink Saville [Thu, 10 Nov 2011 03:39:39 +0000 (19:39 -0800)]
Merge "Increase DATA_STALL_ALARM_DELAY_IN_MS_DEFAULT to 6 minutes." into ics-mr0

12 years agoIncrease DATA_STALL_ALARM_DELAY_IN_MS_DEFAULT to 6 minutes.
Wink Saville [Thu, 10 Nov 2011 02:53:08 +0000 (18:53 -0800)]
Increase DATA_STALL_ALARM_DELAY_IN_MS_DEFAULT to 6 minutes.

Initially set to 3 minutes this raised the standby current
by 12.5% so changing to 6 minutes.

Bug: 5534004
Change-Id: I602f5fe4de35d0db2dbacf0c615c300c57dd2d0d

12 years agoIntroduce an API to cancel pending/running spell check tasks
satok [Wed, 2 Nov 2011 19:12:51 +0000 (04:12 +0900)]
Introduce an API to cancel pending/running spell check tasks

Bug: 5554629

Change-Id: Ifd840ea13976813639a2ee259124a21d9bb56893

12 years agoMerge "Respect user settings for spell checking language if explicitly set" into...
satok [Thu, 10 Nov 2011 02:42:48 +0000 (18:42 -0800)]
Merge "Respect user settings for spell checking language if explicitly set" into ics-mr1

12 years agoFix problems in tablet silent mode.
Eric Laurent [Tue, 8 Nov 2011 18:31:57 +0000 (10:31 -0800)]
Fix problems in tablet silent mode.

Do not enter silent mode when ALARM stream volume is changed
to 0 by volume down key: Only RING, NOTIFICATION and MUSIC
streams control silent mode.

Report correct volume (0) for NOTIFICATION stream when silent mode
is entered by changing NOTIFICATION stream volume to 0 with
volume down key.

Change-Id: I3e0816dfae40bc127cc30cca02cdca6ec19e30a4

12 years agoBack to 59fps
Dave Burke [Thu, 10 Nov 2011 00:39:21 +0000 (16:39 -0800)]
Back to 59fps

Change-Id: I8d89e5e27f1abc5a2e36cb832eb4db2ca83c2cc6

12 years agohandle EINTR when calling sensor HAL's poll function
Mathias Agopian [Thu, 10 Nov 2011 01:50:15 +0000 (17:50 -0800)]
handle EINTR when calling sensor HAL's poll function

some sensor HALs don't handle EINTR, make sure to catch it in the
sensorservice.

also if we ever encounter an error that we can't handle, we abort
which will restart us (or the whole system process if we're running
in it)

Bug: 5511741
Change-Id: I7051882b06980f778736b53d6cd021a99b5ca8d2

12 years ago[maguro] Update COMPREHENSION-TLV parser in CAT
Wink Saville [Thu, 10 Nov 2011 01:31:34 +0000 (17:31 -0800)]
[maguro] Update COMPREHENSION-TLV parser in CAT

1. Fix the ClassCastException while handling spec out 'Setup menu'
   -Ghana MTN simcard and JDI simcard sends abnormal 'setup menu'cmd.
   -Those 'setup menu' is spec out.
   -At the end of the proactive cmd,extra bytes '0x00 0x00 0x00 0x00' is
   followed.
   - That cause ClassCastException and phone crash.

Bug: 5574160
Change-Id: Ieafb6c4efd94bb4e2a39a04612a6761c958654bb
Signed-off-by: dujin.cha <dujin.cha@samsung.com>
12 years agoPause drawing when not visible
John Reck [Thu, 10 Nov 2011 00:23:07 +0000 (16:23 -0800)]
Pause drawing when not visible

 Bug: 5594608
 If onPause is called or if the view or view's window is no longer
 visible, pause webview drawing. Calls to onDraw will continue to work,
 but animations and other continual drawing will stop

Change-Id: I11640f087852d1a9a33b945ff72297fab1d25b94

12 years agoam 3e458306: (-s ours) Set the WM refresh rate to 60 Hz for tuna devices only DO...
Mathias Agopian [Thu, 10 Nov 2011 00:41:43 +0000 (00:41 +0000)]
am 3e458306: (-s ours) Set the WM refresh rate to 60 Hz for tuna devices only DO NOT MERGE

* commit '3e458306b0caf4e21294acc58286b24bda08a242':
  Set the WM refresh rate to 60 Hz for tuna devices only DO NOT MERGE

12 years agoSet the WM refresh rate to 60 Hz for tuna devices only DO
Mathias Agopian [Sat, 5 Nov 2011 01:46:11 +0000 (18:46 -0700)]
Set the WM refresh rate to 60 Hz for tuna devices only DO
NOT MERGE

This approach is TEMPORARY until we can do this properly.

Change-Id: I81a8f852df501b2faccffdae7cac954855a6c98f

12 years agoDO NOT MERGE Set the initial scroll position for RTL.
George Mount [Mon, 31 Oct 2011 20:49:03 +0000 (13:49 -0700)]
DO NOT MERGE Set the initial scroll position for RTL.

 Bug 5268793
 Webkit knows about the correct initial position for web pages.
 On initial show, scroll to the webkit position.

 Cherry-picked from master CL: I2537b84a

 External WebKit CL: I6a91b97f

Change-Id: I2537b84a30a26a79a8a0f23fe62b9ed757f9c5a4

12 years agoMerge "Fix 5555408: allow emergency button to be disabled on SIM/PUK unlock screen...
Jim Miller [Wed, 9 Nov 2011 23:19:31 +0000 (15:19 -0800)]
Merge "Fix 5555408: allow emergency button to be disabled on SIM/PUK unlock screen" into ics-mr1

12 years agoam 3124bf64: (-s ours) Merge "Import revised translations. DO NOT MERGE" into ics-mr0
Eric Fischer [Wed, 9 Nov 2011 23:18:10 +0000 (23:18 +0000)]
am 3124bf64: (-s ours) Merge "Import revised translations.  DO NOT MERGE" into ics-mr0

* commit '3124bf64404dbb90cc521abf4c7bf8d438346362':
  Import revised translations.  DO NOT MERGE

12 years agoMerge "Import revised translations. DO NOT MERGE" into ics-mr0
Eric Fischer [Wed, 9 Nov 2011 23:15:42 +0000 (15:15 -0800)]
Merge "Import revised translations.  DO NOT MERGE" into ics-mr0

12 years agoRespect user settings for spell checking language if explicitly set
satok [Wed, 2 Nov 2011 10:29:35 +0000 (19:29 +0900)]
Respect user settings for spell checking language if explicitly set

Bug: 5554116
Change-Id: I8c16d732af1fe713d30d97dfe829ff16653c7f34

12 years agoam bd4bdbec: Merge "docs: update samples toc for rs sample" into ics-mr0
Robert Ly [Wed, 9 Nov 2011 21:25:45 +0000 (21:25 +0000)]
am bd4bdbec: Merge "docs: update samples toc for rs sample" into ics-mr0

* commit 'bd4bdbec62776b1222b1f202e44f8f127bfb7bab':
  docs: update samples toc for rs sample

12 years agoMerge "docs: update samples toc for rs sample" into ics-mr0
Robert Ly [Wed, 9 Nov 2011 21:23:34 +0000 (13:23 -0800)]
Merge "docs: update samples toc for rs sample" into ics-mr0

12 years agoMerge "EGL: add deferred saving of the cache" into ics-mr1
Jamie Gennis [Wed, 9 Nov 2011 19:46:45 +0000 (11:46 -0800)]
Merge "EGL: add deferred saving of the cache" into ics-mr1

12 years agoMerge "Throw TransactionTooLargeException when Binder transaction fails. Bug: 5578022...
Jeff Brown [Wed, 9 Nov 2011 19:20:24 +0000 (11:20 -0800)]
Merge "Throw TransactionTooLargeException when Binder transaction fails. Bug: 5578022" into ics-mr1

12 years agoMerge "Making quicksettings opaque again" into ics-mr1
Peter Ng [Wed, 9 Nov 2011 18:57:23 +0000 (10:57 -0800)]
Merge "Making quicksettings opaque again" into ics-mr1

12 years agoThere's no point in trying to continue to decode after an error was signalled.
Andreas Huber [Wed, 9 Nov 2011 18:26:06 +0000 (10:26 -0800)]
There's no point in trying to continue to decode after an error was signalled.

Change-Id: I2a2410cac9444eadd85be5d104799703171f1a24
related-to-bug: 5588658

12 years agoDon't believe the PV decoder's lies...
Andreas Huber [Wed, 9 Nov 2011 18:03:07 +0000 (10:03 -0800)]
Don't believe the PV decoder's lies...

Change-Id: I97391235255afb8a4890a4ff52d4e8e9ca954f27

12 years agoMerge "Fix determining find on page overlap" into ics-mr1
John Reck [Wed, 9 Nov 2011 17:28:11 +0000 (09:28 -0800)]
Merge "Fix determining find on page overlap" into ics-mr1

12 years agoReconcile with ics-mr0-release
The Android Open Source Project [Wed, 9 Nov 2011 17:00:40 +0000 (09:00 -0800)]
Reconcile with ics-mr0-release

Change-Id: I20113f16c260f8f796a0d370ea105ee17bdaea63

12 years agoMerge "Bug 5585323 New system permission for media decode" into ics-mr1
Jean-Michel Trivi [Wed, 9 Nov 2011 16:57:43 +0000 (08:57 -0800)]
Merge "Bug 5585323 New system permission for media decode" into ics-mr1

12 years agoam 59882fb8: Merge "Add "potential" variants for PhoneNumberUtils.isEmergencyNumber...
David Brown [Wed, 9 Nov 2011 16:41:20 +0000 (16:41 +0000)]
am 59882fb8: Merge "Add "potential" variants for PhoneNumberUtils.isEmergencyNumber()" into ics-mr0

* commit '59882fb8e0ba7c47b780d62c9a9c46b63d779677':
  Add "potential" variants for PhoneNumberUtils.isEmergencyNumber()

12 years agoam 19998120: Merge "Bug 5478024 drop after decode if can\'t drop before" into ics-mr0
Glenn Kasten [Wed, 9 Nov 2011 16:41:19 +0000 (16:41 +0000)]
am 19998120: Merge "Bug 5478024 drop after decode if can\'t drop before" into ics-mr0

* commit '19998120f53caceb620f138c6eea182f1e693660':
  Bug 5478024 drop after decode if can't drop before

12 years agoam fee5f29b: Merge "Fix exception when sending multi-page SMS with Turkish characters...
Jake Hamby [Wed, 9 Nov 2011 16:40:59 +0000 (16:40 +0000)]
am fee5f29b: Merge "Fix exception when sending multi-page SMS with Turkish characters." into ics-mr0

* commit 'fee5f29b22f99bd2891fb2af54669f20832fb851':
  Fix exception when sending multi-page SMS with Turkish characters.

12 years agoMerge "Fix regression for SoundPool playback" into ics-mr1
Eric Laurent [Wed, 9 Nov 2011 16:27:18 +0000 (08:27 -0800)]
Merge "Fix regression for SoundPool playback" into ics-mr1

12 years agoUse platform assets for brightness scrubber.
Daniel Sandler [Wed, 9 Nov 2011 15:34:24 +0000 (10:34 -0500)]
Use platform assets for brightness scrubber.

Bug: 5544665
Change-Id: I063f930b15668c06a30b857e477f3227d1fe526f

12 years agoam 04217efb: Merge "Fix 5514230: preventing null window token from occurring" into...
Brian Colonna [Wed, 9 Nov 2011 15:35:12 +0000 (15:35 +0000)]
am 04217efb: Merge "Fix 5514230: preventing null window token from occurring" into ics-mr0

* commit '04217efb8eaebdbd846671a2f743fa3e960b5dde':
  Fix 5514230: preventing null window token from occurring

12 years agomerge in ics-mr0-release history after reset to ics-mr0
The Android Automerger [Wed, 9 Nov 2011 14:28:43 +0000 (06:28 -0800)]
merge in ics-mr0-release history after reset to ics-mr0

12 years agoVisual glitches when starting extracted text
Gilles Debunne [Wed, 9 Nov 2011 08:48:40 +0000 (09:48 +0100)]
Visual glitches when starting extracted text

Partially addresses Bug 5547923

In landscape, tapping on the text
1. starts extracted text mode
2. displays the cursor handle or the selection popup window.

As a result, some ghost effects and race conditions create an
unpleasing visual experience.

Fixed this by not doing 2. in case extracted mode will start.

The drawback of this quicl fix is that the user will have to
tap again to get the handle/suggestion. That can be fixed later
if needed.

Change-Id: I10e1d8399bb35e5b2cd5cba1295f7d29d051cae0

12 years agoMerge "Bug 5575396: close spell session on language change" into ics-mr1
Gilles Debunne [Wed, 9 Nov 2011 08:26:46 +0000 (00:26 -0800)]
Merge "Bug 5575396: close spell session on language change" into ics-mr1

12 years agoMerge "Bootstrap stats before registering listeners." into ics-mr1
Jeff Sharkey [Wed, 9 Nov 2011 07:43:58 +0000 (23:43 -0800)]
Merge "Bootstrap stats before registering listeners." into ics-mr1

12 years agoMerge "Make operation counts monotonically increase." into ics-mr1
Jeff Sharkey [Wed, 9 Nov 2011 07:43:38 +0000 (23:43 -0800)]
Merge "Make operation counts monotonically increase." into ics-mr1

12 years agoMerge "Dispatch alerts through background thread." into ics-mr1
Jeff Sharkey [Wed, 9 Nov 2011 07:43:23 +0000 (23:43 -0800)]
Merge "Dispatch alerts through background thread." into ics-mr1

12 years agoMerge "Make policy data enabled flag static." into ics-mr1
Jeff Sharkey [Wed, 9 Nov 2011 07:43:12 +0000 (23:43 -0800)]
Merge "Make policy data enabled flag static." into ics-mr1

12 years agoThrow TransactionTooLargeException when Binder transaction fails.
Jeff Brown [Mon, 7 Nov 2011 20:50:08 +0000 (12:50 -0800)]
Throw TransactionTooLargeException when Binder transaction fails.
Bug: 5578022

Previously, Binder transactions failed silently, which caused
problems because apps would carry on assuming that the operation
had succeeded.  Often, the apps would crash soon due to a violated
invariant, but sometimes they managed to do some damage first...

Change-Id: Ia9cc98b3b761a8160e7c4e87507860b5912c0451

12 years agoMerge "Add day of week." into ics-mr1
Daniel Sandler [Wed, 9 Nov 2011 04:35:45 +0000 (20:35 -0800)]
Merge "Add day of week." into ics-mr1

12 years agoFix regression for SoundPool playback
Eric Laurent [Wed, 9 Nov 2011 02:10:16 +0000 (18:10 -0800)]
Fix regression for SoundPool playback

Commit 19ddf0eb introduced a problem with applications (like SoundPool)
relying on an underrun condition to detect end of playback instead of
stopping the track when all data is written.
AudioFlinger would keep waiting for new data in case of partial buffer
filling and never reach the underrun condition.

Added a mechanism to wait no more than once if not enough frames are present
in the track buffer.

Issue 5585490.

Change-Id: I131e605ff6070831a01ddf734e68459e3bf2354b

12 years agoMerge "Add "potential" variants for PhoneNumberUtils.isEmergencyNumber()" into ics-mr0
David Brown [Wed, 9 Nov 2011 02:25:30 +0000 (18:25 -0800)]
Merge "Add "potential" variants for PhoneNumberUtils.isEmergencyNumber()" into ics-mr0

12 years agoBootstrap stats before registering listeners.
Jeff Sharkey [Wed, 9 Nov 2011 02:08:48 +0000 (18:08 -0800)]
Bootstrap stats before registering listeners.

Also move ISE to handled NonMonotonicException.

Bug: 5570872
Change-Id: I793f349287ef5589185f117dfbec6f1fad73a661

12 years agoMerge "decrease the light-sensor rate to 1Hz (from ~15Hz) for ALS purposes." into...
Mathias Agopian [Wed, 9 Nov 2011 02:01:21 +0000 (18:01 -0800)]
Merge "decrease the light-sensor rate to 1Hz (from ~15Hz) for ALS purposes." into ics-mr1

12 years agoEGL: add deferred saving of the cache
Jamie Gennis [Wed, 9 Nov 2011 01:59:36 +0000 (17:59 -0800)]
EGL: add deferred saving of the cache

This change causes any insertions into the EGL cache to trigger an
attempt to save the cache contents to disk.  The save operation is
deferred to allow multiple cache insertions to be batched up.

Change-Id: I6cfec9c0dbbef94d3f8880860e2a365dccc296c7

12 years agoMerge "Don't crash if there is no connectivity service." into ics-mr1
Dianne Hackborn [Wed, 9 Nov 2011 01:58:26 +0000 (17:58 -0800)]
Merge "Don't crash if there is no connectivity service." into ics-mr1

12 years agoDispatch alerts through background thread.
Jeff Sharkey [Tue, 8 Nov 2011 23:43:12 +0000 (15:43 -0800)]
Dispatch alerts through background thread.

Bug: 5557659
Change-Id: Icc3ad476a98ec3430b33f915723ffcc36ccbfae7

12 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 9 Nov 2011 01:36:34 +0000 (17:36 -0800)]
Import revised translations.  DO NOT MERGE

Change-Id: I46ccb7f02a64e3e6c7597b0dc295450b4f5625e6

12 years agoMake operation counts monotonically increase.
Jeff Sharkey [Wed, 9 Nov 2011 01:35:28 +0000 (17:35 -0800)]
Make operation counts monotonically increase.

Bug: 5585704
Change-Id: I5247a68acdb209a4ef0f5aac18944595c295e6ca

12 years agoDon't crash if there is no connectivity service.
Dianne Hackborn [Wed, 9 Nov 2011 01:33:59 +0000 (17:33 -0800)]
Don't crash if there is no connectivity service.

Change-Id: I5f991896125fda22ff99b98a6aca244adbb17449

12 years agoMerge "NumberPicker incorectly enforcing minimal width and height." into ics-mr1
Svetoslav Ganov [Wed, 9 Nov 2011 01:33:49 +0000 (17:33 -0800)]
Merge "NumberPicker incorectly enforcing minimal width and height." into ics-mr1

12 years agoMerge "Bug 5478024 drop after decode if can't drop before" into ics-mr0
Glenn Kasten [Wed, 9 Nov 2011 01:31:32 +0000 (17:31 -0800)]
Merge "Bug 5478024 drop after decode if can't drop before" into ics-mr0

12 years agoMaking quicksettings opaque again
Peter Ng [Wed, 9 Nov 2011 00:54:04 +0000 (16:54 -0800)]
Making quicksettings opaque again

Bug:5522957
Change-Id: I27e9e78f4e706333f9a363b3d97ae6f602321173

12 years agoMerge "Avoid inconsistent state when remove fails." into ics-mr1
Jeff Sharkey [Wed, 9 Nov 2011 01:27:03 +0000 (17:27 -0800)]
Merge "Avoid inconsistent state when remove fails." into ics-mr1

12 years agoMerge "Handle EXTRA_DOCK_STATE_LE_DESK and HE_DESK. Bug: 5569662" into ics-mr1
Jeff Brown [Wed, 9 Nov 2011 01:22:06 +0000 (17:22 -0800)]
Merge "Handle EXTRA_DOCK_STATE_LE_DESK and HE_DESK. Bug: 5569662" into ics-mr1

12 years agoMerge "SensorService now always clamps the requested rate" into ics-mr1
Mathias Agopian [Wed, 9 Nov 2011 01:20:59 +0000 (17:20 -0800)]
Merge "SensorService now always clamps the requested rate" into ics-mr1

12 years agodecrease the light-sensor rate to 1Hz (from ~15Hz) for ALS purposes.
Mathias Agopian [Wed, 9 Nov 2011 01:18:41 +0000 (17:18 -0800)]
decrease the light-sensor rate to 1Hz (from ~15Hz) for ALS purposes.

the intent here is to save power.

Change-Id: I6cc1cae865cc46551afcfcec9ca03faaa5b6936f

12 years agoMake policy data enabled flag static.
Jeff Sharkey [Wed, 9 Nov 2011 00:30:37 +0000 (16:30 -0800)]
Make policy data enabled flag static.

For devices with both CDMA and GSM stack, ConnectivityService only
connects with the GSM variant.  Making this flag static communicates
the policy state between all DCT.

Bug: 5586935
Change-Id: Iff0384027303470dd382d5173558d2d091ce4bf6

12 years agoMerge "Add drop box reports of low memory." into ics-mr1
Dianne Hackborn [Wed, 9 Nov 2011 01:01:05 +0000 (17:01 -0800)]
Merge "Add drop box reports of low memory." into ics-mr1

12 years agoMerge "Remove flicker from WebTextView" into ics-mr1
Michael Kolb [Wed, 9 Nov 2011 00:34:53 +0000 (16:34 -0800)]
Merge "Remove flicker from WebTextView" into ics-mr1

12 years agoMerge "SurfaceTexture: unhide setDefaultBufferSize" into ics-mr1
Jamie Gennis [Wed, 9 Nov 2011 00:15:26 +0000 (16:15 -0800)]
Merge "SurfaceTexture: unhide setDefaultBufferSize" into ics-mr1

12 years agoMerge changes I18e5e789,I5cbaae2d into ics-mr1
Jamie Gennis [Wed, 9 Nov 2011 00:14:44 +0000 (16:14 -0800)]
Merge changes I18e5e789,I5cbaae2d into ics-mr1

* changes:
  EGL: implement loading and saving the cache
  EGL: use an in-memory the blob cache

12 years agoMerge "Fix an issue where we could wait for a non-existing transaction" into ics-mr1
Mathias Agopian [Tue, 8 Nov 2011 23:55:55 +0000 (15:55 -0800)]
Merge "Fix an issue where we could wait for a non-existing transaction" into ics-mr1

12 years agoEGL: implement loading and saving the cache
Jamie Gennis [Tue, 8 Nov 2011 01:03:54 +0000 (17:03 -0800)]
EGL: implement loading and saving the cache

This change adds support for saving and loading the contents of the EGL
cache.  It also adds some simple tests for the EGL cache.

Change-Id: I18e5e789e0897a0783d29d1c1e64d26de2dd44c4

12 years agoAdd "potential" variants for PhoneNumberUtils.isEmergencyNumber()
David Brown [Tue, 8 Nov 2011 19:11:56 +0000 (11:11 -0800)]
Add "potential" variants for PhoneNumberUtils.isEmergencyNumber()

The phone app needs a way to distinguish between (a) numbers that are
definitely emergency numbers, and (b) numbers that *might* result in an
emergency call being dialed, but aren't specifically emergency numbers
themselves.

(The phone app needs this distinction in order to enforce the restriction
that 3rd party apps should not be allowed to make emergency calls using
the ACTION_CALL intent, while still making sure that the in-call UI only
displays the "emergency call" state for numbers that are *definitely*
emergency numbers.  See bug 5493790 for the full details;)

So this change adds a full set of "isPotentialEmergencyNumber()" methods
to go along with the "isEmergencyNumber()" methods we've had all along.
The "potential" variants behave identically to the original methods,
*except* that they ultimately use number.startsWith() rather than
number.equals() when comparing against the list of emergency numbers.

TESTED:

- Unit test 'PhoneNumberUtilsTest#testIsEmergencyNumber' passes.
  (The PhoneNumberUtilsTest class doesn't pass in its entirety, but it was
  broken before this change also.)

- Also see the commit description of change
  Ib949fea3c0ce6b341a90e617a03ba3f22c69018b for the exact tests I ran
  against the phone app.

This change should be submitted along with
  Change-Id: Ib949fea3c0ce6b341a90e617a03ba3f22c69018b
in apps/Phone (but this change must go in first to avoid breaking the
build.)

Bug: 5493790
Change-Id: Ic528cfcc555734cdaf4ca8a18a50199771ba49b1

12 years agoMerge "Convert soft ap config store to state machine" into ics-mr1
Irfan Sheriff [Tue, 8 Nov 2011 23:51:43 +0000 (15:51 -0800)]
Merge "Convert soft ap config store to state machine" into ics-mr1

12 years agoConvert soft ap config store to state machine
Irfan Sheriff [Mon, 7 Nov 2011 18:34:54 +0000 (10:34 -0800)]
Convert soft ap config store to state machine

- Create thread when needed
- asynchronous interaction with wifi state machine

Bug: 5587391
Change-Id: Ie6d01b5a6b398a3fa12c384920a473e242443131

12 years agoAdd drop box reports of low memory.
Dianne Hackborn [Tue, 8 Nov 2011 19:53:28 +0000 (11:53 -0800)]
Add drop box reports of low memory.

We are tagging these as "watchdog" to make them visible in the
reporting tools.

Also new am command to kill all background processes, mostly to make
it easier to test this stuff.

Change-Id: Ib9dc4747cd8bd44156fdf11d6a087cd4272203eb

12 years agoSend RTSP control connection keep-alive requests
Andreas Huber [Tue, 8 Nov 2011 23:31:23 +0000 (15:31 -0800)]
Send RTSP control connection keep-alive requests

default to 60 secs unless overridden by server's session-id response.

Change-Id: I7c3aff5b787dbb57cc0dccf9db3c75e5cf7e778c
related-to-bug: 5562303

12 years agoFix determining find on page overlap
John Reck [Tue, 8 Nov 2011 23:00:17 +0000 (15:00 -0800)]
Fix determining find on page overlap

 Bug: 5572138

Change-Id: Ie528e1cf9df363307018e01a898e8d9dfff1cd45

12 years agoMerge "Unhide social stream APIs for Contacts." into ics-mr1
Dave Santoro [Tue, 8 Nov 2011 22:48:21 +0000 (14:48 -0800)]
Merge "Unhide social stream APIs for Contacts." into ics-mr1

12 years agoHandle EXTRA_DOCK_STATE_LE_DESK and HE_DESK.
Jeff Brown [Tue, 8 Nov 2011 22:44:16 +0000 (14:44 -0800)]
Handle EXTRA_DOCK_STATE_LE_DESK and HE_DESK.
Bug: 5569662

Change-Id: Ib8cb9fb68a1a2d3520f34f7fbf6f002dfb91809d

12 years agoMerge "Fix the action bar menu layout to use the correct divider drawable." into...
Adam Powell [Tue, 8 Nov 2011 22:32:29 +0000 (14:32 -0800)]
Merge "Fix the action bar menu layout to use the correct divider drawable." into ics-mr1

12 years agoRemove flicker from WebTextView
Michael Kolb [Tue, 8 Nov 2011 22:21:06 +0000 (14:21 -0800)]
Remove flicker from WebTextView

   Bug: 5522186

   Update LayoutParams when position changed only

Change-Id: I54beb489c261090d7ba258354449501b771fd98e

12 years agoFix the action bar menu layout to use the correct divider drawable.
Adam Powell [Tue, 8 Nov 2011 21:33:58 +0000 (13:33 -0800)]
Fix the action bar menu layout to use the correct divider drawable.

Change-Id: I9f9fe8318cbad3cfe4e34a37204a6c82a2e9a0c6

12 years agoMerge "Fix exception when sending multi-page SMS with Turkish characters." into ics-mr0
Jake Hamby [Tue, 8 Nov 2011 21:22:34 +0000 (13:22 -0800)]
Merge "Fix exception when sending multi-page SMS with Turkish characters." into ics-mr0

12 years agoMerge "Change slide-to-camera intent to INTENT_ACTION_STILL_IMAGE_CAMERA." into ics-mr1
Wei Huang [Tue, 8 Nov 2011 21:16:02 +0000 (13:16 -0800)]
Merge "Change slide-to-camera intent to INTENT_ACTION_STILL_IMAGE_CAMERA." into ics-mr1

12 years agoAvoid inconsistent state when remove fails.
Jeff Sharkey [Tue, 8 Nov 2011 21:04:22 +0000 (13:04 -0800)]
Avoid inconsistent state when remove fails.

Bug: 5433432
Change-Id: Ia388fda006cbda09b5947fc61cec6353f75a3805

12 years agoMerge "Fix 5514230: preventing null window token from occurring" into ics-mr0
Brian Colonna [Tue, 8 Nov 2011 20:51:36 +0000 (12:51 -0800)]
Merge "Fix 5514230: preventing null window token from occurring" into ics-mr0

12 years agoMerge "Make public APIs of ACTION_UUID, EXTRA_UUID, getUuids, and fetchUuidsWithSdp...
Matthew Xie [Tue, 8 Nov 2011 20:19:37 +0000 (12:19 -0800)]
Merge "Make public APIs of ACTION_UUID, EXTRA_UUID, getUuids, and fetchUuidsWithSdp" into ics-mr1

12 years agoMake public APIs of ACTION_UUID, EXTRA_UUID, getUuids, and fetchUuidsWithSdp
Matthew Xie [Tue, 8 Nov 2011 18:58:12 +0000 (10:58 -0800)]
Make public APIs of ACTION_UUID, EXTRA_UUID, getUuids, and fetchUuidsWithSdp

Give APP a way to find out if a service is supported by a remote device
bug 5487202

Change-Id: I5a2d050cf24d945e1c9875963c34177ed1ce773a

12 years agoMerge "Cleanup remote execution of perf tests." into ics-mr1
Dianne Hackborn [Tue, 8 Nov 2011 19:52:58 +0000 (11:52 -0800)]
Merge "Cleanup remote execution of perf tests." into ics-mr1