OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Only full-data back up regular files + directories" into nyc-mr1-dev
Christopher Tate [Thu, 13 Oct 2016 21:13:03 +0000 (21:13 +0000)]
Merge "Only full-data back up regular files + directories" into nyc-mr1-dev
am: b3ca7c26e1

Change-Id: I363cf717193316eaa9ad910284bb3140c6684dbc

7 years agoOnly full-data back up regular files + directories
Christopher Tate [Thu, 13 Oct 2016 21:13:00 +0000 (21:13 +0000)]
Only full-data back up regular files + directories
am: da2018efeb

Change-Id: I6ecc74ee9613f221e24acca571560bf8190b7073

7 years agoMerge "Only full-data back up regular files + directories" into nyc-mr1-dev
TreeHugger Robot [Thu, 13 Oct 2016 21:06:56 +0000 (21:06 +0000)]
Merge "Only full-data back up regular files + directories" into nyc-mr1-dev

7 years agoMerge "DPM.isProvisioningAllowed(ACTION_PROVISION_MANAGED_DEVICE) should return ...
Greg Plesur [Thu, 13 Oct 2016 21:01:59 +0000 (21:01 +0000)]
Merge "DPM.isProvisioningAllowed(ACTION_PROVISION_MANAGED_DEVICE) should return 'false' for Wear devices after pairing/upgrade." into cw-f-dev

7 years agoMerge "Fix issue #32125907: Intent.replaceUnsafeExtras() corrupts original bundle...
Dianne Hackborn [Thu, 13 Oct 2016 20:36:38 +0000 (20:36 +0000)]
Merge "Fix issue #32125907: Intent.replaceUnsafeExtras() corrupts original bundle" into nyc-mr1-dev
am: 33e56a9e1f

Change-Id: I74c2a5391f8eebf0544447886b14714fbd0202b1

7 years agoFix issue #32125907: Intent.replaceUnsafeExtras() corrupts original bundle
Dianne Hackborn [Thu, 13 Oct 2016 20:31:43 +0000 (20:31 +0000)]
Fix issue #32125907: Intent.replaceUnsafeExtras() corrupts original bundle
am: 851ec49de7

Change-Id: I8a5f8e28f8e4ca7e8fd20abacc0da1dae4055da7

7 years agoMerge "Fix issue #32125907: Intent.replaceUnsafeExtras() corrupts original bundle...
Dianne Hackborn [Thu, 13 Oct 2016 20:21:23 +0000 (20:21 +0000)]
Merge "Fix issue #32125907: Intent.replaceUnsafeExtras() corrupts original bundle" into nyc-mr1-dev

7 years agoMerge "Allow SetupWizard to do WiFi scans if location off" into nyc-mr1-dev
Svetoslav Ganov [Thu, 13 Oct 2016 20:15:19 +0000 (20:15 +0000)]
Merge "Allow SetupWizard to do WiFi scans if location off" into nyc-mr1-dev
am: cba436b312

Change-Id: Iccde94bb855b3461ddb804b69182c439f9c07e1f

7 years agoAllow SetupWizard to do WiFi scans if location off
Svetoslav Ganov [Thu, 13 Oct 2016 20:15:16 +0000 (20:15 +0000)]
Allow SetupWizard to do WiFi scans if location off
am: b2457c3704

Change-Id: I3afe3d8628e8af5806b03b86ea5c866fd454cddd

7 years agoMerge "Allow SetupWizard to do WiFi scans if location off" into nyc-mr1-dev
Svetoslav Ganov [Thu, 13 Oct 2016 20:06:00 +0000 (20:06 +0000)]
Merge "Allow SetupWizard to do WiFi scans if location off" into nyc-mr1-dev

7 years agoOnly full-data back up regular files + directories
Christopher Tate [Thu, 13 Oct 2016 19:12:29 +0000 (12:12 -0700)]
Only full-data back up regular files + directories

Ignore every filesystem entity that is not a regular file or directory.
In particular, we now ignore not only symlinks but also sockets, pipes,
et cetera.

Bug 32143362

Change-Id: If51b54df1f7a643af145eb15bf12d389d19f8780

7 years agoDPM.isProvisioningAllowed(ACTION_PROVISION_MANAGED_DEVICE) should
Greg Plesur [Mon, 10 Oct 2016 20:23:49 +0000 (16:23 -0400)]
DPM.isProvisioningAllowed(ACTION_PROVISION_MANAGED_DEVICE) should
return 'false' for Wear devices after pairing/upgrade.

