85026 Commits

Author SHA1 Message Date
Eric Laurent
794da7a054 AudioService: pause music when undocked
Send becomming noisy event also when disconnecting a dock
(analog, digital or USB) or HDMI.

Bug 6760590.

Change-Id: I497df35a3c6817d2b300f532d4cc3f12e3ce9ace
2012-08-30 11:30:16 -07:00
John Reck
ae03afda41 Merge "onSavePassword dialog can leak when WebViewClassic is destroyed." 2012-08-30 11:00:22 -07:00
Craig Mautner
df2390adc3 Don't die(immediate) if from performTraversals.
The Drive application was calling PopupWindow.dismiss from within
onMeasure. This caused dispatchDetachedFromWindow to be called
from within performTraversals. Since dispatchDetachedFromWindow
destroys much of what performTraversals uses this was a disaster
waiting to happen.

This fix adds a check for seeing if die(immediate=true) is being
called from within performTraversals. If it is then die doesn't
execute doDie immediately, but instead treats it as a call to
die(immediate=false).

Fixes bug 6836841.

Change-Id: I833289e12c19fd33c17a715b2ed2adcf8388573a
2012-08-30 10:54:45 -07:00
Jeff Sharkey
3faed6337f am e217ee4d: Access to all users\' external storage.
* commit 'e217ee4d7a8223289a1af7363627c69956c46d41':
  Access to all users' external storage.
2012-08-30 10:41:14 -07:00
Jeff Sharkey
e217ee4d7a Access to all users' external storage.
System services holding this permission have external storage bound
one level higher, giving them access to all users' files.

Bug: 7003520
Change-Id: Ib2bcb8455740c713ebd01f71c9a2b89b4e642832
2012-08-30 10:37:51 -07:00
Jim Miller
a31b4da94e am b354ffa2: am 08db9df1: Merge "Fix keyguard layout on tablet" into jb-mr1-dev
* commit 'b354ffa2b98e62d20f2228a557e74f6d6e059464':
  Fix keyguard layout on tablet
2012-08-30 10:36:54 -07:00
Chet Haase
b39ea745d6 am 0db186dc: am 451da779: Merge "Add getter for animateFirstView property of ViewAnimator" into jb-mr1-dev
* commit '0db186dca7f9889f847b572dd64be17c50751ab6':
  Add getter for animateFirstView property of ViewAnimator
2012-08-30 10:36:50 -07:00
Jim Miller
b354ffa2b9 am 08db9df1: Merge "Fix keyguard layout on tablet" into jb-mr1-dev
* commit '08db9df1af78dbe26af89f57c5e2777e1142b566':
  Fix keyguard layout on tablet
2012-08-30 10:33:59 -07:00
Chet Haase
0db186dca7 am 451da779: Merge "Add getter for animateFirstView property of ViewAnimator" into jb-mr1-dev
* commit '451da77972a4eead1317929e3176a9aa2a2707e9':
  Add getter for animateFirstView property of ViewAnimator
2012-08-30 10:33:52 -07:00
Jeff Sharkey
8222e45869 am 2224f8ca: am e671ccec: Merge "Shared OBB storage across users." into jb-mr1-dev
* commit '2224f8caa128b077f4070d13432680f7f7e6f468':
  Shared OBB storage across users.
2012-08-30 10:33:49 -07:00
Jeff Sharkey
2224f8caa1 am e671ccec: Merge "Shared OBB storage across users." into jb-mr1-dev
* commit 'e671ccec0f4d0fc5fe11ffc9b3b40637e6d2ddda':
  Shared OBB storage across users.
2012-08-30 10:32:04 -07:00
Jim Miller
08db9df1af Merge "Fix keyguard layout on tablet" into jb-mr1-dev 2012-08-30 10:31:42 -07:00
Zoran Marceta
f958b321fa ActivityStack handler now use ActivityManager looper instead of ServerThread looper
Bug: 6957716
Change-Id: I36feb45ef7a85885ab812092c7b28e91886a4821
2012-08-30 10:31:05 -07:00
Chet Haase
451da77972 Merge "Add getter for animateFirstView property of ViewAnimator" into jb-mr1-dev 2012-08-30 10:30:28 -07:00
Jeff Sharkey
e671ccec0f Merge "Shared OBB storage across users." into jb-mr1-dev 2012-08-30 10:28:52 -07:00
Jim Miller
07cb030c4e Fix keyguard layout on tablet
Bug:7084961
Change-Id: I6415aa736bf9e2b71a288716e3125429be2b663c
2012-08-30 10:24:40 -07:00
Chet Haase
201501f11e Add getter for animateFirstView property of ViewAnimator
Tooling for xml properties is easier/better if we can properly reflect the
xml properties at the Java language API level as well. We had setters/getters
for the other properties of ViewAnimator, but only a setter for the
animateFirstView property.

Issue #6104327 Inconsistency between XML API and Java API for widgets - ViewAnimator

