88312 Commits

Author SHA1 Message Date
Irfan Sheriff
c48ca657f8 Merge "Fix driver stop handling" into jb-mr1-dev 2012-10-23 10:45:42 -07:00
Baligh Uddin
eac76dc09e am 21ce854b: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '21ce854b50667bf675bc36ce0db1a3d6f0a2ab92':
  Import translations. DO NOT MERGE
2012-10-23 10:42:19 -07:00
Baligh Uddin
21ce854b50 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-23 10:39:27 -07:00
Baligh Uddin
7fcea3eecc Merge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev 2012-10-23 10:37:59 -07:00
Irfan Sheriff
e6464af000 Fix driver stop handling
Defer supplicant state change event so we do not miss it

Bug: 7394390
Change-Id: Ibae6cef6be42a6cb45dc20ba4fa5060d8e459217
2012-10-23 10:36:51 -07:00
Daniel Sandler
d9a4371d11 am 365ece1d: Merge "Dreams/Sleep Mode is now Daydreams." into jb-mr1-dev
* commit '365ece1dd04df936b51e739ba3dde5fb94b3e527':
  Dreams/Sleep Mode is now Daydreams.
2012-10-23 10:35:12 -07:00
Baligh Uddin
8cd4ef8f7b Import translations. DO NOT MERGE
Change-Id: I349b6bc4c17141a0ac74e50b573382a2cf694f7e
Auto-generated-cl: translation import
2012-10-23 10:34:11 -07:00
Baligh Uddin
b9d2bd6854 Import translations. DO NOT MERGE
Change-Id: I540a08d72253a205d6071340c5d7519a08450ef3
Auto-generated-cl: translation import
2012-10-23 10:32:41 -07:00
Daniel Sandler
365ece1dd0 Merge "Dreams/Sleep Mode is now Daydreams." into jb-mr1-dev 2012-10-23 10:31:23 -07:00
Justin Ho
bab415da35 am 5d6562d3: Merge "Avoid mentioning hidden API in docs." into jb-mr1-dev
* commit '5d6562d34cb088f3468021b8bbdf8d75b68dca68':
  Avoid mentioning hidden API in docs.
2012-10-23 10:05:28 -07:00
Baligh Uddin
1c8e4dc101 Import translations. DO NOT MERGE
Change-Id: I6d7f8dec6e1115a4586befbaa302eafe606fb901
Auto-generated-cl: translation import
2012-10-23 10:03:00 -07:00
Baligh Uddin
bf00fc556f Import translations. DO NOT MERGE
Change-Id: I7664310dd790906eb6a66725048f4fd77fa7d798
Auto-generated-cl: translation import
2012-10-23 09:58:07 -07:00
Justin Ho
5d6562d34c Merge "Avoid mentioning hidden API in docs." into jb-mr1-dev 2012-10-23 09:41:48 -07:00
Irfan Sheriff
5e7fcf372e am bf310d1f: Merge "Fix issues shown on CTS tests" into jb-mr1-dev
* commit 'bf310d1f6ef4ac167f66a4e31724c7766981bd84':
  Fix issues shown on CTS tests
2012-10-23 09:39:42 -07:00
Jeff Sharkey
b76a0c40d4 Avoid mentioning hidden API in docs.
Change-Id: If83c179ec0d1b038e94a7fdca386c8ddf324e391
2012-10-23 09:37:54 -07:00
Irfan Sheriff
bf310d1f6e Merge "Fix issues shown on CTS tests" into jb-mr1-dev 2012-10-23 09:36:48 -07:00
Irfan Sheriff
51aec5ed5f Fix issues shown on CTS tests
Reset timeout for single interface architecture

Fix persistence reinvocation handling on the receive side

Bug: 7379336
Change-Id: Iacca0bd6dcbeb42af63bf2078e8cf3126e4e74a7
2012-10-23 09:25:37 -07:00
Jeff Sharkey
c47156781c am 1c8135ad: Merge "Update docs for multi-user storage behavior." into jb-mr1-dev
* commit '1c8135adba37ac09fe661180237df446611daa4b':
  Update docs for multi-user storage behavior.
2012-10-23 09:10:43 -07:00
Jeff Sharkey
1c8135adba Merge "Update docs for multi-user storage behavior." into jb-mr1-dev 2012-10-23 09:08:42 -07:00
Daniel Sandler
57e71ebba1 am 0058f4ed: Merge "Reset ExpandHelper when the panel is collapsed." into jb-mr1-dev
* commit '0058f4ed50e5b4bfc8361c18b87115160d7132bb':
  Reset ExpandHelper when the panel is collapsed.