BUG: 32019375
Change-Id: I2563efe58c98c5dd8440891e478c89e093d8d9ac

7 years agoMerge "Retain allowBackup annotation when system+lock wallpaper becomes lock only...
Chris Tate [Thu, 13 Oct 2016 19:04:43 +0000 (19:04 +0000)]
Merge "Retain allowBackup annotation when system+lock wallpaper becomes lock only" into nyc-mr1-dev
am: 4bd56fbbee

Change-Id: I19fae35338016bbbb7de07e8c9d978bab2e088fe

7 years agoRetain allowBackup annotation when system+lock wallpaper becomes lock only
Christopher Tate [Thu, 13 Oct 2016 19:04:40 +0000 (19:04 +0000)]
Retain allowBackup annotation when system+lock wallpaper becomes lock only
am: edd8dc83d5

Change-Id: I2f3a6587bb7f53517232cf051a345e2c617b3778

7 years agoMerge "Retain allowBackup annotation when system+lock wallpaper becomes lock only...
Chris Tate [Thu, 13 Oct 2016 18:51:10 +0000 (18:51 +0000)]
Merge "Retain allowBackup annotation when system+lock wallpaper becomes lock only" into nyc-mr1-dev

7 years agoDocs: Updates to the Download/Test file related to watch setup am: 137c545e4e am...
Bert McMeen [Thu, 13 Oct 2016 18:03:31 +0000 (18:03 +0000)]
Docs: Updates to the Download/Test file related to watch setup am: 137c545e4e am: 58425dc58d
am: 669537a9fe

Change-Id: Ie8e8b14c46ccfda8824dccfdbf2dc3029661ad0b

7 years agoDocs: Updates to the Download/Test file related to watch setup am: 137c545e4e
Bert McMeen [Thu, 13 Oct 2016 17:50:57 +0000 (17:50 +0000)]
Docs: Updates to the Download/Test file related to watch setup am: 137c545e4e
am: 58425dc58d

Change-Id: Icf36fd2b6c4b2489a7197d32392c4a6382a934c3

7 years agoDocs: Updates to the Download/Test file related to watch setup
Bert McMeen [Thu, 13 Oct 2016 17:38:59 +0000 (17:38 +0000)]
Docs: Updates to the Download/Test file related to watch setup
am: 137c545e4e

Change-Id: Ic605d9d26c60e3dd01cd4a9993a6d50d5cfdd94c

7 years agoMerge "Revert "Fix backup for users hit by erroneous backup disabling"" into nyc...
Vladislav Kuzkokov [Thu, 13 Oct 2016 08:41:55 +0000 (08:41 +0000)]
Merge "Revert "Fix backup for users hit by erroneous backup disabling"" into nyc-mr1-dev
am: b24489e20a

Change-Id: Ie0f53964c521c89217347be67c16b8fe73ccc09d

7 years agoRevert "Fix backup for users hit by erroneous backup disabling"
Vladislav Kuzkokov [Thu, 13 Oct 2016 08:41:52 +0000 (08:41 +0000)]
Revert "Fix backup for users hit by erroneous backup disabling"
am: 9f61d17e6a

Change-Id: I460fbb670fbc7a724c981c4fceae0048ff4c9ded

7 years agoMerge "Revert "Fix backup for users hit by erroneous backup disabling"" into nyc...
Vladislav Kuzkokov [Thu, 13 Oct 2016 08:34:16 +0000 (08:34 +0000)]
Merge "Revert "Fix backup for users hit by erroneous backup disabling"" into nyc-mr1-dev

7 years agoMerge "DO NOT MERGE: Ambient light sensor changes for doze mode." into cw-f-dev
Julius D'souza [Thu, 13 Oct 2016 07:43:17 +0000 (07:43 +0000)]
Merge "DO NOT MERGE: Ambient light sensor changes for doze mode." into cw-f-dev

7 years agoDO NOT MERGE: Ambient light sensor changes for doze mode.
Julius D'souza [Tue, 4 Oct 2016 18:05:56 +0000 (11:05 -0700)]
DO NOT MERGE: Ambient light sensor changes for doze mode.

Bug: 18573988

Change-Id: I07eed120bdbefd23408921405466566da33c397d

7 years agoMerge "DO NOT MERGE -- Adjust focus when moving task back" into nyc-mr1-dev
Andrii Kulian [Thu, 13 Oct 2016 05:01:15 +0000 (05:01 +0000)]
Merge "DO NOT MERGE -- Adjust focus when moving task back" into nyc-mr1-dev
am: 1fefc8b9fa

