112659 Commits

Author SHA1 Message Date
Dianne Hackborn
d585f95406 Merge "Fix issue #10921903: CTS: android.os.cts.ParcelTest#testReadBundle..." into klp-dev 2013-10-03 17:23:04 +00:00
Daniel Sandler
0a66052837 Merge "Goo goo ga joob." into klp-dev 2013-10-03 17:20:21 +00:00
Dianne Hackborn
4a7d824c3b Fix issue #10921903: CTS: android.os.cts.ParcelTest#testReadBundle...
...fails from KRS84 across all platforms

My fix for issue #10807048 was wrong, wrong, wrong.  The problem was
actually just a stupid mistake in ArrayMap.erase().  This makes it
all right.

Change-Id: I762f7a2d5100bceb86a091ab3d6368edc21b4266
2013-10-03 10:19:20 -07:00
Jeff Sharkey
fe5bf7a7c7 Merge "Fix mount path prefix checking." into klp-dev 2013-10-03 17:18:38 +00:00
Marco Nelissen
95867a6524 Merge "Add PowerManager method to assign blame to a single uid" into klp-dev 2013-10-03 16:34:57 +00:00
Jeff Sharkey
5786a278a5 Fix mount path prefix checking.
Uncovered as part of writing CTS tests.

Bug: 10577541
Change-Id: I7832bcd551bedeea0b2ee5d6926aba6ac9bd0fd2
2013-10-03 09:32:01 -07:00
Marco Nelissen
d983ba5cac Add PowerManager method to assign blame to a single uid
Currently used by audioflinger to account for recording wakelocks.
b/10985160

Change-Id: I18fc8487f2a197bf02b5269a4bcae9e75b6c2207
2013-10-03 08:49:36 -07:00
John Spurlock
8e0ca288fe Window decor rect should not include the nav bar if hidden.
Bug:11059726
Change-Id: Ia445af030ac34da8e361d909978caa3f2793cfda
2013-10-03 11:46:06 -04:00
Daniel Sandler
2fdb68b3c2 Goo goo ga joob.
Bug: 10240151
Change-Id: I7b702c397cb9f5ac3294ae27ffc6185df6a64678
2013-10-03 00:19:35 -04:00
Baligh Uddin
778c2de060 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-03 03:45:22 +00:00
Baligh Uddin
8e68d5fceb Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-03 03:41:47 +00:00
Baligh Uddin
65f57e5f49 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-03 03:41:26 +00:00
Baligh Uddin
68e70f9b14 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-03 03:41:12 +00:00
Baligh Uddin
a6b90f39f1 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-03 03:40:55 +00:00
John Spurlock
0ea4a5fb8d Merge "Replace linear GradientDrawable with asset-based approach." into klp-dev 2013-10-03 02:54:48 +00:00
Craig Mautner
02fa2332ac Merge "Make DimLayer size dependent on stack layout." into klp-dev 2013-10-03 02:49:31 +00:00
John Spurlock
e660ecc436 Merge "Store decor rects per window for transition cropping." into klp-dev 2013-10-03 02:28:58 +00:00
John Spurlock
7057d2c3a9 Replace linear GradientDrawable with asset-based approach.
And disallow fully transparent nav bar when vertical.

Bug: 10967264
Change-Id: I42adf6de1eeb91e1b1a24dc6c7a64c8d86017b2d
2013-10-02 22:24:12 -04:00
John Reck
b885435c7c Merge "Update liblayout" into klp-dev 2013-10-03 02:00:37 +00:00
John Reck
5623d5f80f Update liblayout
Fix build