2012-10-23 08:37:09 -07:00
Daniel Sandler
0058f4ed50 Merge "Reset ExpandHelper when the panel is collapsed." into jb-mr1-dev 2012-10-23 08:34:57 -07:00
Daniel Sandler
ac47ff70c3 Reset ExpandHelper when the panel is collapsed.
Fixes a rather unpleasant bug in which the ExpandHelper
could get locked in "expanding" mode if the panel was closed
(for example, with the back button) while you were in the
middle of an expand gesture. In this situation ExpandHelper
would hungrily eat all future touch events destined for the
notification panel, making it impossible to click or even
clear any notifications.

Bug: 7330828
Change-Id: I9c493db5e8fd8ef1aca53f77820780d60fa4e5a7
2012-10-23 10:41:44 -04:00
John Spurlock
b64150e7c0 am 780a13b0: Merge "Fix nav bar glitch when quickly turning screen off then on." into jb-mr1-dev
* commit '780a13b0f43fa5590bb22dc399d9faaf316d66f5':
  Fix nav bar glitch when quickly turning screen off then on.
2012-10-23 04:14:03 -07:00
John Spurlock
780a13b0f4 Merge "Fix nav bar glitch when quickly turning screen off then on." into jb-mr1-dev 2012-10-23 04:10:29 -07:00
Daniel Sandler
bd9cafa433 Dreams/Sleep Mode is now Daydreams.
Bug: 7395321
Change-Id: I3173cd9205df94217911a2d432d1be1db9e3d539
2012-10-23 01:21:33 -04:00
Romain Guy
41308e2936 Properly draw the window background on window resize
Bug #7385090

This change gets rid of two silly asumptions:
- That a layer needs to be cleared with opaque black (it shouldn't,
it's already cleared to transparent and the view will cover it up
with its own background)
- The the clip should be dirty at the beginning of a frame only
when the render target is opaque

Change-Id: I415b6d3cab196057fb0281419a53fef601a44e28
2012-10-22 20:02:43 -07:00
Andy McFadden
d11ca4dd2c Improve systrace tag propagation
The native side of the tracing code latches a copy of the tags from a
system property on first use.  The Java-side tracing code latches a
copy of the native's copy during class init.  The tracing code is
preloaded by the zygote, which means we get the flags during zygote
init and don't update them when we launch a new app.

This changes the Java sources to also defer initialization until
first use, so that newly-launched apps will use the current value
of the system property.

Bug 7323431

Change-Id: I7db048ec54345ae9565088a35c2e2b4c82f993fd
2012-10-22 19:35:39 -07:00
Jeff Brown
e941b1e27f Improve auto-brightness hysteresis.
Reintroduced the stability time heuristic which requires brightness
to remain significantly above or below the currently accepted
ambient brightnes before effecting a brightness change.  The
heuristic has the nice property of preventing light sensor noise
from causing oscillations in brightness even when the noise has
a relatively large magnitude (such as in low light environments).

The time bound and filter thresholds are current set so that
brightness increases typically occur within 5 seconds of a change
in the ambient environment.  Decreases take somewhat longer and
typically occur within 10 seconds.

Changed the timing for brightness animations when the screen is
being dimmed due to a pending user activity timeout.  The screen
now dims slowly but then brightens rapidly when touched.
Previously the screen dimmed quickly and brightened slowly which
felt somewhat unresponsive.

Fixed a problem where a brightness change might not occur because
the light sensor had not reported a new value in a long time.
Now we synthesize measurements when needed to ensure that a
transition will take place if appropriate.

Bug: 7387800
Change-Id: I998df2fec59922042a41a1ba4af97ea52c0bd02a
2012-10-22 18:56:39 -07:00
Kenny Root
4525f5b69c Check non-primary user dirs during package scan
During package scan, only the primary user data directories were
checked. If the secondary user didn't have an application directory, it
would happily ignore it. The app would then crash upon startup.

Bug: 7391882
Change-Id: I1fa92aa27386104d4ac6bc5dc92bfbf2e7dfac9f
2012-10-22 18:48:24 -07:00
erin rosenthal
76c5144ec7 am 36425d19: Merge "Catch badly formed URLs in WebView accessibility injector." into jb-mr1-dev
* commit '36425d19fc578c2042098d2045092990a811d0e6':
  Catch badly formed URLs in WebView accessibility injector.
2012-10-22 17:56:27 -07:00
erin rosenthal
36425d19fc Merge "Catch badly formed URLs in WebView accessibility injector." into jb-mr1-dev 2012-10-22 17:53:27 -07:00
Eric Laurent
5624b30b19 am 3ac692f5: Merge "reduce camera sound volume." into jb-mr1-dev
* commit '3ac692f5114f058c82ca3855bdd36321f1540be5':
  reduce camera sound volume.
