OSDN Git Service

android-x86/frameworks-base.git
11 years agoam 799916e6: Merge "Revert "Check non-primary user dirs during package scan"" into...
Dave Burke [Wed, 24 Oct 2012 06:17:23 +0000 (23:17 -0700)]
am 799916e6: Merge "Revert "Check non-primary user dirs during package scan"" into jb-mr1-dev

* commit '799916e6ac706921e43a3382e5d9e06e13f87525':
  Revert "Check non-primary user dirs during package scan"

11 years agoMerge "Revert "Check non-primary user dirs during package scan"" into jb-mr1-dev
Dave Burke [Wed, 24 Oct 2012 06:14:06 +0000 (23:14 -0700)]
Merge "Revert "Check non-primary user dirs during package scan"" into jb-mr1-dev

11 years agoRevert "Check non-primary user dirs during package scan"
Dave Burke [Wed, 24 Oct 2012 06:12:19 +0000 (23:12 -0700)]
Revert "Check non-primary user dirs during package scan"

This reverts commit 4525f5b69cb44a9a0c92f9c525fc47541f456621

Change-Id: I31b7a0860972532478ab3420556b806bfa78739a

11 years agoam f52cbb6b: Merge "AudioService: add fix for corrupted settings" into jb-mr1-dev
Eric Laurent [Wed, 24 Oct 2012 04:21:39 +0000 (21:21 -0700)]
am f52cbb6b: Merge "AudioService: add fix for corrupted settings" into jb-mr1-dev

* commit 'f52cbb6b1800fc2b338e8c0883170567fcd0447a':
  AudioService: add fix for corrupted settings

11 years agoMerge "AudioService: add fix for corrupted settings" into jb-mr1-dev
Eric Laurent [Wed, 24 Oct 2012 04:18:28 +0000 (21:18 -0700)]
Merge "AudioService: add fix for corrupted settings" into jb-mr1-dev

11 years agoam 92bc9b31: PMS: check outInfo for null during delete
Kenny Root [Wed, 24 Oct 2012 04:05:12 +0000 (21:05 -0700)]
am 92bc9b31: PMS: check outInfo for null during delete

* commit '92bc9b3196907a76d4b73c3f361d41c14dfd7f5c':
  PMS: check outInfo for null during delete

11 years agoAudioService: add fix for corrupted settings
Eric Laurent [Wed, 24 Oct 2012 03:14:27 +0000 (20:14 -0700)]
AudioService: add fix for corrupted settings

Added correction of MODE_RINGER_STREAMS_AFFECTED setting in
case it is inconsistent when read from the database: ringtone,
notification and system streams are always affected by ringer mode.
A corruption of this setting persists accross reboots and propagates via
backup/restore causing devices to play notification and ringtones in silent mode.

Bug 7384750.

Change-Id: I23170413d01e6a8e34ef514f1516d7b9ab8bc656

11 years agoPMS: check outInfo for null during delete
Kenny Root [Wed, 24 Oct 2012 00:42:40 +0000 (17:42 -0700)]
PMS: check outInfo for null during delete

It appears that changing an application's signature during boot can pass
an outInfo of null to this function.

Bug: 7402550
Change-Id: I839fea6c8ee728a352c6b906f0fa6671c85f8694

11 years agoam 56e75631: Merge "Fix issue #7342364: JellyBean broke Toddler Lock, again" into...
Dianne Hackborn [Wed, 24 Oct 2012 00:38:54 +0000 (17:38 -0700)]
am 56e75631: Merge "Fix issue #7342364: JellyBean broke Toddler Lock, again" into jb-mr1-dev

* commit '56e75631bd737e5362309330d4839cc1dddb501c':
  Fix issue #7342364: JellyBean broke Toddler Lock, again

11 years agoam e1655c98: Merge "When A11y is on, use a longer interval between lockout announceme...
Svetoslav Ganov [Wed, 24 Oct 2012 00:38:41 +0000 (17:38 -0700)]
am e1655c98: Merge "When A11y is on, use a longer interval between lockout announcements." into jb-mr1-dev