Change-Id: I57af7dceec243b6befbaa293438d6239053bb0ed

7 years agoDO NOT MERGE -- Adjust focus when moving task back
Andrii Kulian [Thu, 13 Oct 2016 05:01:11 +0000 (05:01 +0000)]
DO NOT MERGE -- Adjust focus when moving task back
am: d4b98705b5

Change-Id: I1d07e84360ef0bfeb6b0ce41466e4042ca70ad81

7 years agoMerge "DO NOT MERGE -- Adjust focus when moving task back" into nyc-mr1-dev
TreeHugger Robot [Thu, 13 Oct 2016 04:47:44 +0000 (04:47 +0000)]
Merge "DO NOT MERGE -- Adjust focus when moving task back" into nyc-mr1-dev

7 years agoDO NOT MERGE -- Adjust focus when moving task back
Andrii Kulian [Wed, 12 Oct 2016 21:23:19 +0000 (14:23 -0700)]
DO NOT MERGE -- Adjust focus when moving task back

Resumed and focused activity should be adjusted simultaneously.
This was missing when task was moved back and focus was adjusted only
after previous activity stopped.

Bug: 31983988
Change-Id: Ie6c908b0c8c1adf94680b42ca5a8c9b01308e361

7 years agoMerge "Correct recently introduced logic error in seamless rotation detection." into...
Robert Carr [Thu, 13 Oct 2016 02:15:33 +0000 (02:15 +0000)]
Merge "Correct recently introduced logic error in seamless rotation detection." into nyc-mr1-dev
am: 1553d5411c

Change-Id: I9e12db9f686c934a2e2d391d80a0c1bb26398c7f

7 years agoCorrect recently introduced logic error in seamless rotation detection.
Robert Carr [Thu, 13 Oct 2016 02:15:31 +0000 (02:15 +0000)]
Correct recently introduced logic error in seamless rotation detection.
am: e441e7f15f

Change-Id: I3e9bdef49a3749e82dbed82bc230bcaac958608a

7 years agoMerge "Correct recently introduced logic error in seamless rotation detection." into...
TreeHugger Robot [Thu, 13 Oct 2016 02:05:30 +0000 (02:05 +0000)]
Merge "Correct recently introduced logic error in seamless rotation detection." into nyc-mr1-dev

7 years agoFix issue #32125907: Intent.replaceUnsafeExtras() corrupts original bundle
Dianne Hackborn [Thu, 13 Oct 2016 00:20:07 +0000 (17:20 -0700)]
Fix issue #32125907: Intent.replaceUnsafeExtras() corrupts original bundle

We now recursively generate new Bundle objects if we need to
do any stripping.

Change-Id: I4ca7896a0771c25264591ae7c79df85816d630d4

7 years agoMerge "Fixed a bug where the system could crash when expanding" into nyc-mr1-dev
Selim Cinek [Thu, 13 Oct 2016 00:44:21 +0000 (00:44 +0000)]
Merge "Fixed a bug where the system could crash when expanding" into nyc-mr1-dev
am: 0bdfc7be66

Change-Id: Ic63b6f6bf187ea632a05a6524d3b0f8bef376b74

7 years agoFixed a bug where the system could crash when expanding
Selim Cinek [Thu, 13 Oct 2016 00:44:16 +0000 (00:44 +0000)]
Fixed a bug where the system could crash when expanding
am: 3e77984434

Change-Id: Icf8c8743f57a5e402275adfc645f08a10cf94a3b

7 years agoMerge "Fix crashes after notifying bad notification" into nyc-mr1-dev
Selim Cinek [Thu, 13 Oct 2016 00:42:47 +0000 (00:42 +0000)]
Merge "Fix crashes after notifying bad notification" into nyc-mr1-dev
am: d517c3c16b

Change-Id: I07d4f185a096c22628cd0d0ffcb789391a81f518

7 years agoFix crashes after notifying bad notification
dooyoung.hwang [Thu, 13 Oct 2016 00:42:44 +0000 (00:42 +0000)]
Fix crashes after notifying bad notification
am: 78c4114101

Change-Id: I4d72feb9a40b99c5b40307ad01d708b3a66d1f54

7 years agoMerge "Fixed an issue where the emergency affordance would show" into nyc-mr1-dev
Selim Cinek [Thu, 13 Oct 2016 00:41:27 +0000 (00:41 +0000)]
Merge "Fixed an issue where the emergency affordance would show" into nyc-mr1-dev
am: 7ce68fd8a4

