Commit Graph

277484 Commits

Author SHA1 Message Date
Adam Lesinski
cde80e68c6 Merge "RRO: Synchronize access to overlays.list" into nyc-mr1-dev
am: baac85ec1f

Change-Id: I713561fcfdf28250e406fc9d7b497c2b70b287ca
2016-10-12 21:03:13 +00:00
Martin Wallgren
dce79f10ba RRO: Synchronize access to overlays.list
am: 0fbb608110

Change-Id: I44a716df3954b6d2d58d7c9784f8b55cf041b10b
2016-10-12 21:03:11 +00:00
Doris Liu
64d24d6631 Merge "Fix SkShader leak for Gradient VectorDrawable and test" into nyc-mr1-dev
am: 269f76a7d2

Change-Id: Ia9a56b7c8c20d47e9dcc448c59061784d4edf865
2016-10-12 20:56:58 +00:00
Doris Liu
c47199bb6a Fix SkShader leak for Gradient VectorDrawable and test
am: fc9cf72339

Change-Id: I493a8c52cd4cca79971a4fd2e3eed7f566ce8ecd
2016-10-12 20:56:55 +00:00
Adam Lesinski
baac85ec1f Merge "RRO: Synchronize access to overlays.list" into nyc-mr1-dev 2016-10-12 20:55:55 +00:00
Doris Liu
269f76a7d2 Merge "Fix SkShader leak for Gradient VectorDrawable and test" into nyc-mr1-dev 2016-10-12 20:44:50 +00:00
Robert Carr
e441e7f15f Correct recently introduced logic error in seamless rotation detection.
The code detecting whether we should rotate seamlessly (which for
example we do not support for 180 degree rotations) was moved to before
mRotation was updated, so it was always passing the same value for old
and new rotation, and we were failing to perform the 180 degree rotation
check. Correct this.

Test: Rotate the device 180 degrees at once while in Camera. Things look ok.
Bug: 32025371
Change-Id: I0ef08e8cc4e5d87fdff6d839381196c2b52e71d5
2016-10-12 12:50:32 -07:00
Bert McMeen
137c545e4e Docs: Updates to the Download/Test file related to watch setup
Bug: 32091353
Change-Id: I8b70b33c537c2edbaf0fbd09e62dc9564f03cd07
2016-10-12 12:49:48 -07:00
Garfield Tan
d91dd17f36 DO NOT MERGE: Not to crash DocumentsUI if moving cursor fails.
Bug: 31945164
Bug: 30348114
Change-Id: I3ac675c83379dc269ca8e0ff1678dc3979df5252
2016-10-12 12:31:15 -07:00
Selim Cinek
3e77984434 Fixed a bug where the system could crash when expanding
When expanding a notification it could disappear and the
system would crash.

Test: Manual, expand notification group and have it removed while
doing so.
Change-Id: I421ab0cf7a9292e6894529c80784ba0989071fb0
Fixes: 31941185
2016-10-12 12:08:57 -07:00
Robert Sesek
d414158f79 resolve merge conflicts of 7031dac to nyc-mr1-dev-plus-aosp
Change-Id: I71fbde71dd97abab77f798b621972fb1d26af799
2016-10-12 15:03:19 -04:00
Shreyas Basarge
aef552bc28 Merge "Add a delay before scheduling local syncs" into nyc-mr1-dev am: d5541b987a
am: e04c7f151b

Change-Id: I0f57a66ce33a44e56568a7a53f71424f032ff3f1
2016-10-12 17:26:56 +00:00
Shreyas Basarge
471384106a Add a delay before scheduling local syncs am: ba1f790369
am: 50a22690f8

Change-Id: Ie4badc26375427be86788fefc3d5e84cfcdab933
2016-10-12 17:25:58 +00:00
Shreyas Basarge
e04c7f151b Merge "Add a delay before scheduling local syncs" into nyc-mr1-dev
am: d5541b987a

Change-Id: If91f2edc57109308b34be67b9f3861b84147153f
2016-10-12 17:19:59 +00:00
Shreyas Basarge
50a22690f8 Add a delay before scheduling local syncs
am: ba1f790369

Change-Id: I4c880c4111f99d80cee7b960a97133cc0b86d61c
2016-10-12 17:19:56 +00:00
Shreyas Basarge
d5541b987a Merge "Add a delay before scheduling local syncs" into nyc-mr1-dev 2016-10-12 17:09:56 +00:00
Selim Cinek
bd740cd56a Fixed an issue where the emergency affordance would show
If a device isn't voice capable, it shouldn't show the emergency
option.

Test: use tablet which isn't voice capable, insert indian sim and
make sure no emergency option is displayed in global actions.
Bug: 31953703
Change-Id: I351e87320f3ffec76d1c1fc5aac78e5c48c0ac54
2016-10-12 09:33:39 -07:00
Shinji Sogo
9c84160545 Merge "Don't compare FQDN with providerFriendlyName"
am: aae64557e1