Change-Id: I6c9223205874f7709fcf9e69a7779c54f52ba48b
2013-10-02 18:59:10 -07:00
Christopher Tate
ef4f8222fc Merge "Fix cross-process race in initial files/cache dir creation" into klp-dev 2013-10-03 01:58:47 +00:00
Adam Lesinski
d65825ab1c Merge "Private flags are masked in correct variable" into klp-dev 2013-10-03 01:52:18 +00:00
Svetoslav
9907a109ce Merge "Fix screen magnifier scaling due to ScaleGestureDetector changes." into klp-dev 2013-10-03 01:17:10 +00:00
Christopher Tate
cc866da37d Fix cross-process race in initial files/cache dir creation
Apps that run components in separate processes, especially that
host providers in separate processes, can hit a race condition
where two processes simultaneously discover that the files/cache
dir must be created, then each calls mkdirs().  One of these will
fail not because the dir couldn't be created, but because it lost
the race and mkdirs() returned false to signal that it already
existed -- and this was assumed to be a hard failure.

We now recheck existence after a mkdirs() failure to discern this
case and proceed appropriately.

Bug 10515463

Change-Id: I13fbdd838921223f75ab11faa47291c82b21c650
2013-10-02 18:16:24 -07:00
John Reck
9a93f6f039 Merge "Reduce max recents on lowram" into klp-dev 2013-10-03 01:13:58 +00:00
Svetoslav
1fdbaa100c Fix screen magnifier scaling due to ScaleGestureDetector changes.
The scale gesture detector has a new behavior to make onScale
callbacks during swipe after a double tap. The screen magnification
is triggered after a trippe tap so if the user trippe taps and
holds to do a temporary magnification and tries to change the
zoom level with another finger, erroneous results are obtained.

The ScaleGestureDetector uses an APIs level check for the new
behavior but the ScreenMagnifier is a platform feature. We now
explicitly ask for the old behavior.

bug:11033376

Change-Id: I0dfb14dd3abcaa34ad1f40447c631b4203797378
2013-10-02 17:53:00 -07:00
John Reck
172e87ce51 Reduce max recents on lowram
Bug: 10918599
 Reduce the number of recent tasks to 10 on lowram devices
 Use RGB_565 on low ram devices for thumbnails instead of ARGB_8888
 Combined this saves ~9MB across system_process and systemui

Change-Id: Ieddcb512c7341a90097bc7cbc72d7355a775b416
2013-10-02 17:51:11 -07:00
Craig Mautner
c7b8a10040 Make DimLayer size dependent on stack layout.
Only use the stack bounds for the DimLayer bounds if there is more
than one stack on a layer. Otherwise cover the entire screen (and
more) with the DimLayer. This way there are no exposed regions when
rotating.

Fixes bug 10428085.

Change-Id: I7bfff12b69d59e86610621c498dab35cf0db8eb5
2013-10-02 16:49:52 -07:00
Scott Main
9ca82d333c am ff757598: am 542ddc4c: am f5468f6d: update dashboard stats for 10/2/13
* commit 'ff7575985a8bfc80adbf405ffb40f77b2c227268':
  update dashboard stats for 10/2/13
2013-10-02 16:39:14 -07:00
Scott Main
ff7575985a am 542ddc4c: am f5468f6d: update dashboard stats for 10/2/13
* commit '542ddc4c3b415cc1502e69c15c48595f9c7e402d':
  update dashboard stats for 10/2/13
2013-10-02 16:36:07 -07:00
Scott Main
542ddc4c3b am f5468f6d: update dashboard stats for 10/2/13
* commit 'f5468f6d42ad7bbc2f0ce8cb557330905914c3ec':
  update dashboard stats for 10/2/13
2013-10-02 16:33:37 -07:00
Scott Main
f5468f6d42 update dashboard stats for 10/2/13
Change-Id: I7d87142c6ed6b582582435933f5dbb2fcd0f2cac
2013-10-02 16:29:29 -07:00
Adam Lesinski
95c42974f7 Private flags are masked in correct variable
Newly added private flags were being masked in the public flag variable
as opposed to the correct privateFlags variable.

bug:11033280
bug:11043194
Change-Id: Idda3a70a083457f3f1b7d4b46d231f4a7e704cf0
2013-10-02 16:18:55 -07:00
Craig Mautner
4aca4c1520 Merge "Don't reorder windows on non-default display." into klp-dev 2013-10-02 22:19:19 +00:00
Craig Mautner
85689b9f48 Don't reorder windows on non-default display.
At least not until we add tasks to those displays.