Change-Id: I775e64348075fe1dd57a7133fcdc7b11f79415d6

7 years agoFixed an issue where the emergency affordance would show
Selim Cinek [Thu, 13 Oct 2016 00:41:24 +0000 (00:41 +0000)]
Fixed an issue where the emergency affordance would show
am: bd740cd56a

Change-Id: I6ce705cc701bf149dec45feabcf4777cc89afa6a

7 years agoMerge "Fixed a bug where the system could crash when expanding" into nyc-mr1-dev
Selim Cinek [Thu, 13 Oct 2016 00:37:27 +0000 (00:37 +0000)]
Merge "Fixed a bug where the system could crash when expanding" into nyc-mr1-dev

7 years agoMerge "Fix crashes after notifying bad notification" into nyc-mr1-dev
Selim Cinek [Thu, 13 Oct 2016 00:36:27 +0000 (00:36 +0000)]
Merge "Fix crashes after notifying bad notification" into nyc-mr1-dev

7 years agoMerge "Fixed an issue where the emergency affordance would show" into nyc-mr1-dev
Selim Cinek [Thu, 13 Oct 2016 00:29:57 +0000 (00:29 +0000)]
Merge "Fixed an issue where the emergency affordance would show" into nyc-mr1-dev

7 years agoRetain allowBackup annotation when system+lock wallpaper becomes lock only
Christopher Tate [Wed, 12 Oct 2016 22:17:58 +0000 (15:17 -0700)]
Retain allowBackup annotation when system+lock wallpaper becomes lock only

Bug 32069467

Change-Id: I5d0b91c40e1a2896f2b11efeef7bff84503cf2c0

7 years agoMerge "Fix Notification.Action.Builder copy constructor" into nyc-mr1-dev
Adrian Roos [Wed, 12 Oct 2016 23:19:22 +0000 (23:19 +0000)]
Merge "Fix Notification.Action.Builder copy constructor" into nyc-mr1-dev
am: 5c8fc58850

Change-Id: Ic9b035247f5b09582adf20c7cb47361f7b035cf7

7 years agoFix Notification.Action.Builder copy constructor
Adrian Roos [Wed, 12 Oct 2016 23:19:19 +0000 (23:19 +0000)]
Fix Notification.Action.Builder copy constructor
am: 7af5362571

Change-Id: I0853e663b1895e2c45fad17cfee79202f3b14ef7

7 years agoMerge "Fix Notification.Action.Builder copy constructor" into nyc-mr1-dev
TreeHugger Robot [Wed, 12 Oct 2016 23:11:20 +0000 (23:11 +0000)]
Merge "Fix Notification.Action.Builder copy constructor" into nyc-mr1-dev

7 years agoFix Notification.Action.Builder copy constructor
Adrian Roos [Wed, 12 Oct 2016 20:44:05 +0000 (13:44 -0700)]
Fix Notification.Action.Builder copy constructor

The copy constructor of Notification.Action.Builder did not copy
the mAllowGeneratedReplies field.

Change-Id: I40fbe8950ee2232e2589ab3930a32bfbebe9fc89
Fixes: 31766718
Test: runtest --path $T/cts/tests/app/src/android/app/cts/NotificationTest.java

7 years agoMerge "RRO: Synchronize access to overlays.list" into nyc-mr1-dev
Adam Lesinski [Wed, 12 Oct 2016 21:03:13 +0000 (21:03 +0000)]
Merge "RRO: Synchronize access to overlays.list" into nyc-mr1-dev
am: baac85ec1f

Change-Id: I713561fcfdf28250e406fc9d7b497c2b70b287ca

7 years agoRRO: Synchronize access to overlays.list
Martin Wallgren [Wed, 12 Oct 2016 21:03:11 +0000 (21:03 +0000)]
RRO: Synchronize access to overlays.list
am: 0fbb608110

Change-Id: I44a716df3954b6d2d58d7c9784f8b55cf041b10b

7 years agoMerge "Fix SkShader leak for Gradient VectorDrawable and test" into nyc-mr1-dev
Doris Liu [Wed, 12 Oct 2016 20:56:58 +0000 (20:56 +0000)]
Merge "Fix SkShader leak for Gradient VectorDrawable and test" into nyc-mr1-dev
am: 269f76a7d2

Change-Id: Ia9a56b7c8c20d47e9dcc448c59061784d4edf865

7 years agoFix SkShader leak for Gradient VectorDrawable and test
Doris Liu [Wed, 12 Oct 2016 20:56:55 +0000 (20:56 +0000)]
Fix SkShader leak for Gradient VectorDrawable and test
am: fc9cf72339

