OSDN Git Service
Jeff Brown [Wed, 25 May 2011 21:43:23 +0000 (14:43 -0700)]
am
5ced76a1: Coalesce input events that arrive faster than 333Hz. (DO NOT MERGE)
* commit '
5ced76a14350db56f1a80f00076f8be3d982c389':
Coalesce input events that arrive faster than 333Hz. (DO NOT MERGE)
Jeff Brown [Wed, 25 May 2011 21:43:20 +0000 (14:43 -0700)]
am
7157f6fe: Allow batching samples onto the pending motion event. (DO NOT MERGE)
* commit '
7157f6fe13ab7e2fef44cc33c95d1c531418220f':
Allow batching samples onto the pending motion event. (DO NOT MERGE)
Jeff Brown [Wed, 25 May 2011 21:43:16 +0000 (14:43 -0700)]
am
d0132e8e: Minor Alt-TAB / Recent Apps Dialog improvements. (DO NOT MERGE)
* commit '
d0132e8e187ebf69bf4d2d6d0ef0027ff3f7a727':
Minor Alt-TAB / Recent Apps Dialog improvements. (DO NOT MERGE)
Jeff Brown [Wed, 25 May 2011 21:43:13 +0000 (14:43 -0700)]
am
eea0aa25: Support primitive ALT-TAB style navigation using Recent Apps. (DO NOT MERGE)
* commit '
eea0aa25870d49e381567f09abbfb41de52a5a32':
Support primitive ALT-TAB style navigation using Recent Apps. (DO NOT MERGE)
Jeff Brown [Tue, 24 May 2011 18:23:27 +0000 (11:23 -0700)]
Coalesce input events that arrive faster than 333Hz. (DO NOT MERGE)
Some drivers report individual finger updates one at a time
instead of all at once. When 10 fingers are down, this can
cause the framework to have to handle 10 times as many events
each with 10 times as much data. Applications like
PointerLocation would get significantly bogged down by all
of the redundant samples.
This change coalesces samples that are closely spaced in time,
before they are dispatched, as part of the motion event batching
protocol.
Increased the size of the InputChannel shared memory buffer so
that applications can catch up faster if they accumulate a
backlog of samples.
Change-Id: Ibc6abf8af027d9003011ac75caa12941080caba3
Jeff Brown [Thu, 7 Apr 2011 00:19:48 +0000 (17:19 -0700)]
Allow batching samples onto the pending motion event. (DO NOT MERGE)
This enlarges the window of opportunity for batching to
encompass time spent for the window to become ready (while it is
busy processing the last event).
Change-Id: I8870cc3081d27a4de659fb4e375f888fe966460b
Jeff Brown [Wed, 6 Apr 2011 22:33:01 +0000 (15:33 -0700)]
Minor Alt-TAB / Recent Apps Dialog improvements. (DO NOT MERGE)
Alt-TAB should have different semantics from the APP_SWITCH key
or long-press on HOME. Accordingly, remove the fallback action
for Alt-TAB and initiate the task switching behavior directly
in the policy.
Modified RecentApplicationsDialog to be more precise about the
initial modifiers that it considers to be holding the dialog.
The dialog is now dismissed by a second press on the APP_SWITCH
key or by a second long press on HOME.
Change-Id: I07e72dc4e1f3cd8edaf357c1d49e79f60d6d1604
Jeff Brown [Wed, 30 Mar 2011 00:26:44 +0000 (17:26 -0700)]
Support primitive ALT-TAB style navigation using Recent Apps. (DO NOT MERGE)
Change-Id: I0296a09519ba9417c208d197ebd996b586ee3daa
Jeff Brown [Wed, 25 May 2011 21:35:58 +0000 (14:35 -0700)]
am
36001a9f: Merge "Support chorded fallback keys. (DO NOT MERGE)" into honeycomb-mr2
* commit '
36001a9f48a1ff70504db4d2d8039f4a5f385caa':
Support chorded fallback keys. (DO NOT MERGE)
Jeff Brown [Wed, 25 May 2011 21:35:42 +0000 (14:35 -0700)]
am
c2d200d4: Merge "Fix focused application handle. (DO NOT MERGE)" into honeycomb-mr2
* commit '
c2d200d4fbf3b0a39bf7518cd9d97afec061c6bb':
Fix focused application handle. (DO NOT MERGE)
Jeff Brown [Wed, 25 May 2011 21:35:34 +0000 (14:35 -0700)]
am
266ea6b0: Merge "Optimize EventHub to process events in big chunks. (DO NOT MERGE)" into honeycomb-mr2
* commit '
266ea6b091d572eaa153e70574da97752b97180b':
Optimize EventHub to process events in big chunks. (DO NOT MERGE)
Jeff Brown [Wed, 25 May 2011 21:35:21 +0000 (14:35 -0700)]
am
85a7f99c: Merge "Refactor how timeouts are calculated. (DO NOT MERGE)" into honeycomb-mr2
* commit '
85a7f99cfe066f054d4ddf4feb737f0395c9943b':
Refactor how timeouts are calculated. (DO NOT MERGE)
Jeff Brown [Wed, 25 May 2011 21:34:57 +0000 (14:34 -0700)]
am
94e838f6: Merge "Improve VelocityTracker numerical stability. (DO NOT MERGE)" into honeycomb-mr2
* commit '
94e838f6e113f8cad30086a18f68da99976101d0':
Improve VelocityTracker numerical stability. (DO NOT MERGE)
Jeff Brown [Wed, 25 May 2011 21:34:48 +0000 (14:34 -0700)]
am
82e4373e: Merge "Use touch pad gestures to manipulate the pointer. (DO NOT MERGE)" into honeycomb-mr2
* commit '
82e4373ed3775395a23d161e58c003e82511921a':
Use touch pad gestures to manipulate the pointer. (DO NOT MERGE)
Jeff Brown [Wed, 25 May 2011 21:32:05 +0000 (14:32 -0700)]
Merge "Support chorded fallback keys. (DO NOT MERGE)" into honeycomb-mr2
Jeff Brown [Wed, 25 May 2011 21:32:00 +0000 (14:32 -0700)]
Merge "Fix focused application handle. (DO NOT MERGE)" into honeycomb-mr2
Jeff Brown [Wed, 25 May 2011 21:31:54 +0000 (14:31 -0700)]
Merge "Optimize EventHub to process events in big chunks. (DO NOT MERGE)" into honeycomb-mr2
Jeff Brown [Wed, 25 May 2011 21:31:50 +0000 (14:31 -0700)]
Merge "Refactor how timeouts are calculated. (DO NOT MERGE)" into honeycomb-mr2
Jeff Brown [Wed, 25 May 2011 21:31:44 +0000 (14:31 -0700)]
Merge "Improve VelocityTracker numerical stability. (DO NOT MERGE)" into honeycomb-mr2
Jeff Brown [Wed, 25 May 2011 21:31:38 +0000 (14:31 -0700)]
Merge "Use touch pad gestures to manipulate the pointer. (DO NOT MERGE)" into honeycomb-mr2
Joe Onorato [Wed, 25 May 2011 18:43:06 +0000 (11:43 -0700)]
am
5520610c: Merge "Make adb shell am display-size persistent." into honeycomb-mr2
* commit '
5520610cb2612054c5d0bcec9d031f7b71faa349':
Make adb shell am display-size persistent.
Joe Onorato [Wed, 25 May 2011 18:40:59 +0000 (11:40 -0700)]
Merge "Make adb shell am display-size persistent." into honeycomb-mr2
Joe Onorato [Tue, 24 May 2011 20:48:43 +0000 (13:48 -0700)]
Make adb shell am display-size persistent.
Change-Id: If3d5d18729f4e89eb7e689994deadd996fd487e9
Dianne Hackborn [Wed, 25 May 2011 18:14:13 +0000 (11:14 -0700)]
am
2a15eb55: Merge "Fix issue #
4445007: DPM initializes some values to 1, instead of 0" into honeycomb-mr2
* commit '
2a15eb559cfc18800b3e345995df76695a3ae4b2':
Fix issue #
4445007: DPM initializes some values to 1, instead of 0
Dianne Hackborn [Wed, 25 May 2011 18:10:15 +0000 (11:10 -0700)]
Merge "Fix issue #
4445007: DPM initializes some values to 1, instead of 0" into honeycomb-mr2
Amith Yamasani [Wed, 25 May 2011 18:02:01 +0000 (11:02 -0700)]
am
99a8e1d2: Merge "More preference item visual adjustments for smaller tablets. DO NOT MERGE" into honeycomb-mr2
* commit '
99a8e1d2931f4deb35c54f144de26fc6124de5fc':
More preference item visual adjustments for smaller tablets. DO NOT MERGE
Amith Yamasani [Wed, 25 May 2011 17:58:24 +0000 (10:58 -0700)]
Merge "More preference item visual adjustments for smaller tablets. DO NOT MERGE" into honeycomb-mr2
Dianne Hackborn [Wed, 25 May 2011 17:48:28 +0000 (10:48 -0700)]
Fix issue #
4445007: DPM initializes some values to 1, instead of 0
Also fix not writing the settings file when an admin is removed.
And take care of an old to-do about not removing an admin until
after it has received the broadcast about it being disabled.
Change-Id: I4ebe0ea0461222b65425b2c5438b646b572f18c8
Russell Brenner [Wed, 25 May 2011 16:05:55 +0000 (09:05 -0700)]
am
64796477: Merge "DO NOT MERGE-Refire the redraw event if webkit wasn\'t ready" into honeycomb-mr2
* commit '
64796477f61f2fb5435e5043820c67dead4ec577':
DO NOT MERGE-Refire the redraw event if webkit wasn't ready
Russell Brenner [Wed, 25 May 2011 16:00:26 +0000 (09:00 -0700)]
Merge "DO NOT MERGE-Refire the redraw event if webkit wasn't ready" into honeycomb-mr2
Dianne Hackborn [Wed, 25 May 2011 02:10:53 +0000 (19:10 -0700)]
am
c404e9b2: Merge "More compatibility mode improvements." into honeycomb-mr2
* commit '
c404e9b20165f634904d1489216d17d8e09fe696':
More compatibility mode improvements.
Dianne Hackborn [Wed, 25 May 2011 02:07:55 +0000 (19:07 -0700)]
Merge "More compatibility mode improvements." into honeycomb-mr2
Dianne Hackborn [Wed, 25 May 2011 01:11:57 +0000 (18:11 -0700)]
More compatibility mode improvements.
We now correctly adjust display metrics, fixing for example issues
seen in Barcode Scanner. In addition the decision about when to use
compatibility mode has a bug fixed where certain apps would not go
out of compatibility mode even though they should be able to.
Change-Id: I5971206323df0f11ce653d1c790c700f457f0582
Russell Brenner [Tue, 24 May 2011 20:34:39 +0000 (13:34 -0700)]
DO NOT MERGE-Refire the redraw event if webkit wasn't ready
If webkit wasn't in a drawing mood, post a WEBKIT_DRAW event to
assure that the update is not lost.
bug:
4474358
Change-Id: Ib0c4cedb10f58821f95c439824c30043a906f8b8
Amith Yamasani [Tue, 24 May 2011 22:43:14 +0000 (15:43 -0700)]
More preference item visual adjustments for smaller tablets. DO NOT MERGE
Use medium text size for locale picker.
Hide icon region if there's no icon.
Bug:
4462313
Change-Id: I8062646f31bfec753bcd476f54c8ab5b66375b5e
Jeff Brown [Tue, 29 Mar 2011 22:11:34 +0000 (15:11 -0700)]
Support chorded fallback keys. (DO NOT MERGE)
Also be more careful about canceling fallback keys during focus
transitions, when the application handles the key, or when the
policy decides to do something different.
Fixed a crash due to JNI CallObjectMethod returning an undefined
value (not null) when an exception is thrown.
Fixed a crash due to the policy trying to create a Dialog for
recent apps on the dispatcher thread. It should happen on the
policy's Looper instead.
Bug:
4187302
Change-Id: I043f82913830f411b3bb4018d6422467b6ca454f
Jeff Brown [Fri, 25 Mar 2011 18:58:46 +0000 (11:58 -0700)]
Fix focused application handle. (DO NOT MERGE)
Fix a bug where we were always setting the focused application
handle to NULL. This broke ANR processing while starting
applications and caused input events to be dropped while
starting applications.
Bug:
4174573
Change-Id: Ice7ce3a2b65219568a8227fc1383bafb294666b5
Jeff Brown [Sat, 19 Mar 2011 01:14:26 +0000 (18:14 -0700)]
Optimize EventHub to process events in big chunks. (DO NOT MERGE)
When 10 fingers are down, reduces the CPU time spent by the InputReader
thread from ~30% to ~5% on Stingray.
Change-Id: I42ee5c67b8521af715cbab43e763a4af4eb1f914
Kristian Monsen [Tue, 24 May 2011 18:19:00 +0000 (11:19 -0700)]
am
36ac304c: Merge "Fix for bug
4144936: [Proxy setting]: traffic to a bypass domain doesn\'t bypass proxy DO NOT MERGE" into honeycomb-mr2
* commit '
36ac304c6e62dbb1caaf729c70d7aa956aff63be':
Fix for bug
4144936: [Proxy setting]: traffic to a bypass domain doesn't bypass proxy DO NOT MERGE
Kristian Monsen [Tue, 24 May 2011 18:16:39 +0000 (11:16 -0700)]
Merge "Fix for bug
4144936: [Proxy setting]: traffic to a bypass domain doesn't bypass proxy DO NOT MERGE" into honeycomb-mr2
John Reck [Tue, 24 May 2011 18:06:38 +0000 (11:06 -0700)]
am
2959916b: Merge "Update the Desktop UA to Chrome" into honeycomb-mr2
* commit '
2959916b13165f56431f3993bd6b16364032af14':
Update the Desktop UA to Chrome
John Reck [Tue, 24 May 2011 18:03:11 +0000 (11:03 -0700)]
Merge "Update the Desktop UA to Chrome" into honeycomb-mr2
Kristian Monsen [Mon, 23 May 2011 13:25:27 +0000 (14:25 +0100)]
Fix for bug
4144936: [Proxy setting]: traffic to a bypass domain doesn't bypass proxy DO NOT MERGE
This is the WebView part, passing the bypass list to
the native side.
Moved some code to JWebCoreJavaBridge.java because
because sendStaticMessage only takes one argument.
Needs CL in external/webkit:
https://android-git.corp.google.com/g/#change,111108
Needs following CL in external/chromium:
https://android-git.corp.google.com/g/#change,111107
Change-Id: Ib548bdcbc9eb22bbb8f2754808840052bd3ec80e
Wink Saville [Tue, 24 May 2011 17:06:58 +0000 (10:06 -0700)]
Merge "Handle ProvideLocalInfo stk command." into honeycomb-LTE
Kazuhiro Ondo [Mon, 23 May 2011 19:29:41 +0000 (14:29 -0500)]
Handle ProvideLocalInfo stk command.
Change-Id: I4cb685f7d8e7442185e927fa0d49531b96eeab08
Irfan Sheriff [Tue, 24 May 2011 05:30:33 +0000 (22:30 -0700)]
Merge "Clear network id when invalid" into honeycomb-LTE
Jeffrey Tinker [Tue, 24 May 2011 01:15:47 +0000 (18:15 -0700)]
am
ef89cc14: Merge "Multi-repository checkin, goes with https://android-git.corp.google.com/g/111038" into honeycomb-mr2
* commit '
ef89cc14957ab631346564801841190346632ac9':
Multi-repository checkin, goes with https://android-git.corp.google.com/g/111038
Jeffrey Tinker [Tue, 24 May 2011 01:10:10 +0000 (18:10 -0700)]
Merge "Multi-repository checkin, goes with https://android-git.corp.google.com/g/111038" into honeycomb-mr2
Mike Lockwood [Tue, 24 May 2011 01:04:44 +0000 (18:04 -0700)]
am
5d78e0b8: Merge "GPS: Change NTP polling interval from 4 to 24 hours" into honeycomb-mr2
* commit '
5d78e0b8ea548da3fa88ae2190a9334297b992b6':
GPS: Change NTP polling interval from 4 to 24 hours
Mike Lockwood [Tue, 24 May 2011 01:01:50 +0000 (18:01 -0700)]
Merge "GPS: Change NTP polling interval from 4 to 24 hours" into honeycomb-mr2
Mike Lockwood [Tue, 24 May 2011 00:57:43 +0000 (20:57 -0400)]
GPS: Change NTP polling interval from 4 to 24 hours
4 hours is excessive, and we want to save bandwidth on the NTP servers
Change-Id: Ic5ac4f4a8e62167206f3f620ea51635a2ea771d6
Signed-off-by: Mike Lockwood <lockwood@android.com>
Jeff Brown [Thu, 17 Mar 2011 08:34:19 +0000 (01:34 -0700)]
Refactor how timeouts are calculated. (DO NOT MERGE)
Added a timeout mechanism to EventHub and InputReader so that
InputMappers can request timeouts to perform delayed processing of
input when needed.
Change-Id: I89c1171c9326c6e413042e3ee13aa9f7f1fc0454
Jeff Brown [Tue, 15 Mar 2011 02:39:54 +0000 (19:39 -0700)]
Improve VelocityTracker numerical stability. (DO NOT MERGE)
Replaced VelocityTracker with a faster and more accurate
native implementation. This avoids the duplicate maintenance
overhead of having two implementations.
The new algorithm requires that the sample duration be at least
10ms in order to contribute to the velocity calculation. This
ensures that the velocity is not severely overestimated when
samples arrive in bursts.
The new algorithm computes the exponentially weighted moving
average using weights based on the relative duration of successive
sample periods.
The new algorithm is also more careful about how it handles
individual pointers going down or up and their effects on the
collected movement traces. The intent is to preserve the last
known velocity of pointers as they go up while also ensuring
that other motion samples do not count twice in that case.
Bug:
4086785
Change-Id: I95054102397c4b6a9076dc6a0fc841b4beec7920
Jeff Brown [Thu, 10 Mar 2011 01:39:48 +0000 (17:39 -0800)]
Use touch pad gestures to manipulate the pointer. (DO NOT MERGE)
1. Single finger tap performs a click.
2. Single finger movement moves the pointer (hovers).
3. Button press plus movement performs click or drag.
While dragging, the pointer follows the finger that is moving
fastest. This is important if there are additional fingers
down on the touch pad for the purpose of applying force
to an integrated button underneath.
4. Two fingers near each other moving in the same direction
are coalesced as a swipe gesture under the pointer.
5. Two or more fingers moving in arbitrary directions are
transformed into touches in the vicinity of the pointer.
This makes scale/zoom and rotate gestures possible.
Added a native VelocityTracker implementation to enable intelligent
switching of the active pointer during drags.
Change-Id: I7b7ddacc724fb1306e1590dbaebb740d3130d7cd
Amith Yamasani [Tue, 24 May 2011 00:08:48 +0000 (17:08 -0700)]
am
51652f56: Merge "DO NOT MERGE. Preference activity changes to work on smaller tablet screens." into honeycomb-mr2
* commit '
51652f5674e266d62607324255517d41d225d9be':
DO NOT MERGE. Preference activity changes to work on smaller tablet screens.
Mike Lockwood [Tue, 24 May 2011 00:06:47 +0000 (17:06 -0700)]
am
988b6648: Merge "MountService: Add StorageVolume as extra in storage related broadcasts." into honeycomb-mr2
* commit '
988b6648b0138fe1294228e17164b2f1d6a4042d':
MountService: Add StorageVolume as extra in storage related broadcasts.
Amith Yamasani [Tue, 24 May 2011 00:05:47 +0000 (17:05 -0700)]
Merge "DO NOT MERGE. Preference activity changes to work on smaller tablet screens." into honeycomb-mr2
Mike Lockwood [Tue, 24 May 2011 00:04:01 +0000 (17:04 -0700)]
Merge "MountService: Add StorageVolume as extra in storage related broadcasts." into honeycomb-mr2
Irfan Sheriff [Fri, 20 May 2011 23:06:19 +0000 (16:06 -0700)]
Clear network id when invalid
Bug:
4391449
Change-Id: If0902a3fe4ad65d34dfc3d60f0e630d5e868d6a9
Mike Lockwood [Mon, 23 May 2011 17:44:04 +0000 (13:44 -0400)]
MountService: Add StorageVolume as extra in storage related broadcasts.
Change-Id: I8e1a21ae233ba9812e58b363b59a66b260a01cbf
Signed-off-by: Mike Lockwood <lockwood@android.com>
Amith Yamasani [Fri, 20 May 2011 21:59:06 +0000 (14:59 -0700)]
DO NOT MERGE. Preference activity changes to work on smaller tablet screens.
Breadcrumbs move to the action bar on certain configs.
Padding around fragments and to the left of preference items
adjusted for different display sizes.
Change-Id: Ie899f9742f4ebd7044f158b1c7db06df82ad2d75
John Reck [Mon, 23 May 2011 23:50:29 +0000 (16:50 -0700)]
Update the Desktop UA to Chrome
Bug:
4347787
Change-Id: I5117c7dbd4e73c39ed417113f12b517de5411e81
John Reck [Mon, 23 May 2011 23:50:23 +0000 (16:50 -0700)]
am
4a74eb67: Merge "DO NOT MERGE Use previous version if version is a codename" into honeycomb-mr2
* commit '
4a74eb679917797bf77a20773e0c079f5cc808e4':
DO NOT MERGE Use previous version if version is a codename
John Reck [Mon, 23 May 2011 23:47:32 +0000 (16:47 -0700)]
Merge "DO NOT MERGE Use previous version if version is a codename" into honeycomb-mr2
Dianne Hackborn [Mon, 23 May 2011 23:07:43 +0000 (16:07 -0700)]
am
40277df7: Merge "Add "television" mode." into honeycomb-mr2
* commit '
40277df7c33c0fc381eec589c768fe86de4b4404':
Add "television" mode.
John Reck [Thu, 28 Apr 2011 17:27:40 +0000 (10:27 -0700)]
DO NOT MERGE Use previous version if version is a codename
When the version is reported as a codename, use the previous version
in the user agent string.
Bug:
4347787
Change-Id: I4ed804a7334d6ca242446176ff042c4ac7938a0f
Dianne Hackborn [Mon, 23 May 2011 22:18:20 +0000 (15:18 -0700)]
Merge "Add "television" mode." into honeycomb-mr2
Dianne Hackborn [Fri, 20 May 2011 23:11:04 +0000 (16:11 -0700)]
Add "television" mode.
Change-Id: Ida1fdb61b036a8b489dbeda196fb4bc82e651b2b
Wink Saville [Mon, 23 May 2011 20:39:03 +0000 (13:39 -0700)]
Merge "Map multiple apnType to one DataConnection fixes." into honeycomb-LTE
Wink Saville [Mon, 23 May 2011 20:38:36 +0000 (13:38 -0700)]
Merge "Data Connection: Use Alarm for all delayed data retries." into honeycomb-LTE
Shimeng (Simon) Wang [Mon, 23 May 2011 19:14:04 +0000 (12:14 -0700)]
am
358d2cd9: Simplify browser pause/resume logic to avoid stuck timer.
* commit '
358d2cd96403383cfb91bb68598a4cb2fe2e170e':
Simplify browser pause/resume logic to avoid stuck timer.
Ramesh Sudini [Tue, 17 May 2011 14:05:40 +0000 (09:05 -0500)]
Map multiple apnType to one DataConnection fixes.
With current design the code maps to the same DC, but no indications go out.
With this, making it more async in nature that the request goes all the way
to DC and all the data indications would be triggered by parallel paths through DCT.
Change-Id: I4c6e64912dafe19154d910bbd0441b10ada36cff
Ramesh Sudini [Sun, 22 May 2011 14:24:28 +0000 (09:24 -0500)]
Data Connection: Use Alarm for all delayed data retries.
Change-Id: I5045c3a10808b75f1ca3174bd1c16f332d5f7fa8
Jeffrey Tinker [Sun, 22 May 2011 01:19:17 +0000 (18:19 -0700)]
Multi-repository checkin, goes with https://android-git.corp.google.com/g/111038
Fix for b/
4198446 HC - Support for Widevine Adaptive VOD
Change-Id: Ia777c80825e3416bab6ae6273fba46a194135e60
Shimeng (Simon) Wang [Mon, 23 May 2011 16:33:31 +0000 (09:33 -0700)]
Simplify browser pause/resume logic to avoid stuck timer.
The current browser pause/resume logic uses an integer count to track
the pause/resume behavior, which is mostly working fine in phone. The interger
count is usually 0 when browser is paused, and its value is usually 1
when the browser is resumed and will trigger any delayed timer.
But in tablet, where tabs can be easily created/switched/deleted, this
logic will not work well and sometimes cause resources timers get stuck.
For example, in case multiple tabs are created, and you reload one of the
tabs, when it's almost finished, switch to another tab, and hit home or power
button, at this point of time, the browser will be suspended at
Controller.java::onPause, hence the integer count will be 0; but since
the other tab is also finished after the pause, the current logic at
Controller.java::onPageFinished will call pause timer again, which will make
the integer count to be -1. Before the time the browser is resumed, it's very
possible some tabs will have some resources, such as images/flashs,
scheduled to be loaded, these will be in delayed timer in
ResourceLoadScheduler.cpp's m_requestTimer.
Now when the browser is resumed, the integer count will be 0, which will not
trigger delayed timer. Then all the new timers will be stuck as well since
old timers are not executed yet.
The fix is to simplify the pause/resume logic by just using a boolean variable
instead of error-prone integer counting.
issue:
4177932
Change-Id: Id10af9298c7be1f82222d0b94c34c5dc68403630
James Dong [Mon, 23 May 2011 16:59:59 +0000 (09:59 -0700)]
am
a5293d1c: Add some logging to track down where ANR happens during MediaPlayer._release().
* commit '
a5293d1ca4459293f4993ea39c09ea703a022844':
Add some logging to track down where ANR happens during MediaPlayer._release().
James Dong [Thu, 19 May 2011 22:56:50 +0000 (15:56 -0700)]
Add some logging to track down where ANR happens during MediaPlayer._release().
o add a log message in AwesomePlayer::reset before acquiring the lock
Change-Id: I9f228f615f99c03c394e9d0dd78c855c0b9fcfbb
related-to-bug:
4409547
Kazuhiro Ondo [Sat, 21 May 2011 07:15:20 +0000 (02:15 -0500)]
Data reconnection issue after airplane mode
ApnContext and DC were not disassociated when force
"cleanUpConnection" was called. Causing the setup
request was not happening if applyNewStatus() was
the trigger.
Change-Id: I6d73a53edb72bb9ab4ebb92fffd06e6fe1f0c4aa
Kazuhiro Ondo [Sat, 21 May 2011 00:32:24 +0000 (19:32 -0500)]
GSM DCT: Update poll stats to support multi-links
Change-Id: I654e38e71f9576ed2c4da59af563be04bc87045c
Wink Saville [Sat, 21 May 2011 17:05:26 +0000 (10:05 -0700)]
Tear down connection with unwanted linkproperty change
Make sure to disconnect the link when RIL reported link property change
which could cause connectivity issue. (i.e. IP address)
Change-Id: I6601ef53e4561bdc7d2760d00e134b8431512cb2
Wink Saville [Sat, 21 May 2011 06:31:29 +0000 (23:31 -0700)]
Fix build.
A merge accidentally included a line that was deleted.
Change-Id: I991488ace290e5eb8eef3ca73f49c07d391028f5
Wink Saville [Sat, 21 May 2011 00:23:45 +0000 (17:23 -0700)]
Merge "Notify RIL that PDP reset is triggered due to data stall" into honeycomb-LTE
John Wang [Sat, 21 May 2011 00:18:56 +0000 (17:18 -0700)]
Merge "Add UI to handle SIM swap." into honeycomb-LTE
John Wang [Tue, 10 May 2011 19:34:31 +0000 (12:34 -0700)]
Add UI to handle SIM swap.
bug:
4364964
Change-Id: Iadf466401a24dfbd638353d689e6ae89506afc97
Kazuhiro Ondo [Fri, 20 May 2011 01:42:59 +0000 (20:42 -0500)]
Notify RIL that PDP reset is triggered due to data stall
Additional deactivate cause so RIL could take intelligent action
on data stall occurrence if necessary.
Change-Id: Iae4accda879efb5679085c518117617fb16631c3
Jim Miller [Fri, 20 May 2011 23:51:49 +0000 (16:51 -0700)]
am
2c7906eb: Merge "Fix
4462474: Use new sw600dp resource target for LockScreen & SystemUI" into honeycomb-mr2
* commit '
2c7906eb392c6349e6f75fd2681310b934d6e262':
Fix
4462474: Use new sw600dp resource target for LockScreen & SystemUI
Jim Miller [Fri, 20 May 2011 23:49:08 +0000 (16:49 -0700)]
Merge "Fix
4462474: Use new sw600dp resource target for LockScreen & SystemUI" into honeycomb-mr2
Wink Saville [Fri, 20 May 2011 23:47:54 +0000 (16:47 -0700)]
Merge "Fix broken data retry" into honeycomb-LTE
Jim Miller [Fri, 20 May 2011 22:46:24 +0000 (15:46 -0700)]
Fix
4462474: Use new sw600dp resource target for LockScreen & SystemUI
Change-Id: I79d4fe54c00ecb4c4a1ad614b94bb284b9ece5cc
Adam Powell [Fri, 20 May 2011 23:02:21 +0000 (16:02 -0700)]
am
bdc26dc3: Merge "Change measurement of effective screen height for PopupWindow now that DisplayMetrics reports it without system decorations." into honeycomb-mr2
* commit '
bdc26dc34a5d848883d5acdee62f5b4403e8fe04':
Change measurement of effective screen height for PopupWindow now that DisplayMetrics reports it without system decorations.
Adam Powell [Fri, 20 May 2011 22:59:19 +0000 (15:59 -0700)]
Merge "Change measurement of effective screen height for PopupWindow now that DisplayMetrics reports it without system decorations." into honeycomb-mr2
Adam Powell [Fri, 20 May 2011 22:56:25 +0000 (15:56 -0700)]
Change measurement of effective screen height for PopupWindow now that
DisplayMetrics reports it without system decorations.
Change-Id: I57f926de1cc7170b9996d7c71aa01542baf0c673
Kazuhiro Ondo [Wed, 18 May 2011 21:50:15 +0000 (16:50 -0500)]
Fix broken data retry
Change I2b737efa6092ad1254c8dc25840ec429f5c6e882 brought side
effect that retry count is reset at every setup.
Change-Id: I6f20d2e82110b2873ff5acbb60a747fd11c09c60
Wink Saville [Fri, 20 May 2011 22:27:03 +0000 (15:27 -0700)]
Merge "Change getLteOnCdmaModeStatic to dynamically determine its result." into honeycomb-LTE
Dianne Hackborn [Fri, 20 May 2011 21:32:35 +0000 (14:32 -0700)]
am
1b144e62: Merge "Add ParcelFileDescriptor.fromFd() and .adoptFd()." into honeycomb-mr2
* commit '
1b144e625fb0d34cd680c44cbcfb2deb8a76d4c6':
Add ParcelFileDescriptor.fromFd() and .adoptFd().
Dianne Hackborn [Fri, 20 May 2011 21:28:43 +0000 (14:28 -0700)]
Merge "Add ParcelFileDescriptor.fromFd() and .adoptFd()." into honeycomb-mr2
Robert Greenwalt [Fri, 20 May 2011 21:25:29 +0000 (14:25 -0700)]
Merge "Simplfy getActive* calls in ConnectivityService" into honeycomb-LTE
Jim Miller [Fri, 20 May 2011 20:16:47 +0000 (13:16 -0700)]
am
14e45f9b: Merge "Fix
4462497: Move layouts from xlarge to large to enable 7" tablets" into honeycomb-mr2
* commit '
14e45f9b19a846af074d73b3792e35de0448ac21':
Fix
4462497: Move layouts from xlarge to large to enable 7" tablets
Jim Miller [Fri, 20 May 2011 20:16:43 +0000 (13:16 -0700)]
am
5e731140: Merge "Fix
4462474: Fixes crash on 7" tablet due to using wrong resource" into honeycomb-mr2
* commit '
5e731140f38e06c42885fa300efc30da00711c76':
Fix
4462474: Fixes crash on 7" tablet due to using wrong resource
Jim Miller [Fri, 20 May 2011 20:13:19 +0000 (13:13 -0700)]
Merge "Fix
4462497: Move layouts from xlarge to large to enable 7" tablets" into honeycomb-mr2