* commit 'e1655c980d28b953597727d2c7832b442ca926cc':
  When A11y is on, use a longer interval between lockout announcements.

11 years agoMerge "Fix issue #7342364: JellyBean broke Toddler Lock, again" into jb-mr1-dev
Dianne Hackborn [Wed, 24 Oct 2012 00:35:41 +0000 (17:35 -0700)]
Merge "Fix issue #7342364: JellyBean broke Toddler Lock, again" into jb-mr1-dev

11 years agoMerge "When A11y is on, use a longer interval between lockout announcements." into...
Svetoslav Ganov [Wed, 24 Oct 2012 00:35:17 +0000 (17:35 -0700)]
Merge "When A11y is on, use a longer interval between lockout announcements." into jb-mr1-dev

11 years agoWhen A11y is on, use a longer interval between lockout announcements.
alanv [Wed, 24 Oct 2012 00:26:17 +0000 (17:26 -0700)]
When A11y is on, use a longer interval between lockout announcements.

Bug: 7384471
Change-Id: I72ac1fe7646588c9c7185cb0186f1e990b3a2f72

11 years agoam da2509c4: Merge "Check non-primary user dirs during package scan" into jb-mr1-dev
Kenny Root [Wed, 24 Oct 2012 00:06:24 +0000 (17:06 -0700)]
am da2509c4: Merge "Check non-primary user dirs during package scan" into jb-mr1-dev

* commit 'da2509c434ebb2a5a0da1bc270cae7f007cbb0f9':
  Check non-primary user dirs during package scan

11 years agoMerge "Check non-primary user dirs during package scan" into jb-mr1-dev
Kenny Root [Wed, 24 Oct 2012 00:03:08 +0000 (17:03 -0700)]
Merge "Check non-primary user dirs during package scan" into jb-mr1-dev

11 years agoam 6757572b: Merge "Add throwing InvalidDisplayException from addView." into jb-mr1-dev
Craig Mautner [Tue, 23 Oct 2012 23:57:11 +0000 (16:57 -0700)]
am 6757572b: Merge "Add throwing InvalidDisplayException from addView." into jb-mr1-dev

* commit '6757572b39d3802c4d7b69467b5ebf69a96c208b':
  Add throwing InvalidDisplayException from addView.

11 years agoMerge "Add throwing InvalidDisplayException from addView." into jb-mr1-dev
Craig Mautner [Tue, 23 Oct 2012 23:53:31 +0000 (16:53 -0700)]
Merge "Add throwing InvalidDisplayException from addView." into jb-mr1-dev

11 years agoam c63aa962: Merge "Fix NPE." into jb-mr1-dev
Hiroshi Lockheimer [Tue, 23 Oct 2012 23:29:14 +0000 (16:29 -0700)]
am c63aa962: Merge "Fix NPE." into jb-mr1-dev

* commit 'c63aa9621821b3f1e32292362cce76cd1899d932':
  Fix NPE.

11 years agoMerge "Fix NPE." into jb-mr1-dev
Hiroshi Lockheimer [Tue, 23 Oct 2012 23:26:25 +0000 (16:26 -0700)]
Merge "Fix NPE." into jb-mr1-dev

11 years agoFix NPE.
Daniel Sandler [Tue, 23 Oct 2012 23:21:20 +0000 (19:21 -0400)]
Fix NPE.

Bug: 7401286
Change-Id: I45334c4b2263bb611952b7dd949f5df98556377d

11 years agoam fbba753f: Merge "Handle offscreen animations correctly" into jb-mr1-dev
Chet Haase [Tue, 23 Oct 2012 22:48:40 +0000 (15:48 -0700)]
am fbba753f: Merge "Handle offscreen animations correctly" into jb-mr1-dev

* commit 'fbba753f62f13a12d9287c67921d1ea60e92768d':
  Handle offscreen animations correctly

