115122 Commits

Author SHA1 Message Date
Jim Miller
b892ac680b Merge "Fix glitch with switching users from QuickSettings" into klp-dev 2013-11-07 03:14:37 +00:00
Jim Miller
cc747ad2da Fix scrubbing behavior on keyguard music transport
This fixes a bug where the music scrub position would snap
back to a previous position. The problem was caused by latency
in the music application responding to scrub position changes.
The latency would mean that we'd get a response periodically
to some historical scrub position change.

Since we can't know when the state will become stable, we
just wait a little bit since the last update change before
continuing to update the scroll position.

In order to keep the music client from falling behind, we
throttle scrub updates.

Fixes bug 11351267

Change-Id: I6204833328751d1da781b4e078a2d557c1f93ff3
2013-11-06 17:53:32 -08:00
Scott Main
334cc4874f add maxSdkVersion attribute to uses-permission doc
Change-Id: I612aeb9444a360ca3ebf4675dca05145beae5b04
2013-11-06 17:46:00 -08:00
Scott Main
7ea78c86d3 udpate gcore setup doc with info for android studio
Change-Id: I3125d3b4d2c68fcb3ba281d0051e2acb5033a6f9
2013-11-06 17:43:28 -08:00
Robert Greenwalt
a029ea1318 Add BatteryStats for Wifi Batched Scanning.
bug:10690989
Change-Id: Ia39b715ee6d5733970095bc76de0ed40ff8208c0
2013-11-06 17:43:18 -08:00
Christopher Tate
aa719e92ff am c157cac9: Merge "System package permission decls take precedence over 3rd party apps\'" into klp-dev
* commit 'c157cac9b2827a4eeb0ea29209fbb879a6076de4':
  System package permission decls take precedence over 3rd party apps'
2013-11-06 16:57:01 -08:00
Christopher Tate
c157cac9b2 Merge "System package permission decls take precedence over 3rd party apps'" into klp-dev 2013-11-07 00:54:55 +00:00
Dianne Hackborn
daa0d5c929 Fix issue #11223338: Not retaining service started state while restarting
When I cleaned up how we maintained the lifecycle of the tracker with a
service, I broke most tracking of the service restart state.  (Since at
that point the service is no longer associated with a process, so I
must clean up the tracker state).  This change introduces a new special
case for interacting with a service tracker to explicitly tell it when
a service is being restarted.  It also fixes how we update the process
state when services are attached to it, so it goes in and out of the
restarting state correctly.

In addition:

- Maybe fix issue #11224000 (APR: Dependent processes not getting added
  to LRU list).  We were not clearing ServiceRecord.app when bringing
  down a service, so if for some reason there were still connections to
  it at that point (which could happen for example for non-create bindings),
  then we would so it when updating the LRU state of that client process.
- dumpsys procstats's package argument can now be a package or process
  name, and we will dump all relevent information we can find about that
  name.
- Generally improved the quality of the dumpsys procstats output with its
  various options.
- Fixed a bug in ActivityManager.dumpPackageState() where it would hang if
  the service was dumping too much, added meminfo to the set of things
  dumped, and tweaked command line options to include more data.
- Added some more cleaning code to ActiveServices.killServices() to make
  sure we clean out any restarting ServiceRecord entries when a process is
  being force stopped.
- Re-arranged ActiveServices.killServices() to do the main killing of the
  service first, to avoid some wtf() calls that could happen when removing
  connections.

Bug: 11223338
Bug: 11224000

Change-Id: I5db28561c2c78aa43561e52256ff92c02311c56f
2013-11-06 16:42:17 -08:00
Adam Powell
b3651b6fc3 am 2942053c: Merge "Merge toast frame assets, update themes, etc. accordingly" into klp-dev
* commit '2942053c25b577f4ecdd431072cc438b16d2778b':
  Merge toast frame assets, update themes, etc. accordingly
2013-11-06 16:05:23 -08:00
Adam Powell
2942053c25 Merge "Merge toast frame assets, update themes, etc. accordingly" into klp-dev 2013-11-07 00:01:09 +00:00
Fabrice Di Meglio
48a4b0fa6a Improve RTL support for Immersive mode
- use start/end instead of left/ritgh padding
- related to bug #11537133 Hideycling looks broken (KOT36), missing left padding

Change-Id: I0d8e1de560dbf142a3c016ab6d6784361d88d32a
2013-11-06 15:44:52 -08:00
Dirk Dougherty
1ae704b87e resolved conflicts for merge of b08447ba to klp-ub-dev
Change-Id: I77406f89d3b499f831ba4a66b7bf79039838c5b2
2013-11-06 15:42:01 -08:00
Fabrice Di Meglio
f7a93ef384 Fix bug #11537133 Hideycling looks broken (KOT36), missing left padding
- enforce the Drawable boolean getPadding(Rect) contract for NinePatchDrawable
and DrawableContainer.

- as NinePatchDrawable was not enforcing it, the consequence was that the
mUserPaddingLeftInitial / mUserPaddingRitghInitial were reset to "0" (even
if they got the correct value before the reset).