Change-Id: Iede7231fa433ce14f7a8299da4cedd4720370bc8
2012-08-30 09:51:08 -07:00
Chet Haase
815507825a am 7985cec0: am c0c1c94e: Merge "Avoid thrashing the glyph cache during the precache phase" into jb-mr1-dev
* commit '7985cec0e5952459362a8aca6cf8d5936c2541b9':
  Avoid thrashing the glyph cache during the precache phase
2012-08-30 09:34:28 -07:00
Chet Haase
7985cec0e5 am c0c1c94e: Merge "Avoid thrashing the glyph cache during the precache phase" into jb-mr1-dev
* commit 'c0c1c94e2df33ca8b85bb25fa89bf8379f9a6415':
  Avoid thrashing the glyph cache during the precache phase
2012-08-30 09:31:59 -07:00
Chet Haase
c0c1c94e2d Merge "Avoid thrashing the glyph cache during the precache phase" into jb-mr1-dev 2012-08-30 09:29:37 -07:00
Chet Haase
f942cf10e0 Avoid thrashing the glyph cache during the precache phase
It is unlikely, but possible, to draw so many glyphs in a frame
(especially of the glyphs are quite large) that the cache starts flushing
itself to fit the later glyphs in. This causes unnecessary thrashing, because
when we actually draw the frame, we will again need to flush to fit the
earlier glyphs in, and then flush again to fit the later ones in.

It is better to avoid thrashing the cache at the precache phase, and wait
until we actually draw the glyphs that do not fit to do any eviction of
the earlier glyphs.

This change simply notes when we are in the preaching phase, and avoids flushing
the cache when a glyph does not fit.

Issue #7081725 avoid thrashing cache during DisplayList recording

Change-Id: I230410ab5b478091b1032fa99dc1752acf868bbe
2012-08-30 09:14:44 -07:00
Chet Haase
2d12352b1d am b2545a4d: am 63f2fcae: Merge "Fix bug with Fbo layer clipping" into jb-mr1-dev
* commit 'b2545a4d050c644c92373a38b6c632b4c241c614':
  Fix bug with Fbo layer clipping
2012-08-30 07:27:31 -07:00
Chet Haase
b2545a4d05 am 63f2fcae: Merge "Fix bug with Fbo layer clipping" into jb-mr1-dev
* commit '63f2fcae3e7089ce0e27837a5152392d503f41eb':
  Fix bug with Fbo layer clipping
2012-08-30 07:24:36 -07:00
Chet Haase
63f2fcae3e Merge "Fix bug with Fbo layer clipping" into jb-mr1-dev 2012-08-30 07:22:37 -07:00
rikard dahlman
9211b13c32 Watchdog: Improvement of debuggability
If the watchdog detects a problem the system server process
is killed, that is followed by a crash. Because the crash is
done after the system server process is killed, the crash
don't contain info about the system server.
This improvement will make sure that the system is crashed
before the system server process is killed.
Behavior is only changed for eng and userdebug builds.

Change-Id: I9f1c8fd8b03d0114032ed44fb582705ad0b49733
2012-08-30 12:27:50 +02:00
Johan Redestig
8655e9085c onSavePassword dialog can leak when WebViewClassic is destroyed.
The AlertDialog creates in onSavePassword method leaks if
WebViewClassic is destroyed when the dialog is shown.

Change-Id: I81f20e1dd138467a6413766c0a081b389b334ae0
2012-08-30 10:13:41 +02:00
Jeff Sharkey
3d262b30f1 am 2db290ed: am 428f5393: Merge "Locking when clearing VPN source rules." into jb-mr1-dev
* commit '2db290edc2ab77b8f475c7815114b406a5ac8b55':
  Locking when clearing VPN source rules.
2012-08-29 22:39:24 -07:00
Jeff Sharkey
2db290edc2 am 428f5393: Merge "Locking when clearing VPN source rules." into jb-mr1-dev
* commit '428f53937efdc362b60d01592bd01c568691f70e':
  Locking when clearing VPN source rules.
2012-08-29 22:36:40 -07:00
Jeff Sharkey
96d7213f1f am f80de4ca: am a99e4caa: Merge "Bind to screenshot service for current user." into jb-mr1-dev
* commit 'f80de4cac88d3be2200e2f4629eddf2c193e553b':
  Bind to screenshot service for current user.
2012-08-29 22:34:21 -07:00
Jeff Sharkey
428f53937e Merge "Locking when clearing VPN source rules." into jb-mr1-dev 2012-08-29 22:33:45 -07:00
Jeff Sharkey
580dd31a68 Locking when clearing VPN source rules.
Otherwise lockdown VPN reset is racy and can bring down system_server.

Change-Id: Ib8eecde1d0857a1669c3ca5506a46198c71b1b51
2012-08-29 22:31:58 -07:00
Jeff Sharkey
f80de4cac8 am a99e4caa: Merge "Bind to screenshot service for current user." into jb-mr1-dev
* commit 'a99e4caa94ed3261d11c650e778c7c9b26b3e590':
  Bind to screenshot service for current user.