2012-10-22 17:26:04 -07:00
Eric Laurent
3ac692f511 Merge "reduce camera sound volume." into jb-mr1-dev 2012-10-22 17:23:20 -07:00
Amith Yamasani
9d20663d46 am 0b828ee0: Merge "Set the correct flags for brightness dialog to show on all users" into jb-mr1-dev
* commit '0b828ee0d53980d6f5ce62248cab57f177921fa8':
  Set the correct flags for brightness dialog to show on all users
2012-10-22 16:30:00 -07:00
Michael Jurka
be26411fec am 4ce82df5: Merge "Solve issue where labels in Recents were blank" into jb-mr1-dev
* commit '4ce82df5cc95826d499252f897573f79b514a347':
  Solve issue where labels in Recents were blank
2012-10-22 16:26:34 -07:00
Eric Laurent
ef2faae5af reduce camera sound volume.
Reduce new video start and stop sounds volume to
match camera shutter sound volume.

Bug 7377030.

Change-Id: Ic42b36f063006da30dd870fa5ed9c8c5361aa043
2012-10-22 16:26:14 -07:00
Amith Yamasani
0b828ee0d5 Merge "Set the correct flags for brightness dialog to show on all users" into jb-mr1-dev 2012-10-22 16:25:22 -07:00
Michael Jurka
4ce82df5cc Merge "Solve issue where labels in Recents were blank" into jb-mr1-dev 2012-10-22 16:23:44 -07:00
Michael Jurka
fe09ad80bc Solve issue where labels in Recents were blank
Bug: 7352816

Change-Id: Ic0d7f35191ce973a71744aa6ea81351b7bdb8d50
2012-10-22 16:14:26 -07:00
Kenny Root
55708a9dce am e03c0244: Merge "Clear data deletes too much" into jb-mr1-dev
* commit 'e03c0244717093e0fbc9b05073d3ae3dbd8fcea5':
  Clear data deletes too much
2012-10-22 16:14:14 -07:00
Kenny Root
e03c024471 Merge "Clear data deletes too much" into jb-mr1-dev 2012-10-22 16:11:45 -07:00
Amith Yamasani
7ecdc7fd9b Set the correct flags for brightness dialog to show on all users
Earlier fix was writing to the wrong flags.

Bug: 7393822
Change-Id: Ifd51fb30de00be6de381980a05f2769c4283b515
2012-10-22 16:09:58 -07:00
Raph Levien
9defd0663e am 74437532: Merge "Fix for bug: Gmail (and other places): cursor placed on top of letter" into jb-mr1-dev
* commit '74437532fe2a3e9ebd15c61327fd3f2b68c299b3':
  Fix for bug: Gmail (and other places): cursor placed on top of letter
2012-10-22 15:59:22 -07:00
Raph Levien
74437532fe Merge "Fix for bug: Gmail (and other places): cursor placed on top of letter" into jb-mr1-dev 2012-10-22 15:56:01 -07:00
Chet Haase
6534dd0275 am 74261d84: Merge "Don\'t null the reference to Bitmap pixels until we\'re really ready" into jb-mr1-dev
* commit '74261d847f64ccfeba0a7f08f6c59473a3b6647d':
  Don't null the reference to Bitmap pixels until we're really ready
2012-10-22 15:49:22 -07:00
Chet Haase
74261d847f Merge "Don't null the reference to Bitmap pixels until we're really ready" into jb-mr1-dev 2012-10-22 15:46:43 -07:00
Baligh Uddin
177d984ab9 Merge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev 2012-10-22 15:33:14 -07:00
Baligh Uddin
8d98421ff5 am 5be59670: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '5be59670c26edf27bfdfdf0430b535dda718bd9d':
  Import translations. DO NOT MERGE
2012-10-22 15:31:49 -07:00
Baligh Uddin
5be59670c2 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-22 15:28:42 -07:00
Chet Haase
547e66531d Don't null the reference to Bitmap pixels until we're really ready
A change in the VM triggers a native memory error more aggressively than before,
showing that there's a bug in the logic of recycling bitmaps. Since the pixel
memory is allocated on the Java heap, nulling out the reference to that memory
in the Java level Bitmap object can cause that memory to get collected at any time.
Meanwhile, we may have a reference to that memory at the native level for rendering
purposes, causing an error if/when we access that memory after it has been collected
by the VM.

The fix is to avoid setting the reference to the pixels to null unless we are
not referring to it in native code. This is determined at the time we call
recycle() - we return a boolean to indicate whether the native code is still
using the memory. if not, the Java code can null out the reference and allow the
VM to collect it. Otherwise, it will get collected later when the encompassing
Bitmap object is collected.

Issue #7339156 HTML5 tests crash the app (Vellamo)

Change-Id: I3a0d6b9a6c5dd3b86cc2b0ff7719007e774b5e3c
2012-10-22 15:25:19 -07:00