Change-Id: I1efe7fad5f89c0ca47f90189f6d89940e0e9c6ae
2013-11-06 15:32:01 -08:00
Chris Craik
baba771c85 am 47742d4b: Merge "Fix NPE with inPurgeable Bitmaps in getAllocationByteCount" into klp-dev
* commit '47742d4bb004a51c045d443024a36d784cd38d9b':
  Fix NPE with inPurgeable Bitmaps in getAllocationByteCount
2013-11-06 15:26:51 -08:00
Ruben Brunk
9aed2ae0bd am e77d2a9c: Merge "Disable face unlock when returning from camera." into klp-dev
* commit 'e77d2a9c62e747902bc53d40e303214705702b00':
  Disable face unlock when returning from camera.
2013-11-06 15:26:48 -08:00
Craig Mautner
ea18624ae5 am c9d0ee5e: Merge "Tweak test for layout." into klp-dev
* commit 'c9d0ee5e8476bbe0d50b726f9cb4cf173d6f6952':
  Tweak test for layout.
2013-11-06 15:26:45 -08:00
Chris Craik
47742d4bb0 Merge "Fix NPE with inPurgeable Bitmaps in getAllocationByteCount" into klp-dev 2013-11-06 23:23:56 +00:00
Craig Mautner
8ed10cff78 am def34eb7: Merge "Ensure bar window state is SHOWING after rotate if visible." into klp-dev
* commit 'def34eb775caf8eb56248d536ec56b39c47e4431':
  Ensure bar window state is SHOWING after rotate if visible.
2013-11-06 15:23:15 -08:00
Ruben Brunk
e77d2a9c62 Merge "Disable face unlock when returning from camera." into klp-dev 2013-11-06 23:22:55 +00:00
Craig Mautner
c9d0ee5e84 Merge "Tweak test for layout." into klp-dev 2013-11-06 23:22:12 +00:00
Craig Mautner
def34eb775 Merge "Ensure bar window state is SHOWING after rotate if visible." into klp-dev 2013-11-06 23:19:58 +00:00
Craig Mautner
f961b3c5b6 Tweak test for layout.
Return to old way of only laying out Keyguard on configuration change
and add a new qualifier that does a layout if a window is part of an
opening app. This qualifier allows apps that handle their own
configuration changes to be notified of screen changes after the
configuration has changed. Apps that do not handle their own
configuration changes find their way into this code because their
surfaces are recreated by default and mHaveFrame is false.

This fixes bug 11544694 and passes the test of all bugs listed in CL
ag/383579.

Change-Id: I3a679b27eb4a2c5210957bcd4ae2f10b46f6e076
2013-11-06 14:52:36 -08:00
Adam Powell
a82be59edd Merge toast frame assets, update themes, etc. accordingly
Bug 11355837

Change-Id: Ie221b7a8490a65c744e06474fb68f2f123762d5d
2013-11-06 14:31:07 -08:00
Craig Mautner
b9132543b0 am a724d865: Merge "Fix incorrect looping limits." into klp-dev
* commit 'a724d865372530e01e4bb14751e0305da9bc377b':
  Fix incorrect looping limits.
2013-11-06 14:22:26 -08:00
Craig Mautner
a724d86537 Merge "Fix incorrect looping limits." into klp-dev 2013-11-06 22:20:25 +00:00
John Spurlock
c23bd80b38 Ensure bar window state is SHOWING after rotate if visible.
Bug:11544694
Change-Id: Ied56f01a931f33437bdc05d026006cabcdef0149
2013-11-06 17:09:51 -05:00
Chris Craik
222f2ad294 Fix NPE with inPurgeable Bitmaps in getAllocationByteCount
bug:11556330
Change-Id: I430136ea15baeb60adfb9bb2acdde9505ce707fe
2013-11-06 14:01:28 -08:00
Craig Mautner
db5c4fb864 Fix incorrect looping limits.
One cannot iterate across an entire list if one both removes an entry
and increments the index into the list. Do one or the other or you
will end up with bugs like 11556768 which is now fixed.

Change-Id: I57f1ad13075a005cae3c1cbfae10e230d9af143a
2013-11-06 13:55:08 -08:00
John Spurlock
20dc49235e am 10b9ac80: Merge "Fix lockscreen camera preview position in RTL." into klp-dev
* commit '10b9ac807f7cc0817e8dd4b96d587ccd41f8f177':
  Fix lockscreen camera preview position in RTL.
2013-11-06 13:52:15 -08:00
John Spurlock
10b9ac807f Merge "Fix lockscreen camera preview position in RTL." into klp-dev 2013-11-06 21:48:41 +00:00
Jim Miller
78244c83fb am 32293469: Merge "Fix issue where transport control shows up off-screen on tablets" into klp-dev
* commit '322934699433d703fa35505d72028abbcf8ce45f':
  Fix issue where transport control shows up off-screen on tablets