11 years agoMerge "Handle offscreen animations correctly" into jb-mr1-dev
Chet Haase [Tue, 23 Oct 2012 22:45:41 +0000 (15:45 -0700)]
Merge "Handle offscreen animations correctly" into jb-mr1-dev

11 years agoam b75ade9c: Merge "Use existing display list to render the resize buffer Bug #740090...
Romain Guy [Tue, 23 Oct 2012 22:44:26 +0000 (15:44 -0700)]
am b75ade9c: Merge "Use existing display list to render the resize buffer Bug #7400903" into jb-mr1-dev

* commit 'b75ade9cce02dffb967ff4719381254585074c58':
  Use existing display list to render the resize buffer Bug #7400903

11 years agoMerge "Use existing display list to render the resize buffer Bug #7400903" into jb...
Romain Guy [Tue, 23 Oct 2012 22:41:28 +0000 (15:41 -0700)]
Merge "Use existing display list to render the resize buffer Bug #7400903" into jb-mr1-dev

11 years agoAdd throwing InvalidDisplayException from addView.
Craig Mautner [Tue, 23 Oct 2012 21:27:49 +0000 (14:27 -0700)]
Add throwing InvalidDisplayException from addView.

Throw an InvalidDisplayException to addView if the display being
added to has been removed. Handle this exception in Dialog.show()
by removing the view after it has been added and rethrow the
exception from there.

Add javadoc to ViewManager.addView and Presentation.show explaining
the new exception and how best to handle it.

Bug: 7368565 partially fixed. It remains for the Videos app to
handle Presentation.show throwing the InvalidDisplayException.

Change-Id: Ib4303c9b3f7bf7a0cfa95d19bd60a0c128658c48

11 years agoHandle offscreen animations correctly
Chet Haase [Tue, 23 Oct 2012 19:54:51 +0000 (12:54 -0700)]
Handle offscreen animations correctly

A bug in software rendering caused animations on views that are offscreen
to not get drawn, therefore the animation doesn't continue (since old-style
animations depend on the logic in the drawing code to keep running). Fix is
to special case the isAnimating case in ViewRoot to go ahead and schedule
a traversal even if the dirty rect does not intersect with the visible region.

Issue #7396035 Animations starting offscreen don't draw run/end/draw properly (sw rendering only)

Change-Id: Iae25b3a424ddc5a16ba431ecd68cf42d5500db3f

11 years agoam cd79b35c: Merge "Surface: add the PhysicalDisplayInfo#secure field" into jb-mr1-dev
Jamie Gennis [Tue, 23 Oct 2012 22:24:29 +0000 (15:24 -0700)]
am cd79b35c: Merge "Surface: add the PhysicalDisplayInfo#secure field" into jb-mr1-dev

* commit 'cd79b35c3828e0ebf4c9e68da75f9d857ccf01db':
  Surface: add the PhysicalDisplayInfo#secure field

11 years agoam d401a53c: Merge "Improve systrace tag propagation" into jb-mr1-dev
Andy McFadden [Tue, 23 Oct 2012 22:24:25 +0000 (15:24 -0700)]
am d401a53c: Merge "Improve systrace tag propagation" into jb-mr1-dev

* commit 'd401a53c6472921ce7785059195a4f031feea7cc':
  Improve systrace tag propagation

11 years agoMerge "Surface: add the PhysicalDisplayInfo#secure field" into jb-mr1-dev
Jamie Gennis [Tue, 23 Oct 2012 22:22:36 +0000 (15:22 -0700)]
Merge "Surface: add the PhysicalDisplayInfo#secure field" into jb-mr1-dev

11 years agoMerge "Improve systrace tag propagation" into jb-mr1-dev
Andy McFadden [Tue, 23 Oct 2012 22:21:56 +0000 (15:21 -0700)]
Merge "Improve systrace tag propagation" into jb-mr1-dev

11 years agoam a665df57: Merge "Use lighter background for Recents" into jb-mr1-dev
Michael Jurka [Tue, 23 Oct 2012 22:10:11 +0000 (15:10 -0700)]
am a665df57: Merge "Use lighter background for Recents" into jb-mr1-dev

