Commit Graph

255916 Commits

Author SHA1 Message Date
Selim Cinek
c19b510454 Fixed a bug where the system could crash when expanding
am: 3e77984434

Change-Id: Icf8c8743f57a5e402275adfc645f08a10cf94a3b
2016-10-13 00:44:16 +00:00
Selim Cinek
531099ae14 Merge "Fix crashes after notifying bad notification" into nyc-mr1-dev
am: d517c3c16b

Change-Id: I07d4f185a096c22628cd0d0ffcb789391a81f518
2016-10-13 00:42:47 +00:00
dooyoung.hwang
08011cdf33 Fix crashes after notifying bad notification
am: 78c4114101

Change-Id: I4d72feb9a40b99c5b40307ad01d708b3a66d1f54
2016-10-13 00:42:44 +00:00
Selim Cinek
f3eb11bdc1 Merge "Fixed an issue where the emergency affordance would show" into nyc-mr1-dev
am: 7ce68fd8a4

Change-Id: I775e64348075fe1dd57a7133fcdc7b11f79415d6
2016-10-13 00:41:27 +00:00
Selim Cinek
c46b2ef8d2 Fixed an issue where the emergency affordance would show
am: bd740cd56a

Change-Id: I6ce705cc701bf149dec45feabcf4777cc89afa6a
2016-10-13 00:41:24 +00:00
Selim Cinek
d517c3c16b Merge "Fix crashes after notifying bad notification" into nyc-mr1-dev 2016-10-13 00:36:29 +00:00
Selim Cinek
7ce68fd8a4 Merge "Fixed an issue where the emergency affordance would show" into nyc-mr1-dev 2016-10-13 00:29:59 +00:00
Adrian Roos
b920d48e0a Merge "Fix Notification.Action.Builder copy constructor" into nyc-mr1-dev
am: 5c8fc58850

Change-Id: Ic9b035247f5b09582adf20c7cb47361f7b035cf7
2016-10-12 23:19:22 +00:00
Adrian Roos
342bc437bf Fix Notification.Action.Builder copy constructor
am: 7af5362571

Change-Id: I0853e663b1895e2c45fad17cfee79202f3b14ef7
2016-10-12 23:19:19 +00:00
TreeHugger Robot
5c8fc58850 Merge "Fix Notification.Action.Builder copy constructor" into nyc-mr1-dev 2016-10-12 23:11:22 +00:00
Adrian Roos
7af5362571 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
2016-10-12 15:19:55 -07:00
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
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
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
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
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
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
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
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
TreeHugger Robot
d35d3c98e4 Merge "Add note about density scaling behavior to setImageURI" into nyc-mr1-dev 2016-10-12 01:24:55 +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
Julia Reynolds
532ebb02a7 Stop posting config asynchronously.
am: 3ebe72b26a

Change-Id: If0ebacf0a128d56c70178a03c1c2532d984c796e
2016-10-12 01:18:33 +00:00
TreeHugger Robot
6c816c6707 Merge "Stop posting config asynchronously." into nyc-mr1-dev 2016-10-12 01:10:58 +00:00
dooyoung.hwang
78c4114101 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
2016-10-11 17:37:23 -07:00
Kevin Hufnagle
de7f56a58a Merge "docs: Removed "Accessibility" page from "Pure Android" design docs" into nyc-dev am: 2acaf0a120 am: 2f54d4301d
am: c9267a1f36

Change-Id: I17c778c5d7fa241610177d36297877e700a5c789
2016-10-12 00:35:05 +00:00
Kevin Hufnagle
6795dae4ce docs: Removed "Accessibility" page from "Pure Android" design docs am: 1965375aa5 am: 36838b070c
am: ee80c871d1

Change-Id: I0d0a1f32cdd0761c8db3cf54f50d4a785b23b68b
2016-10-12 00:34:14 +00:00
Kevin Hufnagle
c9267a1f36 Merge "docs: Removed "Accessibility" page from "Pure Android" design docs" into nyc-dev am: 2acaf0a120
am: 2f54d4301d

Change-Id: Ie57a23935c654bb098130daa86763fc052d657db
2016-10-12 00:26:14 +00:00
Kevin Hufnagle
ee80c871d1 docs: Removed "Accessibility" page from "Pure Android" design docs am: 1965375aa5
am: 36838b070c

Change-Id: Ia77cf32efbd7d48bae6c0a7c1dff0219e7a3b4e0
2016-10-12 00:25:24 +00:00
Christopher Tate
37f54083f0 Merge "Respect restoreAnyVersion=true in full-data restore path" into nyc-mr1-dev
am: cef0c6b5a5

Change-Id: Ia5507eaf4a1f0ded5ad26e08ee5ab52528ff02f9
2016-10-12 00:21:14 +00:00
Christopher Tate
f413e3f2fe Respect restoreAnyVersion=true in full-data restore path
am: d990e4d3df

Change-Id: Icf3e6bbfd0fa42707c317d114048d7fe66bf0844
2016-10-12 00:21:10 +00:00
Chet Haase
8f8547f1ed Merge "Fix small typo in ShortcutManager header docs" into nyc-mr1-dev
am: aea27e1aea

Change-Id: I2e2f4d46787c51617b486edb7774cdf18bcaf52f
2016-10-12 00:19:50 +00:00
Chet Haase
5aa0dfcc0a Fix small typo in ShortcutManager header docs
am: c158431f8e

Change-Id: I303576d842f92358e9c97714e71c0407d53df39b
2016-10-12 00:19:46 +00:00
Kevin Hufnagle
2f54d4301d Merge "docs: Removed "Accessibility" page from "Pure Android" design docs" into nyc-dev
am: 2acaf0a120

Change-Id: Ic31df60f13193b9a9ec89241ef5d14c9caa190e9
2016-10-12 00:19:40 +00:00
Kevin Hufnagle
36838b070c docs: Removed "Accessibility" page from "Pure Android" design docs
am: 1965375aa5

Change-Id: I1cabf01b8339ef67a6167b540de698ffbda889e7
2016-10-12 00:19:37 +00:00
TreeHugger Robot
cef0c6b5a5 Merge "Respect restoreAnyVersion=true in full-data restore path" into nyc-mr1-dev 2016-10-12 00:06:45 +00:00
Kevin Hufnagle
2acaf0a120 Merge "docs: Removed "Accessibility" page from "Pure Android" design docs" into nyc-dev 2016-10-11 23:40:47 +00:00
TreeHugger Robot
aea27e1aea Merge "Fix small typo in ShortcutManager header docs" into nyc-mr1-dev 2016-10-11 23:36:25 +00:00
Alan Viverette
ac21e56f63 Add note about density scaling behavior to setImageURI
Bug: 27327999
Change-Id: I1e348a1fbda20fff9575261df7097fbd46381383
2016-10-11 23:32:10 +00:00