2013-11-06 13:19:27 -08:00
Jim Miller
3229346994 Merge "Fix issue where transport control shows up off-screen on tablets" into klp-dev 2013-11-06 21:15:17 +00:00
Michael Wright
ce89135a53 am 6a29778e: Merge "Continue synthesizing data even after brightness adjustment" into klp-dev
* commit '6a29778eeb836fe01993b6dbd3734d8085f48015':
  Continue synthesizing data even after brightness adjustment
2013-11-06 12:35:03 -08:00
Michael Wright
6a29778eeb Merge "Continue synthesizing data even after brightness adjustment" into klp-dev 2013-11-06 20:33:08 +00:00
Maxim Siniavine
ca76692417 Fix BandwidthTest to report correct stats.
The test used to report report stats for a random uid. Fixed it to report
stats for the Instrumentation uid or download manager uid, depending on the test.

Change-Id: I089162c19e25cbf0dfb05645a9a1018dd7567423
2013-11-06 12:11:07 -08:00
Baligh Uddin
1c1e2da8c0 Import translations. DO NOT MERGE
Change-Id: I74c56a144553ebe2d3d8587537f0d160fe3c6840
Auto-generated-cl: translation import
2013-11-06 12:05:23 -08:00
Baligh Uddin
3b79bf493c Import translations. DO NOT MERGE
Change-Id: I13dd4dfd6492c31975cd61e28caeea940a5f66cb
Auto-generated-cl: translation import
2013-11-06 11:53:23 -08:00
John Spurlock
b6c3b20d71 Fix lockscreen camera preview position in RTL.
Bug:11263914
Change-Id: Ic3e5157ceb82495d10afd74b3af2655434a9467c
2013-11-06 14:44:54 -05:00
Victoria Lease
30a3ef6c85 am c89eaf91: Merge "Fix for Typeface.create(Typeface, style) semantics changed in KK" into klp-dev
* commit 'c89eaf916ad7e88565d2a15991432b22cd9099ff':
  Fix for Typeface.create(Typeface, style) semantics changed in KK
2013-11-06 11:33:35 -08:00
Victoria Lease
c89eaf916a Merge "Fix for Typeface.create(Typeface, style) semantics changed in KK" into klp-dev 2013-11-06 19:30:23 +00:00
Raph Levien
4f0064fa34 Fix for Typeface.create(Typeface, style) semantics changed in KK
This is a fix for bug 11553661. The "closest match" heuristic for
resolving a typeface when an exact match was not found changed between
JB MR2 and KK, resulting in loss of custom typeface when StyleSpan was
applied. This patch reinstates the logic that had been present. Also
reported externally as:
https://code.google.com/p/android/issues/detail?id=61771

Change-Id: Ia432fca07c4bf3b830ee2487cd8f5267a9cfb7ff
2013-11-06 11:16:01 -08:00
Michael Jurka
f080a24e09 am 04cead14: Merge "Fix calculation of default wallpaper size" into klp-dev
* commit '04cead14b627947df7f1b713c35a3e03bef94286':
  Fix calculation of default wallpaper size
2013-11-06 11:12:33 -08:00
Michael Jurka
04cead14b6 Merge "Fix calculation of default wallpaper size" into klp-dev 2013-11-06 19:06:50 +00:00
Ruben Brunk
21a99ddd9c Disable face unlock when returning from camera.
Bug: 11063890

- Workaround for bug 11063890.  Avoids the acquire/release
  race when resuming face unlock while pausing the camera
  widget.
Change-Id: I0a58f3a07f346da72ea55772242b4f9c54537235
2013-11-06 10:21:43 -08:00
Patrick Tjin
5eecb9e8d4 am bd9513f3: Merge "Add HSPA+ to BatteryStats" into klp-dev
* commit 'bd9513f3b27a9a15a12474ff5b270abd69a013a1':
  Add HSPA+ to BatteryStats
2013-11-06 10:16:56 -08:00
Patrick Tjin
bd9513f3b2 Merge "Add HSPA+ to BatteryStats" into klp-dev 2013-11-06 18:12:47 +00:00
Ruben Brunk
6327136cdb am 6fe15c3d: Merge "gcam: Avoid leaking repeating CaptureRequests." into klp-dev
* commit '6fe15c3d5f1b2759b06f3ce489071bb7708d7f6b':
  gcam: Avoid leaking repeating CaptureRequests.
2013-11-06 10:09:57 -08:00
Ruben Brunk
6fe15c3d5f Merge "gcam: Avoid leaking repeating CaptureRequests." into klp-dev 2013-11-06 18:07:28 +00:00
Adam Lesinski
35040fdc42 am 1aac29c3: Merge "Fix off-by-one issue when removing from Iterator" into klp-dev
* commit '1aac29c3dd6feece257882469d9825255c69c736':
  Fix off-by-one issue when removing from Iterator
2013-11-06 09:51:14 -08:00
Adam Lesinski
1aac29c3dd Merge "Fix off-by-one issue when removing from Iterator" into klp-dev 2013-11-06 17:49:21 +00:00