* commit 'a665df573e16d79dfd327c8b9a51176a0edde5c7':
  Use lighter background for Recents

11 years agoSurface: add the PhysicalDisplayInfo#secure field
Jamie Gennis [Mon, 22 Oct 2012 22:30:42 +0000 (15:30 -0700)]
Surface: add the PhysicalDisplayInfo#secure field

Bug: 7368436
Change-Id: I38bf7bbfca354380c30da7516f628cf40416d350

11 years agoMerge "Use lighter background for Recents" into jb-mr1-dev
Michael Jurka [Tue, 23 Oct 2012 22:06:07 +0000 (15:06 -0700)]
Merge "Use lighter background for Recents" into jb-mr1-dev

11 years agoUse lighter background for Recents
Michael Jurka [Tue, 23 Oct 2012 22:02:57 +0000 (15:02 -0700)]
Use lighter background for Recents

Also, re-enable gradient on tablets
(gradient will be disabled in device-specific
overlays on devices that don't render it well)

Bug: 7381275

11 years agoFix issue #7342364: JellyBean broke Toddler Lock, again
Dianne Hackborn [Tue, 23 Oct 2012 21:32:48 +0000 (14:32 -0700)]
Fix issue #7342364: JellyBean broke Toddler Lock, again

Change-Id: I400c02711edc302a1bc7fbf98b62fcb9f76e5e12

11 years agoUse existing display list to render the resize buffer
Romain Guy [Tue, 23 Oct 2012 20:25:13 +0000 (13:25 -0700)]
Use existing display list to render the resize buffer
Bug #7400903

Change-Id: Ia2e534e47b4f67c280e2de7ce99cae0202751c42

11 years agoam 6fd394ae: Merge "Improve auto-brightness hysteresis." into jb-mr1-dev
Jeff Brown [Tue, 23 Oct 2012 19:47:53 +0000 (12:47 -0700)]
am 6fd394ae: Merge "Improve auto-brightness hysteresis." into jb-mr1-dev

* commit '6fd394ae799cc81e3b571773819ee99374a25158':
  Improve auto-brightness hysteresis.

11 years agoMerge "Improve auto-brightness hysteresis." into jb-mr1-dev
Jeff Brown [Tue, 23 Oct 2012 19:43:37 +0000 (12:43 -0700)]
Merge "Improve auto-brightness hysteresis." into jb-mr1-dev

11 years agoam 8ed48222: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Tue, 23 Oct 2012 18:21:25 +0000 (11:21 -0700)]
am 8ed48222: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