Change-Id: I493a8c52cd4cca79971a4fd2e3eed7f566ce8ecd

7 years agoMerge "RRO: Synchronize access to overlays.list" into nyc-mr1-dev
Adam Lesinski [Wed, 12 Oct 2016 20:55:53 +0000 (20:55 +0000)]
Merge "RRO: Synchronize access to overlays.list" into nyc-mr1-dev

7 years agoMerge "Fix SkShader leak for Gradient VectorDrawable and test" into nyc-mr1-dev
Doris Liu [Wed, 12 Oct 2016 20:44:47 +0000 (20:44 +0000)]
Merge "Fix SkShader leak for Gradient VectorDrawable and test" into nyc-mr1-dev

7 years agoCorrect recently introduced logic error in seamless rotation detection.
Robert Carr [Wed, 12 Oct 2016 19:48:13 +0000 (12:48 -0700)]
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

7 years agoDocs: Updates to the Download/Test file related to watch setup
Bert McMeen [Tue, 11 Oct 2016 22:50:54 +0000 (15:50 -0700)]
Docs: Updates to the Download/Test file related to watch setup

Bug: 32091353
Change-Id: I8b70b33c537c2edbaf0fbd09e62dc9564f03cd07

7 years agoFixed a bug where the system could crash when expanding
Selim Cinek [Wed, 12 Oct 2016 18:34:52 +0000 (11:34 -0700)]
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

7 years agoMerge "Add a delay before scheduling local syncs" into nyc-mr1-dev
Shreyas Basarge [Wed, 12 Oct 2016 17:19:59 +0000 (17:19 +0000)]
Merge "Add a delay before scheduling local syncs" into nyc-mr1-dev
am: d5541b987a

Change-Id: If91f2edc57109308b34be67b9f3861b84147153f

7 years agoAdd a delay before scheduling local syncs
Shreyas Basarge [Wed, 12 Oct 2016 17:19:56 +0000 (17:19 +0000)]
Add a delay before scheduling local syncs
am: ba1f790369

Change-Id: I4c880c4111f99d80cee7b960a97133cc0b86d61c

7 years agoMerge "Add a delay before scheduling local syncs" into nyc-mr1-dev
Shreyas Basarge [Wed, 12 Oct 2016 17:09:53 +0000 (17:09 +0000)]
Merge "Add a delay before scheduling local syncs" into nyc-mr1-dev

7 years agoFixed an issue where the emergency affordance would show
Selim Cinek [Tue, 11 Oct 2016 19:49:48 +0000 (12:49 -0700)]
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

7 years agoRRO: Synchronize access to overlays.list
Martin Wallgren [Tue, 11 Aug 2015 13:10:31 +0000 (15:10 +0200)]
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

7 years agoMerge "Essential packages' notifications can no longer be silenced." into nyc-mr1-dev
Daniel Sandler [Wed, 12 Oct 2016 13:49:15 +0000 (13:49 +0000)]
Merge "Essential packages' notifications can no longer be silenced." into nyc-mr1-dev
am: 52cd2948a6

Change-Id: I00c94e1299651f12e030904a77396b74e825d8d9

7 years agoEssential packages' notifications can no longer be silenced.
Dan Sandler [Wed, 12 Oct 2016 13:49:11 +0000 (13:49 +0000)]
Essential packages' notifications can no longer be silenced.
am: 028a60f003

Change-Id: Ic3e80d30c99e448c7719d5d40c9e957df94a6af6

7 years agoMerge "Essential packages' notifications can no longer be silenced." into nyc-mr1-dev
Daniel Sandler [Wed, 12 Oct 2016 13:38:59 +0000 (13:38 +0000)]
Merge "Essential packages' notifications can no longer be silenced." into nyc-mr1-dev

7 years agoMerge "Change 2nd and later burn-in protection intervals to 2 mins" into cw-f-dev
TreeHugger Robot [Wed, 12 Oct 2016 05:03:53 +0000 (05:03 +0000)]
Merge "Change 2nd and later burn-in protection intervals to 2 mins" into cw-f-dev

7 years agoAllow SetupWizard to do WiFi scans if location off
Svetoslav Ganov [Tue, 11 Oct 2016 23:12:29 +0000 (16:12 -0700)]
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

7 years agoChange 2nd and later burn-in protection intervals to 2 mins
Erik Wolsheimer [Tue, 11 Oct 2016 22:32:37 +0000 (15:32 -0700)]
Change 2nd and later burn-in protection intervals to 2 mins