Change-Id: Ib6b070b49221ee39fe45048e54f71c34d637c05a
2016-10-12 15:58:47 +00:00
Treehugger Robot
aae64557e1 Merge "Don't compare FQDN with providerFriendlyName" 2016-10-12 15:44:35 +00:00
Adam Lesinski
1b9303e8f0 Merge "RRO: Synchronize access to overlays.list"
am: 78382db820

Change-Id: I000ec313e1ea90d56d89e2b784b9d2104bd0f7fa
2016-10-12 15:03:20 +00:00
Martin Wallgren
0fbb608110 RRO: Synchronize access to overlays.list
idmap --scan is executed as a part of the pre-loading in ZygoteInit.
The pre loading is executed in parallel for each supported architecture
(32/64 bit). This will cause a race condition in the creation of the
overlays.list file and the idmap files for the system overlays.

Apply flock on overlays.list to prevent the file from being thrown away
and recreated when it is in use by another Zygote.

Cherry-picked from AOSP.

Bug: 28032298
Test: manual
Change-Id: I51d39f121d207b11181340b68b164b60020f0c61
2016-10-12 14:56:31 +00:00
Adam Lesinski
78382db820 Merge "RRO: Synchronize access to overlays.list" 2016-10-12 14:52:49 +00:00
Daniel Sandler
cca515a24d Merge "Essential packages' notifications can no longer be silenced." into nyc-mr1-dev am: 52cd2948a6
am: bfc83493fe

Change-Id: I634618ab4cdebe58118a602387a0c561866b0089
2016-10-12 13:56:14 +00:00
Dan Sandler
15994be698 Essential packages' notifications can no longer be silenced. am: 028a60f003
am: b50c46a64e

Change-Id: I12e95285baabe5356c3f04e17587afecd3caf292
2016-10-12 13:55:17 +00:00
Daniel Sandler
bfc83493fe Merge "Essential packages' notifications can no longer be silenced." into nyc-mr1-dev
am: 52cd2948a6

Change-Id: I00c94e1299651f12e030904a77396b74e825d8d9
2016-10-12 13:49:15 +00:00
Dan Sandler
b50c46a64e Essential packages' notifications can no longer be silenced.
am: 028a60f003

Change-Id: Ic3e80d30c99e448c7719d5d40c9e957df94a6af6
2016-10-12 13:49:11 +00:00
Daniel Sandler
52cd2948a6 Merge "Essential packages' notifications can no longer be silenced." into nyc-mr1-dev 2016-10-12 13:39:02 +00:00
Jorim Jaggi
f1fed4de21 Merge "Fix split-screen flash issue"
am: 6738617652

Change-Id: I5b4d32c30460f2b26fd31cc8dcf1b0b6463dbf28
2016-10-12 13:36:11 +00:00
Jorim Jaggi
6738617652 Merge "Fix split-screen flash issue" 2016-10-12 13:24:46 +00:00
Michal Karpinski
6dbf67fc48 Don't expose default strong auth timeout as constant
The admin can instead use the value of 0 to reset to default.

Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java

Bug: 31430135
Change-Id: I0d6b29ca4eca65d7ca72a8975a0c28c9050a946c
(cherry picked from commit 943aabd11c)
2016-10-12 09:34:12 +00:00
Yuta Yamada
99fd277a47 Fix memory leak of Dnd tile
The instance of Dnd tile leaks when user taps the edit button
of Quick Settings. To fix this issue, QSTile#destroy should be
called when the tile is no longer needed.

Bug: 32103239
Test: manual - go to Quick Settings -> Edit repeatedly

Change-Id: I9bc9ee836be5c8e46eb1ccd202bd5cc50070ef47
2016-10-12 08:45:11 +00:00
Martin Wallgren
f12af5e907 RRO: Synchronize access to overlays.list
idmap --scan is executed as a part of the pre-loading in ZygoteInit.
The pre loading is executed in parallel for each supported architecture
(32/64 bit). This will cause a race condition in the creation of the
overlays.list file and the idmap files for the system overlays.

Apply flock on overlays.list to prevent the file from being thrown away
and recreated when it is in use by another Zygote.

Bug: 28032298

Change-Id: I51d39f121d207b11181340b68b164b60020f0c61
2016-10-12 15:42:04 +09:00
Erik Wolsheimer
c806566082 Merge "Change 2nd and later burn-in protection intervals to 2 mins" into cw-f-dev
am: 56746f9830

Change-Id: I89b58af12ee5940ad3f4cbb93f9777eeb641df86
2016-10-12 05:13:00 +00:00
Erik Wolsheimer
5b9d419965 Change 2nd and later burn-in protection intervals to 2 mins
am: 3b3940d381

Change-Id: I65eb928e9d76df790826cd021753c240e957cdad
2016-10-12 05:12:55 +00:00
TreeHugger Robot
56746f9830 Merge "Change 2nd and later burn-in protection intervals to 2 mins" into cw-f-dev 2016-10-12 05:03:55 +00:00
Mats 2, Åkesson
5a18072fed Customization of LTE Signal Bars
Make LTE signal bar thresholds customizable to any values.
Some operators require values which are not supported by current 2 level
configurations.

