117163 Commits

Author SHA1 Message Date
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
90be73457e am aa719e92: am c157cac9: Merge "System package permission decls take precedence over 3rd party apps\'" into klp-dev
* commit 'aa719e92ffc2193db68c86b97fce291c27d5d4dd':
  System package permission decls take precedence over 3rd party apps'
2013-11-06 16:59: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
Chris Craik
2f70da2bc5 am 6ed16a89: am 0b807d2e: Merge "Update the layer\'s alpha value upon composition of the layer"
* commit '6ed16a89d836a33b9242f91b05e8ecb149abf909':
  Update the layer's alpha value upon composition of the layer
2013-11-06 16:09:54 -08:00
Adam Powell
a719f797be am b3651b6f: am 2942053c: Merge "Merge toast frame assets, update themes, etc. accordingly" into klp-dev
* commit 'b3651b6fc3cf7450bf7dc47d5f7a882d5e220087':
  Merge toast frame assets, update themes, etc. accordingly
2013-11-06 16:08:14 -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
Dirk Dougherty
1b753cc96f am 1ae704b8: resolved conflicts for merge of b08447ba to klp-ub-dev
* commit '1ae704b87efbcae9aff46776e27e72678f92ce42':
2013-11-06 15:55:12 -08: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
4899398dca am baba771c: am 47742d4b: Merge "Fix NPE with inPurgeable Bitmaps in getAllocationByteCount" into klp-dev
* commit 'baba771c85ec4a8d56e07c0d963c663a99cfa0e3':
  Fix NPE with inPurgeable Bitmaps in getAllocationByteCount
2013-11-06 15:30:29 -08:00
Ruben Brunk
df049d6f22 am 9aed2ae0: am e77d2a9c: Merge "Disable face unlock when returning from camera." into klp-dev
* commit '9aed2ae0bd03edcaef3dd3cac8795055cf8d2b43':
  Disable face unlock when returning from camera.
2013-11-06 15:30:26 -08:00
Craig Mautner
e5bdd85a99 am ea18624a: am c9d0ee5e: Merge "Tweak test for layout." into klp-dev
* commit 'ea18624ae557a06e49748964f951a81fd6c48370':
  Tweak test for layout.
2013-11-06 15:30:23 -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
Craig Mautner
a2dad41e75 am 8ed10cff: am def34eb7: Merge "Ensure bar window state is SHOWING after rotate if visible." into klp-dev
* commit '8ed10cff78460a0cc426dc5c1426a9edaafe3e67':
  Ensure bar window state is SHOWING after rotate if visible.
2013-11-06 15:26:49 -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
f6744886f2 am b9132543: am a724d865: Merge "Fix incorrect looping limits." into klp-dev
* commit 'b9132543b02e76e7ca8f043ed68667a189b64cc0':
  Fix incorrect looping limits.
2013-11-06 14:25:32 -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
John Spurlock
cd6258b50f am 20dc4923: am 10b9ac80: Merge "Fix lockscreen camera preview position in RTL." into klp-dev
* commit '20dc49235e213d40f75dca9005e0e248931ceff4':
  Fix lockscreen camera preview position in RTL.
2013-11-06 13:55:18 -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
5a31605a03 am 78244c83: am 32293469: Merge "Fix issue where transport control shows up off-screen on tablets" into klp-dev
* commit '78244c83fb633895c95f3c93ab874be979cf42e3':
  Fix issue where transport control shows up off-screen on tablets
2013-11-06 13:22:16 -08: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
09bfaa7991 am ce89135a: am 6a29778e: Merge "Continue synthesizing data even after brightness adjustment" into klp-dev
* commit 'ce89135a53b1f5c0e7f34dbae12794f4421d9390':
  Continue synthesizing data even after brightness adjustment
2013-11-06 12:36:41 -08: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
dd3776d673 am 30a3ef6c: am c89eaf91: Merge "Fix for Typeface.create(Typeface, style) semantics changed in KK" into klp-dev
* commit '30a3ef6c85011ba82a777e6eef7f026323019f35':
  Fix for Typeface.create(Typeface, style) semantics changed in KK
2013-11-06 11:37:15 -08: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