BUG: 31855095
Change-Id: I969e24d2db882109855b74430b806247c4fbf6cb

7 years agoMerge "Add note about density scaling behavior to setImageURI" into nyc-mr1-dev
Alan Viverette [Wed, 12 Oct 2016 01:36:36 +0000 (01:36 +0000)]
Merge "Add note about density scaling behavior to setImageURI" into nyc-mr1-dev
am: d35d3c98e4

Change-Id: Id6921412886e72fb70fdbb0b23806c88a6638ae4

7 years agoAdd note about density scaling behavior to setImageURI
Alan Viverette [Wed, 12 Oct 2016 01:36:33 +0000 (01:36 +0000)]
Add note about density scaling behavior to setImageURI
am: ac21e56f63

Change-Id: I4a85ae20023dd0589227ca7684a965a246f451fd

7 years agoMerge "Add note about density scaling behavior to setImageURI" into nyc-mr1-dev
TreeHugger Robot [Wed, 12 Oct 2016 01:24:53 +0000 (01:24 +0000)]
Merge "Add note about density scaling behavior to setImageURI" into nyc-mr1-dev

7 years agoFix SkShader leak for Gradient VectorDrawable and test
Doris Liu [Mon, 10 Oct 2016 22:50:01 +0000 (15:50 -0700)]
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

7 years agoMerge "Stop posting config asynchronously." into nyc-mr1-dev
Julia Reynolds [Wed, 12 Oct 2016 01:18:37 +0000 (01:18 +0000)]
Merge "Stop posting config asynchronously." into nyc-mr1-dev
am: 6c816c6707

Change-Id: I1e30c8b770d6f3c719c3fcb2964c8ab30fa79542

7 years agoStop posting config asynchronously.
Julia Reynolds [Wed, 12 Oct 2016 01:18:33 +0000 (01:18 +0000)]
Stop posting config asynchronously.
am: 3ebe72b26a

Change-Id: If0ebacf0a128d56c70178a03c1c2532d984c796e

7 years agoMerge "Stop posting config asynchronously." into nyc-mr1-dev
TreeHugger Robot [Wed, 12 Oct 2016 01:10:56 +0000 (01:10 +0000)]
Merge "Stop posting config asynchronously." into nyc-mr1-dev

7 years agoFix crashes after notifying bad notification
dooyoung.hwang [Tue, 4 Oct 2016 09:55:31 +0000 (18:55 +0900)]
Fix crashes after notifying bad notification

If applications whose targetSDK is below N build notification
without contentView, contentView is created at inside of build()
function in Notification.Builder. If application apply
removeAllViews to this contentView, Notification View can have
id 'status_bar_latest_event_content' without standard layout of
notification. When inflating this notification, SystemUI try to wrap
it with NotificationTemplateViewWrapper(its id is
'status_bar_latest_event_content'), and crash, because it does not
have expected views.

Test: Install & launch attached apk in below BUG url to N devices,
and try to make notification by clicking 'do it' button.

https://code.google.com/p/android/issues/detail?id=223479

Bug:31948446
Change-Id: Ifcdc79a117613e8afd2e8ed098afd211cceabf88

7 years agoMerge "docs: Removed "Accessibility" page from "Pure Android" design docs" into nyc...
Kevin Hufnagle [Wed, 12 Oct 2016 00:35:05 +0000 (00:35 +0000)]
Merge "docs: Removed "Accessibility" page from "Pure Android" design docs" into nyc-dev am: 2acaf0a120 am: 2f54d4301d
am: c9267a1f36

Change-Id: I17c778c5d7fa241610177d36297877e700a5c789

7 years agodocs: Removed "Accessibility" page from "Pure Android" design docs am: 1965375aa5...
Kevin Hufnagle [Wed, 12 Oct 2016 00:34:14 +0000 (00:34 +0000)]
docs: Removed "Accessibility" page from "Pure Android" design docs am: 1965375aa5 am: 36838b070c
am: ee80c871d1

Change-Id: I0d0a1f32cdd0761c8db3cf54f50d4a785b23b68b

7 years agoMerge "docs: Removed "Accessibility" page from "Pure Android" design docs" into nyc...
Kevin Hufnagle [Wed, 12 Oct 2016 00:26:14 +0000 (00:26 +0000)]
Merge "docs: Removed "Accessibility" page from "Pure Android" design docs" into nyc-dev am: 2acaf0a120
am: 2f54d4301d

Change-Id: Ie57a23935c654bb098130daa86763fc052d657db