* commit '8ed482224ccd9d43fbb7544379a9bb7c10554419':
  Import translations. DO NOT MERGE

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Tue, 23 Oct 2012 18:19:03 +0000 (11:19 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev
Baligh Uddin [Tue, 23 Oct 2012 18:16:25 +0000 (11:16 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev

11 years agoam 04c8d402: Merge "Properly draw the window background on window resize Bug #7385090...
Romain Guy [Tue, 23 Oct 2012 17:51:14 +0000 (10:51 -0700)]
am 04c8d402: Merge "Properly draw the window background on window resize Bug #7385090" into jb-mr1-dev

* commit '04c8d402fa824c548dc5de82c56e63eb5df02371':
  Properly draw the window background on window resize Bug #7385090

11 years agoam c48ca657: Merge "Fix driver stop handling" into jb-mr1-dev
Irfan Sheriff [Tue, 23 Oct 2012 17:49:14 +0000 (10:49 -0700)]
am c48ca657: Merge "Fix driver stop handling" into jb-mr1-dev

* commit 'c48ca657f801b120e88c94287cdeecddc1a46e88':
  Fix driver stop handling

11 years agoMerge "Properly draw the window background on window resize Bug #7385090" into jb...
Romain Guy [Tue, 23 Oct 2012 17:47:56 +0000 (10:47 -0700)]
Merge "Properly draw the window background on window resize Bug #7385090" into jb-mr1-dev

11 years agoMerge "Fix driver stop handling" into jb-mr1-dev
Irfan Sheriff [Tue, 23 Oct 2012 17:45:41 +0000 (10:45 -0700)]
Merge "Fix driver stop handling" into jb-mr1-dev

11 years agoam 21ce854b: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Tue, 23 Oct 2012 17:42:19 +0000 (10:42 -0700)]
am 21ce854b: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

* commit '21ce854b50667bf675bc36ce0db1a3d6f0a2ab92':
  Import translations. DO NOT MERGE

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Tue, 23 Oct 2012 17:39:26 +0000 (10:39 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev
Baligh Uddin [Tue, 23 Oct 2012 17:37:59 +0000 (10:37 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev

11 years agoFix driver stop handling
Irfan Sheriff [Tue, 23 Oct 2012 17:22:13 +0000 (10:22 -0700)]
Fix driver stop handling

Defer supplicant state change event so we do not miss it

Bug: 7394390
Change-Id: Ibae6cef6be42a6cb45dc20ba4fa5060d8e459217

11 years agoam 365ece1d: Merge "Dreams/Sleep Mode is now Daydreams." into jb-mr1-dev
Daniel Sandler [Tue, 23 Oct 2012 17:35:12 +0000 (10:35 -0700)]
am 365ece1d: Merge "Dreams/Sleep Mode is now Daydreams." into jb-mr1-dev

* commit '365ece1dd04df936b51e739ba3dde5fb94b3e527':
  Dreams/Sleep Mode is now Daydreams.

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 23 Oct 2012 17:34:11 +0000 (10:34 -0700)]
Import translations. DO NOT MERGE

Change-Id: I349b6bc4c17141a0ac74e50b573382a2cf694f7e
Auto-generated-cl: translation import

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 23 Oct 2012 17:32:41 +0000 (10:32 -0700)]
Import translations. DO NOT MERGE

Change-Id: I540a08d72253a205d6071340c5d7519a08450ef3
Auto-generated-cl: translation import

11 years agoMerge "Dreams/Sleep Mode is now Daydreams." into jb-mr1-dev
Daniel Sandler [Tue, 23 Oct 2012 17:31:22 +0000 (10:31 -0700)]
Merge "Dreams/Sleep Mode is now Daydreams." into jb-mr1-dev

11 years agoam 5d6562d3: Merge "Avoid mentioning hidden API in docs." into jb-mr1-dev
Justin Ho [Tue, 23 Oct 2012 17:05:28 +0000 (10:05 -0700)]
am 5d6562d3: Merge "Avoid mentioning hidden API in docs." into jb-mr1-dev

* commit '5d6562d34cb088f3468021b8bbdf8d75b68dca68':
  Avoid mentioning hidden API in docs.

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 23 Oct 2012 17:03:00 +0000 (10:03 -0700)]
Import translations. DO NOT MERGE

Change-Id: I6d7f8dec6e1115a4586befbaa302eafe606fb901
Auto-generated-cl: translation import

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 23 Oct 2012 16:58:07 +0000 (09:58 -0700)]
Import translations. DO NOT MERGE

Change-Id: I7664310dd790906eb6a66725048f4fd77fa7d798
Auto-generated-cl: translation import

11 years agoMerge "Avoid mentioning hidden API in docs." into jb-mr1-dev
Justin Ho [Tue, 23 Oct 2012 16:41:43 +0000 (09:41 -0700)]
Merge "Avoid mentioning hidden API in docs." into jb-mr1-dev

11 years agoam bf310d1f: Merge "Fix issues shown on CTS tests" into jb-mr1-dev
Irfan Sheriff [Tue, 23 Oct 2012 16:39:42 +0000 (09:39 -0700)]
am bf310d1f: Merge "Fix issues shown on CTS tests" into jb-mr1-dev

* commit 'bf310d1f6ef4ac167f66a4e31724c7766981bd84':
  Fix issues shown on CTS tests

11 years agoAvoid mentioning hidden API in docs.
Jeff Sharkey [Tue, 23 Oct 2012 16:37:54 +0000 (09:37 -0700)]
Avoid mentioning hidden API in docs.

Change-Id: If83c179ec0d1b038e94a7fdca386c8ddf324e391

11 years agoMerge "Fix issues shown on CTS tests" into jb-mr1-dev
Irfan Sheriff [Tue, 23 Oct 2012 16:36:44 +0000 (09:36 -0700)]
Merge "Fix issues shown on CTS tests" into jb-mr1-dev

11 years agoFix issues shown on CTS tests
Irfan Sheriff [Mon, 22 Oct 2012 23:28:02 +0000 (16:28 -0700)]
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

11 years agoam 1c8135ad: Merge "Update docs for multi-user storage behavior." into jb-mr1-dev
Jeff Sharkey [Tue, 23 Oct 2012 16:10:43 +0000 (09:10 -0700)]
am 1c8135ad: Merge "Update docs for multi-user storage behavior." into jb-mr1-dev

* commit '1c8135adba37ac09fe661180237df446611daa4b':
  Update docs for multi-user storage behavior.

11 years agoMerge "Update docs for multi-user storage behavior." into jb-mr1-dev
Jeff Sharkey [Tue, 23 Oct 2012 16:08:41 +0000 (09:08 -0700)]
Merge "Update docs for multi-user storage behavior." into jb-mr1-dev

11 years agoam 0058f4ed: Merge "Reset ExpandHelper when the panel is collapsed." into jb-mr1-dev
Daniel Sandler [Tue, 23 Oct 2012 15:37:09 +0000 (08:37 -0700)]
am 0058f4ed: Merge "Reset ExpandHelper when the panel is collapsed." into jb-mr1-dev

* commit '0058f4ed50e5b4bfc8361c18b87115160d7132bb':
  Reset ExpandHelper when the panel is collapsed.

11 years agoMerge "Reset ExpandHelper when the panel is collapsed." into jb-mr1-dev
Daniel Sandler [Tue, 23 Oct 2012 15:34:55 +0000 (08:34 -0700)]
Merge "Reset ExpandHelper when the panel is collapsed." into jb-mr1-dev

11 years agoReset ExpandHelper when the panel is collapsed.
Daniel Sandler [Tue, 23 Oct 2012 14:41:44 +0000 (10:41 -0400)]
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

11 years agoam 780a13b0: Merge "Fix nav bar glitch when quickly turning screen off then on."...
John Spurlock [Tue, 23 Oct 2012 11:14:03 +0000 (04:14 -0700)]
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.

11 years agoMerge "Fix nav bar glitch when quickly turning screen off then on." into jb-mr1-dev
John Spurlock [Tue, 23 Oct 2012 11:10:28 +0000 (04:10 -0700)]
Merge "Fix nav bar glitch when quickly turning screen off then on." into jb-mr1-dev

11 years agoDreams/Sleep Mode is now Daydreams.
Daniel Sandler [Tue, 23 Oct 2012 05:21:33 +0000 (01:21 -0400)]
Dreams/Sleep Mode is now Daydreams.

Bug: 7395321
Change-Id: I3173cd9205df94217911a2d432d1be1db9e3d539

11 years agoProperly draw the window background on window resize
Romain Guy [Tue, 23 Oct 2012 03:02:43 +0000 (20:02 -0700)]
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

11 years agoImprove systrace tag propagation
Andy McFadden [Mon, 22 Oct 2012 23:16:06 +0000 (16:16 -0700)]
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

11 years agoImprove auto-brightness hysteresis.
Jeff Brown [Mon, 22 Oct 2012 23:50:25 +0000 (16:50 -0700)]
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

11 years agoCheck non-primary user dirs during package scan
Kenny Root [Mon, 22 Oct 2012 21:24:23 +0000 (14:24 -0700)]
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

11 years agoam 36425d19: Merge "Catch badly formed URLs in WebView accessibility injector." into...
erin rosenthal [Tue, 23 Oct 2012 00:56:27 +0000 (17:56 -0700)]
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.

11 years agoMerge "Catch badly formed URLs in WebView accessibility injector." into jb-mr1-dev
erin rosenthal [Tue, 23 Oct 2012 00:53:26 +0000 (17:53 -0700)]
Merge "Catch badly formed URLs in WebView accessibility injector." into jb-mr1-dev

11 years agoam 3ac692f5: Merge "reduce camera sound volume." into jb-mr1-dev
Eric Laurent [Tue, 23 Oct 2012 00:26:04 +0000 (17:26 -0700)]
am 3ac692f5: Merge "reduce camera sound volume." into jb-mr1-dev

* commit '3ac692f5114f058c82ca3855bdd36321f1540be5':
  reduce camera sound volume.

11 years agoMerge "reduce camera sound volume." into jb-mr1-dev
Eric Laurent [Tue, 23 Oct 2012 00:23:20 +0000 (17:23 -0700)]
Merge "reduce camera sound volume." into jb-mr1-dev

11 years agoam 0b828ee0: Merge "Set the correct flags for brightness dialog to show on all users...
Amith Yamasani [Mon, 22 Oct 2012 23:30:00 +0000 (16:30 -0700)]
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

11 years agoam 4ce82df5: Merge "Solve issue where labels in Recents were blank" into jb-mr1-dev
Michael Jurka [Mon, 22 Oct 2012 23:26:34 +0000 (16:26 -0700)]
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

11 years agoreduce camera sound volume.
Eric Laurent [Mon, 22 Oct 2012 23:26:14 +0000 (16:26 -0700)]
reduce camera sound volume.

Reduce new video start and stop sounds volume to
match camera shutter sound volume.

Bug 7377030.

Change-Id: Ic42b36f063006da30dd870fa5ed9c8c5361aa043

11 years agoMerge "Set the correct flags for brightness dialog to show on all users" into jb...
Amith Yamasani [Mon, 22 Oct 2012 23:25:20 +0000 (16:25 -0700)]
Merge "Set the correct flags for brightness dialog to show on all users" into jb-mr1-dev

11 years agoMerge "Solve issue where labels in Recents were blank" into jb-mr1-dev
Michael Jurka [Mon, 22 Oct 2012 23:23:43 +0000 (16:23 -0700)]
Merge "Solve issue where labels in Recents were blank" into jb-mr1-dev

11 years agoSolve issue where labels in Recents were blank
Michael Jurka [Mon, 22 Oct 2012 20:58:38 +0000 (13:58 -0700)]
Solve issue where labels in Recents were blank

Bug: 7352816

Change-Id: Ic0d7f35191ce973a71744aa6ea81351b7bdb8d50

11 years agoam e03c0244: Merge "Clear data deletes too much" into jb-mr1-dev
Kenny Root [Mon, 22 Oct 2012 23:14:14 +0000 (16:14 -0700)]
am e03c0244: Merge "Clear data deletes too much" into jb-mr1-dev

* commit 'e03c0244717093e0fbc9b05073d3ae3dbd8fcea5':
  Clear data deletes too much

11 years agoMerge "Clear data deletes too much" into jb-mr1-dev
Kenny Root [Mon, 22 Oct 2012 23:11:44 +0000 (16:11 -0700)]
Merge "Clear data deletes too much" into jb-mr1-dev

11 years agoSet the correct flags for brightness dialog to show on all users
Amith Yamasani [Mon, 22 Oct 2012 23:09:58 +0000 (16:09 -0700)]
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

11 years agoam 74437532: Merge "Fix for bug: Gmail (and other places): cursor placed on top of...
Raph Levien [Mon, 22 Oct 2012 22:59:22 +0000 (15:59 -0700)]
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

11 years agoMerge "Fix for bug: Gmail (and other places): cursor placed on top of letter" into...
Raph Levien [Mon, 22 Oct 2012 22:56:01 +0000 (15:56 -0700)]
Merge "Fix for bug: Gmail (and other places): cursor placed on top of letter" into jb-mr1-dev

11 years agoam 74261d84: Merge "Don\'t null the reference to Bitmap pixels until we\'re really...
Chet Haase [Mon, 22 Oct 2012 22:49:22 +0000 (15:49 -0700)]
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

11 years agoMerge "Don't null the reference to Bitmap pixels until we're really ready" into jb...
Chet Haase [Mon, 22 Oct 2012 22:46:43 +0000 (15:46 -0700)]
Merge "Don't null the reference to Bitmap pixels until we're really ready" into jb-mr1-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev
Baligh Uddin [Mon, 22 Oct 2012 22:32:39 +0000 (15:32 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev

11 years agoam 5be59670: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Mon, 22 Oct 2012 22:31:49 +0000 (15:31 -0700)]
am 5be59670: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

* commit '5be59670c26edf27bfdfdf0430b535dda718bd9d':
  Import translations. DO NOT MERGE

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Mon, 22 Oct 2012 22:28:34 +0000 (15:28 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

11 years agoDon't null the reference to Bitmap pixels until we're really ready
Chet Haase [Mon, 22 Oct 2012 22:07:26 +0000 (15:07 -0700)]
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

11 years agoClear data deletes too much
Kenny Root [Mon, 22 Oct 2012 22:19:16 +0000 (15:19 -0700)]
Clear data deletes too much

Bug: 7389445
Change-Id: Ic12d7a8e37747dc1a9b71ec5f881b5e440e0a75e

11 years agoUpdate docs for multi-user storage behavior.
Jeff Sharkey [Mon, 22 Oct 2012 21:08:29 +0000 (14:08 -0700)]
Update docs for multi-user storage behavior.

Define external storage as being isolated for each user, with the
caveat for shared OBB files. Also mention external storage
permissions.

Bug: 7384941
Change-Id: Ib156b5874c5587749d7bc066791e9e88d931b174

11 years agoFix for bug: Gmail (and other places): cursor placed on top of letter
Raph Levien [Mon, 22 Oct 2012 22:01:17 +0000 (15:01 -0700)]
Fix for bug: Gmail (and other places): cursor placed on top of letter

This patch fixes bug 7346656. In this particular case, the text line in
the EditText was split into multiple spans, with the boundary between
the "r" and "," in "r,". These were being drawn as two separate runs,
but measured as a single run, leading to inconsistent measurements
because this is a kern pair in Roboto.

The fix is to eliminate the special-case code for measuring. This will
actually improve efficiency, as the value computed in one pass is now
more likely to be reused in another.

Change-Id: I04142a0ec98f280fc1027c7cbdbf903e3096f8e4

11 years agoam 034b386c: Merge "Add ro.revision property to checkin headers" into jb-mr1-dev
Colin Cross [Mon, 22 Oct 2012 21:23:46 +0000 (14:23 -0700)]
am 034b386c: Merge "Add ro.revision property to checkin headers" into jb-mr1-dev

* commit '034b386ccfc42bc9b44e728bb39959c81b1d2e8c':
  Add ro.revision property to checkin headers

11 years agoMerge "Add ro.revision property to checkin headers" into jb-mr1-dev
Colin Cross [Mon, 22 Oct 2012 21:20:06 +0000 (14:20 -0700)]
Merge "Add ro.revision property to checkin headers" into jb-mr1-dev

11 years agoFix nav bar glitch when quickly turning screen off then on.
John Spurlock [Fri, 19 Oct 2012 15:09:32 +0000 (11:09 -0400)]
Fix nav bar glitch when quickly turning screen off then on.

Keyguard now disables all navbar buttons when turning screen off
instead of only recents.

Navbar is told about screen off/on and disables the layout transition
animation on screen off - if the user quickly turns the screen back
on they do not see the end of the fade out animation.

Bug:7377776
Change-Id: I96a050d58c6c9ce8537f50408655006fadbfcd4f