Fixes bug 10264736.

Change-Id: I3baed4bf324c4a11bbf5b07755218c2992f5af39
2013-10-02 15:13:03 -07:00
John Spurlock
4664623c30 Store decor rects per window for transition cropping.
Instead of keeping a single global system decor rect around
in WindowManagerService, calculate and store policy-defined
system-decor frame for each window.

The per-window decor rect is useful for smooth transitions, since it
determines window cropping during transition animations.

Bug:10938001
Change-Id: Ice6652aa5946027c45c0b7ab4e46473a0f8e3f90
2013-10-02 18:12:16 -04:00
Svetoslav
913f87ef63 Merge "IndexOutOfBoundsException in the PrintSpoolerService dump." into klp-dev 2013-10-02 22:00:50 +00:00
Alan Viverette
4c6b29006f Merge "Clear accessibility focus from recycled views when needed" into klp-dev 2013-10-02 20:51:10 +00:00
Svetoslav
b67a637e60 IndexOutOfBoundsException in the PrintSpoolerService dump.
The dump code in PrintSpoolerService was relying on being
called only as a result of "adb shell dumpsys print" which
is apparently wrong. As a result the code was making wrong
assumption about the input arguments.

bug:11046234

Change-Id: Ie38f3cc5f17cac98b808fef6d6bbeaca22a62ef0
2013-10-02 12:40:18 -07:00
Baligh Uddin
ee379ac3f3 Import translations. DO NOT MERGE
Change-Id: Ibc6ea940342fcfa81edfed6efc2d8f50d3106398
Auto-generated-cl: translation import
2013-10-02 12:28:22 -07:00
Vinit Deshapnde
e42325c765 Merge "Fix incorrect VPN time" into klp-dev 2013-10-02 19:23:23 +00:00
Svetoslav
228a7d2a15 Merge "Sometimes printer selection from all printers activity does not work." into klp-dev 2013-10-02 19:15:10 +00:00
Baligh Uddin
e2aea6f859 Import translations. DO NOT MERGE
Change-Id: I6630568359b173cd95d9b76743f682c6e92c7371
Auto-generated-cl: translation import
2013-10-02 12:03:19 -07:00
Vinit Deshapnde
2b862e5e75 Fix incorrect VPN time
First, startTime's default value is -1 and not 0, so use it to test
if the startTime is set. Also, startTime isn't being set when connecting
legacy VPN; this change fixes that too.


Bug: 10985174
Change-Id: Ibf52b8f489b18c96efba501b76aa73e9a9e0e3e8
2013-10-02 11:50:39 -07:00
Baligh Uddin
2e31976806 Import translations. DO NOT MERGE
Change-Id: Ie64b4500b01903f9c0ad88b607d610d8a76b17a3
Auto-generated-cl: translation import
2013-10-02 11:28:23 -07:00
Baligh Uddin
06b3280ddb Import translations. DO NOT MERGE
Change-Id: Ibd657855a970ecb2055f7adf4ca57c0d4825a8ee
Auto-generated-cl: translation import
2013-10-02 11:16:48 -07:00
Baligh Uddin
82b8c8c73c Import translations. DO NOT MERGE
Change-Id: I4aa7e1ed8ccce520518231a116608bc8e013bb4c
Auto-generated-cl: translation import
2013-10-02 11:12:53 -07:00
Craig Mautner
93cb8f6b78 Merge "Create new window-side task on demand." into klp-dev 2013-10-02 17:45:47 +00:00
Jeff Sharkey
437befc127 Merge "Docs change: annotate media intent actions." into klp-dev 2013-10-02 17:39:18 +00:00
Craig Mautner
31482a7fe1 Create new window-side task on demand.
The activity manager can create a new task under certain
circumstances in resetTargetTaskIfNeededLocked(). In that case the
window manager was not told to create a new task. This fix creates the
task in window manager when it recognizes that there is a new task
required.

Fixes bug 10412588.

Change-Id: Ife9ecfeb7f53f9df5950322c9359c836adc258a2
2013-10-02 10:35:17 -07:00