7 years agodocs: Removed "Accessibility" page from "Pure Android" design docs am: 1965375aa5
Kevin Hufnagle [Wed, 12 Oct 2016 00:25:24 +0000 (00:25 +0000)]
docs: Removed "Accessibility" page from "Pure Android" design docs am: 1965375aa5
am: 36838b070c

Change-Id: Ia77cf32efbd7d48bae6c0a7c1dff0219e7a3b4e0

7 years agoMerge "Respect restoreAnyVersion=true in full-data restore path" into nyc-mr1-dev
Christopher Tate [Wed, 12 Oct 2016 00:21:14 +0000 (00:21 +0000)]
Merge "Respect restoreAnyVersion=true in full-data restore path" into nyc-mr1-dev
am: cef0c6b5a5

Change-Id: Ia5507eaf4a1f0ded5ad26e08ee5ab52528ff02f9

7 years agoRespect restoreAnyVersion=true in full-data restore path
Christopher Tate [Wed, 12 Oct 2016 00:21:10 +0000 (00:21 +0000)]
Respect restoreAnyVersion=true in full-data restore path
am: d990e4d3df

Change-Id: Icf3e6bbfd0fa42707c317d114048d7fe66bf0844

7 years agoMerge "Fix small typo in ShortcutManager header docs" into nyc-mr1-dev
Chet Haase [Wed, 12 Oct 2016 00:19:50 +0000 (00:19 +0000)]
Merge "Fix small typo in ShortcutManager header docs" into nyc-mr1-dev
am: aea27e1aea

Change-Id: I2e2f4d46787c51617b486edb7774cdf18bcaf52f

7 years agoFix small typo in ShortcutManager header docs
Chet Haase [Wed, 12 Oct 2016 00:19:46 +0000 (00:19 +0000)]
Fix small typo in ShortcutManager header docs
am: c158431f8e

Change-Id: I303576d842f92358e9c97714e71c0407d53df39b

7 years agoMerge "docs: Removed "Accessibility" page from "Pure Android" design docs" into nyc-dev
Kevin Hufnagle [Wed, 12 Oct 2016 00:19:40 +0000 (00:19 +0000)]
Merge "docs: Removed "Accessibility" page from "Pure Android" design docs" into nyc-dev
am: 2acaf0a120

Change-Id: Ic31df60f13193b9a9ec89241ef5d14c9caa190e9

7 years agodocs: Removed "Accessibility" page from "Pure Android" design docs
Kevin Hufnagle [Wed, 12 Oct 2016 00:19:37 +0000 (00:19 +0000)]
docs: Removed "Accessibility" page from "Pure Android" design docs
am: 1965375aa5

Change-Id: I1cabf01b8339ef67a6167b540de698ffbda889e7

7 years agoMerge "Respect restoreAnyVersion=true in full-data restore path" into nyc-mr1-dev
TreeHugger Robot [Wed, 12 Oct 2016 00:06:43 +0000 (00:06 +0000)]
Merge "Respect restoreAnyVersion=true in full-data restore path" into nyc-mr1-dev

7 years agoMerge "docs: Removed "Accessibility" page from "Pure Android" design docs" into nyc-dev
Kevin Hufnagle [Tue, 11 Oct 2016 23:40:42 +0000 (23:40 +0000)]
Merge "docs: Removed "Accessibility" page from "Pure Android" design docs" into nyc-dev

7 years agoMerge "Fix small typo in ShortcutManager header docs" into nyc-mr1-dev
TreeHugger Robot [Tue, 11 Oct 2016 23:36:22 +0000 (23:36 +0000)]
Merge "Fix small typo in ShortcutManager header docs" into nyc-mr1-dev

7 years agoAdd note about density scaling behavior to setImageURI
Alan Viverette [Tue, 11 Oct 2016 21:42:21 +0000 (17:42 -0400)]
Add note about density scaling behavior to setImageURI

Bug: 27327999
Change-Id: I1e348a1fbda20fff9575261df7097fbd46381383

7 years agoMerge "Fix issue where icon was not centered properly." into cw-f-dev
Michael Kwan [Tue, 11 Oct 2016 23:24:09 +0000 (23:24 +0000)]
Merge "Fix issue where icon was not centered properly." into cw-f-dev

7 years agoStop posting config asynchronously.
Julia Reynolds [Thu, 15 Sep 2016 15:07:50 +0000 (11:07 -0400)]
Stop posting config asynchronously.

All of the instances of calling into other services with locks held
should be resolved, so this isn't needed anymore.