2012-08-29 22:31:27 -07:00
Jeff Sharkey
a99e4caa94 Merge "Bind to screenshot service for current user." into jb-mr1-dev 2012-08-29 22:29:43 -07:00
Romain Guy
d4c8456c8b am e70f4b77: am 7808581c: Merge "Pre-multiply color components for 2-stop gradients Bug #7033344" into jb-mr1-dev
* commit 'e70f4b77a8b29852a689d9bc8825fb359bb8491b':
  Pre-multiply color components for 2-stop gradients Bug #7033344
2012-08-29 22:01:17 -07:00
Romain Guy
e70f4b77a8 am 7808581c: Merge "Pre-multiply color components for 2-stop gradients Bug #7033344" into jb-mr1-dev
* commit '7808581ca3b462fb187aed6b0d1b86fb83a8a215':
  Pre-multiply color components for 2-stop gradients Bug #7033344
2012-08-29 21:59:11 -07:00
Romain Guy
7808581ca3 Merge "Pre-multiply color components for 2-stop gradients Bug #7033344" into jb-mr1-dev 2012-08-29 21:56:44 -07:00
Romain Guy
d679b57ef2 Pre-multiply color components for 2-stop gradients
Bug #7033344

Change-Id: Ia168501f1dc56ba7a1bb0c55078320432309a66a
2012-08-29 21:56:18 -07:00
Adam Powell
05a1e1f64e Use focal point for scrolling in GestureDetector
Remove workaround for obsolete touchscreen hardware. Provide a better
focal point for scroll events.

Change-Id: I879acb4cfd23bd3762d0332e4df2203d913ae869
2012-08-29 20:35:10 -07:00
Daniel Sandler
ac49e58445 am 4615695e: am 8601e8b3: Merge "Expand the navbar dead zone briefly after touches elsewhere." into jb-mr1-dev
* commit '4615695e49593dc10ad27204dfb93add2d2d5a4c':
  Expand the navbar dead zone briefly after touches elsewhere.
2012-08-29 20:34:36 -07:00
Daniel Sandler
4615695e49 am 8601e8b3: Merge "Expand the navbar dead zone briefly after touches elsewhere." into jb-mr1-dev
* commit '8601e8b3ab3b166166543baaab663224b787d68f':
  Expand the navbar dead zone briefly after touches elsewhere.
2012-08-29 20:32:21 -07:00
Daniel Sandler
8601e8b3ab Merge "Expand the navbar dead zone briefly after touches elsewhere." into jb-mr1-dev 2012-08-29 20:29:28 -07:00
Jim Miller
2170fbc950 am 07fb8e8a: am 5b81de4d: Merge "Fix Camera and GoogleNow launching in keyguard" into jb-mr1-dev
* commit '07fb8e8a818fd9546ffa64bcf9f1e0636b2d7c69':
  Fix Camera and GoogleNow launching in keyguard
2012-08-29 20:12:44 -07:00
Jim Miller
07fb8e8a81 am 5b81de4d: Merge "Fix Camera and GoogleNow launching in keyguard" into jb-mr1-dev
* commit '5b81de4de741f736889fd86e1dd324ad88136ebe':
  Fix Camera and GoogleNow launching in keyguard
2012-08-29 20:10:54 -07:00
Jim Miller
5b81de4de7 Merge "Fix Camera and GoogleNow launching in keyguard" into jb-mr1-dev 2012-08-29 20:07:56 -07:00
Jim Miller
5f75aa15d7 Fix Camera and GoogleNow launching in keyguard
This change allows keyguard to launch the secure camera when the device
is in a secure mode.  It also allows launching delayed actions after the
user has entered their security, such as that required for GoogleNow.

Change-Id: I54975001728ced3c339f86eafc3a38cea606082b
2012-08-29 20:06:47 -07:00
Adam Cohen
8c4b4a8692 am cd37ece7: am b07e89f6: Merge "Integrate overscroll into KeyguardWidgetView." into jb-mr1-dev
* commit 'cd37ece71bb0174f0624b56960b7b2a367ca9af1':
  Integrate overscroll into KeyguardWidgetView.
2012-08-29 19:53:07 -07:00
Adam Cohen
cd37ece71b am b07e89f6: Merge "Integrate overscroll into KeyguardWidgetView." into jb-mr1-dev
* commit 'b07e89f6fdbf85d2f436dc67074793444462abf9':
  Integrate overscroll into KeyguardWidgetView.
2012-08-29 19:51:19 -07:00
Adam Cohen
b07e89f6fd Merge "Integrate overscroll into KeyguardWidgetView." into jb-mr1-dev 2012-08-29 19:49:02 -07:00
Baligh Uddin
e479ac121d Import translations. DO NOT MERGE
Change-Id: Ifb35d663ed00e724256ac3ec8e24f5592a19792b
Auto-generated-cl: translation import
2012-08-29 19:11:42 -07:00
Baligh Uddin
8b9df6cccd Import translations. DO NOT MERGE
Change-Id: Id3259e8368d2ab53d1f8b16d756806b4ca520c39
Auto-generated-cl: translation import
2012-08-29 19:04:43 -07:00