Test: manual
Bug: 28122517
Change-Id: Ib7f492d8b4fc5ba8a71bc2e978ae6572f2485e8f
2016-10-12 13:56:00 +09:00
Rebecca Silberstein
d1e4dbf002 Merge "Tethering: check if configManager is null"
am: e011bf80c5

Change-Id: I4aae5973e9b3efc4cf9e0ae6dd15f4b6871d87e3
2016-10-12 04:01:43 +00:00
Treehugger Robot
e011bf80c5 Merge "Tethering: check if configManager is null" 2016-10-12 03:48:03 +00:00
Svetoslav Ganov
c573661f4c Allow SetupWizard to do WiFi scans if location off
Location permission is needed for apps to do WiFi scans
and if location is globally off no app can scan too. It
is possible that an OEM does not want location to be on
until the user agrees to that or a device owner can turn
location off before setup. As a result setup wizard
cannot show the WiFi networks preventing the user form
logging in. This change allows the setup wizard component
to perform WiFi scans even if location is globally off.

bug:29577364

Change-Id: I6b7c5dca76b8c8ee6051ea2dad3cec6879683524
2016-10-12 02:58:26 +00:00
Svetoslav Ganov
b2457c3704 Allow SetupWizard to do WiFi scans if location off
Location permission is needed for apps to do WiFi scans
and if location is globally off no app can scan too. It
is possible that an OEM does not want location to be on
until the user agrees to that or a device owner can turn
location off before setup. As a result setup wizard
cannot show the WiFi networks preventing the user form
logging in. This change allows the setup wizard component
to perform WiFi scans even if location is globally off.

bug:29577364

Change-Id: Ic56bfb7fb3818658a843d309b67ef37324045f67
2016-10-12 02:43:43 +00:00
Erik Wolsheimer
3b3940d381 Change 2nd and later burn-in protection intervals to 2 mins
BUG: 31855095
Change-Id: I969e24d2db882109855b74430b806247c4fbf6cb
2016-10-11 19:25:17 -07:00
Alan Viverette
56d5f228da Merge "Add note about density scaling behavior to setImageURI" into nyc-mr1-dev am: d35d3c98e4
am: 250262a313

Change-Id: I61df0091ee1785947cb01fde77bda1a5a0460e31
2016-10-12 01:42:54 +00:00
Alan Viverette
0754f59c4a Add note about density scaling behavior to setImageURI am: ac21e56f63
am: 74c6d9bd3f

Change-Id: I5b6f9d978d61aedac2c53dcf75dea449468d3c7b
2016-10-12 01:42:06 +00:00
Alan Viverette
250262a313 Merge "Add note about density scaling behavior to setImageURI" into nyc-mr1-dev
am: d35d3c98e4

Change-Id: Id6921412886e72fb70fdbb0b23806c88a6638ae4
2016-10-12 01:36:36 +00:00
Alan Viverette
74c6d9bd3f Add note about density scaling behavior to setImageURI
am: ac21e56f63

Change-Id: I4a85ae20023dd0589227ca7684a965a246f451fd
2016-10-12 01:36:33 +00:00
Julia Reynolds
1326f35397 Merge "Stop posting config asynchronously." into nyc-mr1-dev am: 6c816c6707
am: 331eea4900

Change-Id: Ica84c11c5edecc2deee90cfd580f60198aefcc9a
2016-10-12 01:25:06 +00:00
TreeHugger Robot
d35d3c98e4 Merge "Add note about density scaling behavior to setImageURI" into nyc-mr1-dev 2016-10-12 01:24:55 +00:00
Julia Reynolds
86628d4f12 Stop posting config asynchronously. am: 3ebe72b26a
am: 532ebb02a7

Change-Id: I7698cde7696c967f9cd8659b3da50dbc9b4ea2bc
2016-10-12 01:24:02 +00:00
Doris Liu
fc9cf72339 Fix SkShader leak for Gradient VectorDrawable and test
This CL fixes a SkShader leak in VD when applying local matrix
to the shader. Specifically, the usage of newWithLocalMatrix(...)
increments the shader's ref count in every draw() call for
Gradient VectorDrawable, whereas there's no balancing call to
decrement the ref count in draw(). In this CL, we assume
the ownership of the shader returned from newWithLocalMatrix(...)
to ensure the correct ref count management.

Also, add test to verify that shader is no longer being leaked

BUG: 32067647
Test: this CL

Change-Id: Ic15fe46cde06a73d81b44e2d3c56b51907344cc0
2016-10-12 01:22:11 +00:00
Julia Reynolds
331eea4900 Merge "Stop posting config asynchronously." into nyc-mr1-dev
am: 6c816c6707

Change-Id: I1e30c8b770d6f3c719c3fcb2964c8ab30fa79542
2016-10-12 01:18:37 +00:00