Test: have 2 rules end or start at the same time; ensure the resulting
state is correct.

Fixes: 28459870
Bug: 31980467

Change-Id: I3f12f1d3b8460361dab6fa9468f0ede55ca8dd5e
(cherry picked from commit 89aeab0e714ea8449c20816e6d2acea04c9348ca)

7 years agoMerge "Delete unused broadcast receiver" into nyc-mr1-dev
Nick Kralevich [Tue, 11 Oct 2016 22:53:52 +0000 (22:53 +0000)]
Merge "Delete unused broadcast receiver" into nyc-mr1-dev
am: 1b4ad1c701

Change-Id: I6aa1f3f58de7d4a2377acbd6655cbeda3fc2433c

7 years agoDelete unused broadcast receiver
Nick Kralevich [Tue, 11 Oct 2016 22:53:49 +0000 (22:53 +0000)]
Delete unused broadcast receiver
am: bee3ea12cc

Change-Id: I2399f3c39f8bb484b9121d08bf2b87975c789c2e

7 years agoMerge "Delete unused broadcast receiver" into nyc-mr1-dev
TreeHugger Robot [Tue, 11 Oct 2016 22:41:26 +0000 (22:41 +0000)]
Merge "Delete unused broadcast receiver" into nyc-mr1-dev

7 years agoRespect restoreAnyVersion=true in full-data restore path
Christopher Tate [Tue, 11 Oct 2016 22:29:39 +0000 (15:29 -0700)]
Respect restoreAnyVersion=true in full-data restore path

The scheduling mechanism was properly checking for it, but the raw
data-handling engine wasn't.  Now it is.

Bug 32054889

Change-Id: Id57ea12be8e2674c4f678f058278b8c14865b6fa

7 years agoEssential packages' notifications can no longer be silenced.
Dan Sandler [Tue, 4 Oct 2016 19:01:22 +0000 (15:01 -0400)]
Essential packages' notifications can no longer be silenced.

Particularly useful for Dialer, whose incoming call
notifications are basically useless if you accidentally mute
them.

Test: manual. With config_nonBlockableNotificationPackages
      set to include com.android.dialer, receive or miss a
      call and longpress the notification. No radio buttons
      should be available.
Bug: 31360343
Change-Id: I6b8fa374fb8e811ec6922acbf222f23f18775a61

7 years agoFix small typo in ShortcutManager header docs
Chet Haase [Tue, 11 Oct 2016 21:42:00 +0000 (14:42 -0700)]
Fix small typo in ShortcutManager header docs

Bug: 32093275 fix typo in ShortcutManager javadocs
Test: no test, just words in the header docs
Change-Id: Icd33481a7f285686429d908cf92de0f6f886f962

7 years agoDelete unused broadcast receiver
Nick Kralevich [Tue, 11 Oct 2016 21:00:54 +0000 (14:00 -0700)]
Delete unused broadcast receiver

Bug: 32090921
Bug: 21388590
Change-Id: I27e9ce7b55d0568644f9360368e90150d9be890e

7 years agodocs: Changed Google Analytics link to https:// am: 374ddfe529 am: 9687b8e9a0
Andrew Solovay [Tue, 11 Oct 2016 20:44:11 +0000 (20:44 +0000)]
docs: Changed Google Analytics link to https:// am: 374ddfe529 am: 9687b8e9a0
am: 73c46f0609

Change-Id: Id81a6dd5219d4a30cd9dd407505c599b5a142f43

7 years agodocs: Changed Google Analytics link to https:// am: 374ddfe529
Andrew Solovay [Tue, 11 Oct 2016 20:38:14 +0000 (20:38 +0000)]
docs: Changed Google Analytics link to https:// am: 374ddfe529
am: 9687b8e9a0

Change-Id: I47816412727652828b0a181c1776b7fa21c1107d

7 years agodocs: Changed Google Analytics link to https://
Andrew Solovay [Tue, 11 Oct 2016 20:32:13 +0000 (20:32 +0000)]
docs: Changed Google Analytics link to https://
am: 374ddfe529

Change-Id: I9506e792692a8aafde6603b1d473afb0ced658b5

7 years agoMerge "Fixed a bug where the header would flicker weirdly when replying" into nyc...
Selim Cinek [Tue, 11 Oct 2016 19:07:58 +0000 (19:07 +0000)]
Merge "Fixed a bug where the header would flicker weirdly when replying" into nyc-mr1-dev
am: 46d1ecbc8f

Change-Id: I43c14ec9cb3c0700cf1e3acc5b138cab135fc589