Commit Graph

83006 Commits

Author SHA1 Message Date
Makoto Onuki
c52be80cb7 Merge "Split provider / service dumpsys into platform and non-platform" into pi-dev am: dbdf5df96e
am: c7ed7f0074

Change-Id: I84fd648bf5b47690ab0082516a99c4bbd7be1914
2018-04-19 11:00:05 -07:00
Makoto Onuki
c7ed7f0074 Merge "Split provider / service dumpsys into platform and non-platform" into pi-dev
am: dbdf5df96e

Change-Id: I74e57f9cd0fc051f4308df48535f3dce22f3908b
2018-04-19 10:46:50 -07:00
Makoto Onuki
dbdf5df96e Merge "Split provider / service dumpsys into platform and non-platform" into pi-dev 2018-04-19 17:21:48 +00:00
Mathew Inwood
f7cdcb98c2 Merge "Fail gracefully if we get a bad API whitelist." into pi-dev am: 611443e984
am: 96b2f3ce8b

Change-Id: I2e4fc91b53606f701682e4fad0bb17616cb58d7e
2018-04-19 10:12:17 -07:00
Beverly Tai
2fe0e01fbf Merge "Don't mute ringer if apps can bypass dnd" into pi-dev am: 39997ea603
am: e4a5044b0f

Change-Id: I45a645c8650211d8cb5016e97762f5a9c48e3cc0
2018-04-19 10:02:33 -07:00
Mathew Inwood
96b2f3ce8b Merge "Fail gracefully if we get a bad API whitelist." into pi-dev
am: 611443e984

Change-Id: I2ead19c8fda255d010aded3884aef0016e1cc74d
2018-04-19 09:43:15 -07:00
Beverly Tai
e4a5044b0f Merge "Don't mute ringer if apps can bypass dnd" into pi-dev
am: 39997ea603

Change-Id: Ie8bb9617d8439fdcf739f9fe5264aaa5d0421d72
2018-04-19 09:29:53 -07:00
Mathew Inwood
611443e984 Merge "Fail gracefully if we get a bad API whitelist." into pi-dev 2018-04-19 16:24:31 +00:00
Beverly Tai
39997ea603 Merge "Don't mute ringer if apps can bypass dnd" into pi-dev 2018-04-19 16:08:28 +00:00
Jeff Sharkey
275a9e16cc Merge "Visit Uris in RemoteViews for granting purposes." into pi-dev am: 1cd96854d4
am: 993106c06a

Change-Id: I67502e0c9acbf942bf2dbb799f60ba406df4f84b
2018-04-19 08:18:50 -07:00
Jeff Sharkey
993106c06a Merge "Visit Uris in RemoteViews for granting purposes." into pi-dev
am: 1cd96854d4

Change-Id: Ie979847bd41777cef2b4169cb7f78abe174d054d
2018-04-19 08:09:24 -07:00
Jeff Sharkey
1cd96854d4 Merge "Visit Uris in RemoteViews for granting purposes." into pi-dev 2018-04-19 14:58:02 +00:00
Mathew Inwood
9f6bb5b761 Fail gracefully if we get a bad API whitelist.
If we send a bad API whitelist to the Zygote, it causes it to close the
socket. If we take no further action in AMS, it results in the same list
of exceptions being sent when we re-open the socket, resulting in it again
being closed. This results in no longer fork/start any new processes.
Since the list is persisted, this would result in the device entering a
boot loop upon reboot. Since no apps could be started, we cannot recover.

So in the case that the exemptions list causes problems, clear out the
list so we don't try to send it again next time. This means we will see
a single failure, but future attempts will succeed (obviously without
any whitelist). The device should not enter a boot loop.

Note, the test below relies on the fact that we can send at most 1024
arguments in a command to the Zygote (MAX_ZYGOTE_ARGC), and that each
item on the list is a separate argument.

Test: adb shell settings put global hidden_api_blacklist_exemptions \
Test:    $(for i in {1..1025}; do echo -n $i,; done)
Bug: 64382372
Change-Id: Ie47095d516c247ff6a8d667a2ac9b7be45f1acda
2018-04-19 10:12:28 +01:00
Jeff Sharkey
23b3118f28 Visit Uris in RemoteViews for granting purposes.
RemoteViews end up passing around Uris, so we need to extend Uri
permission grants for them to ensure the recipient of a Notification
object is able to render its contents.

Bug: 9069730
Test: atest frameworks/base/services/tests/uiservicestests/src/com/android/server/notification
Change-Id: Id31b5adaf2ee66113a1b503e32126aeddbf97b28
2018-04-18 21:40:47 -06:00
Suprabh Shukla
7f7c493ac0 Merge "Added more documentation for dialogMessage" into pi-dev am: 4d5d3a0254
am: 74ef44e6eb

Change-Id: If381c630587490361af78b6e95d29fc33ad224f8
2018-04-18 17:52:32 -07:00
Suprabh Shukla
74ef44e6eb Merge "Added more documentation for dialogMessage" into pi-dev
am: 4d5d3a0254

Change-Id: I241ddd624eb4409eacde7a3224dc27fa80d5de10
2018-04-18 17:42:13 -07:00
TreeHugger Robot
4d5d3a0254 Merge "Added more documentation for dialogMessage" into pi-dev 2018-04-19 00:13:13 +00:00
Tim Murray
75389eb0f4 Merge "ActivityManagerService: add restricted cpuset" into pi-dev am: a5843ebb59
am: 42cac7be22

Change-Id: I44a3ea55552ef41cbc6b3b367881f6e7d76268c0
2018-04-18 17:12:09 -07:00
Jason Monk
e69926143b Merge "Make Instrumentation more robust to other inputs" into pi-dev am: 3071522227
am: d1a9320e98

Change-Id: Iada00b0e18f978f8fc85a74fa45ccd21cbeb20ef
2018-04-18 17:06:40 -07:00
Tim Murray
42cac7be22 Merge "ActivityManagerService: add restricted cpuset" into pi-dev
am: a5843ebb59

Change-Id: I1ad95b4e5e4d89efeb0a2836950d7d05cd8cd8d5
2018-04-18 16:59:26 -07:00
Jason Monk
d1a9320e98 Merge "Make Instrumentation more robust to other inputs" into pi-dev
am: 3071522227

Change-Id: Ifc3e5c1959a3b25025f396fbfc91363580b239ad
2018-04-18 16:54:05 -07:00
Tim Murray
a5843ebb59 Merge "ActivityManagerService: add restricted cpuset" into pi-dev 2018-04-18 23:43:53 +00:00
TreeHugger Robot
3071522227 Merge "Make Instrumentation more robust to other inputs" into pi-dev 2018-04-18 23:43:15 +00:00
Suprabh Shukla
3e03ab9312 Added more documentation for dialogMessage
Added explanation that callers can use a format string which takes a
single argument which is the name of the suspended app that the user
tried to launch.

Test: make docs

Bug: 77507744
Change-Id: I0a5259048332030385265ceab9c7d76766abac7d
2018-04-18 16:01:29 -07:00
TreeHugger Robot
cb9a54684b Merge "Enable Notifications on AndroidTV" 2018-04-18 22:19:49 +00:00
Chenjie Yu
b62e20c7f9 Merge "add dump report reason to reports" into pi-dev am: a194a6bee3
am: e0f7fc0a47

Change-Id: I4b97af127a219ded41891d90d44dd5940b7dd0af
2018-04-18 14:35:25 -07:00
Chenjie Yu
e0f7fc0a47 Merge "add dump report reason to reports" into pi-dev
am: a194a6bee3

Change-Id: I07a2d92ae166e86afa5bd6600d1217180818b9c3
2018-04-18 13:45:45 -07:00
TreeHugger Robot
a194a6bee3 Merge "add dump report reason to reports" into pi-dev 2018-04-18 20:35:29 +00:00
Chenjie Yu
e36018b272 add dump report reason to reports
+ also change uidmapping version numbers to int64_t

Bug: 78132855
Change-Id: Iac7ea93e4bf651bd65bd03383e7ab4971af4fc29
Fix: 78132855
Test: gts test
2018-04-18 20:19:21 +00:00
Rob Carr
cf68264741 Merge "ViewRoot: Ensure we release surface from setWindowStopped." into pi-dev am: 3ef2d6d9d8
am: 871d0c0759

Change-Id: I5332781f690fed2353910cc2e993f8d4708d6c73
2018-04-18 13:05:53 -07:00
Jason Monk
e96443e5a7 Make Instrumentation more robust to other inputs
Test: atest cts/tests/app/src/android/app/cts/InstrumentationTest.java
Change-Id: I2d55274ab19c4687ce85c086f2da61a4316b8096
Fixes: 70720100
2018-04-18 15:43:50 -04:00
Rob Carr
871d0c0759 Merge "ViewRoot: Ensure we release surface from setWindowStopped." into pi-dev
am: 3ef2d6d9d8

Change-Id: I6c14d19d72d03d975e6b1e34b00fc9ac879e4811
2018-04-18 12:27:38 -07:00
Dan Cashman
9fa0a7788f Merge "Add AccountManager key rotation awareness." into pi-dev am: 3091d60a70
am: a8992ecf37

Change-Id: I3ba929f0732a34a7f2694c96cec9fcb03b453838
2018-04-18 12:18:06 -07:00
Yu-Han Yang
126b83de9c Merge "Add setting for GNSS location request update duration" into pi-dev am: af52d9815a
am: 53bab450b9

Change-Id: I47c8ff74e6297a8a78d9710614353bbf29542120
2018-04-18 12:04:16 -07:00
Rob Carr
3ef2d6d9d8 Merge "ViewRoot: Ensure we release surface from setWindowStopped." into pi-dev 2018-04-18 18:59:43 +00:00
Dan Cashman
a8992ecf37 Merge "Add AccountManager key rotation awareness." into pi-dev
am: 3091d60a70

Change-Id: Ife05dbf2b6e138ef928e597d42c99a12997e7b74
2018-04-18 11:35:58 -07:00
Yu-Han Yang
53bab450b9 Merge "Add setting for GNSS location request update duration" into pi-dev
am: af52d9815a

Change-Id: If268c45fa38671ebe17b4f7c0c9d58b2029cea48
2018-04-18 11:26:49 -07:00
TreeHugger Robot
3091d60a70 Merge "Add AccountManager key rotation awareness." into pi-dev 2018-04-18 18:14:34 +00:00
Beverly
86d076f9d3 Don't mute ringer if apps can bypass dnd
Test: atest RankingHelperTest
Change-Id: I587e5b8d4f6cfe3b384c5b4b9e72de12b6639b6f
Fixes: 77729075
2018-04-18 14:10:19 -04:00
TreeHugger Robot
af52d9815a Merge "Add setting for GNSS location request update duration" into pi-dev 2018-04-18 18:10:04 +00:00
Jason Monk
23f45739c7 Merge "Slices: Don't use public namespace for internal intent" into pi-dev am: 84208c724e
am: 86e2a2ab32

Change-Id: I61da7d7a8742195f61ab2bb7264bbd7afe0cc318
2018-04-18 09:52:25 -07:00
Tim Murray
fef10a47a8 ActivityManagerService: add restricted cpuset
Test: CTS
bug 78197570

Change-Id: I9dd8daba6426b42b7e7e9388dbdac7bd8110b6ca
2018-04-18 09:51:33 -07:00
Jason Monk
86e2a2ab32 Merge "Slices: Don't use public namespace for internal intent" into pi-dev
am: 84208c724e

Change-Id: I95ea37a760470dcfdfb4ac9c1ab5c99c2fc72a5d
2018-04-18 09:44:14 -07:00
Julia Reynolds
e6fc382fcc Merge "Color and text changes" into pi-dev am: 03ddb28cda
am: 8e7df9edb2

Change-Id: I72e89d5adff4e1c60d35cef5b3a4ffb562a94529
2018-04-18 07:53:38 -07:00
Julia Reynolds
8e7df9edb2 Merge "Color and text changes" into pi-dev
am: 03ddb28cda

Change-Id: I0d66ab47686ef3d63d5a18bef890891a66261203
2018-04-18 07:41:46 -07:00
Jason Monk
0c179a94a9 Slices: Don't use public namespace for internal intent
Test: manual
Change-Id: I21bc0a367456b58de195d71fc29cca0dbbca6927
Fixes: 78214697
2018-04-18 10:37:19 -04:00
Kristian Monsen
05f3479826 Enable Notifications on AndroidTV
Also fix some tests that were broken on TV.

Test: runtest systemui-notification

Change-Id: Icf4e5a1e02c3075b466305023c986ada52e9ec93
2018-04-18 16:12:59 +02:00
Julia Reynolds
6013e5cc96 Color and text changes
Change-Id: I2b1837ffd16911be20b5d5f9a7007ff3071265ab
Fixes: 78191129
Fixes: 77810424
Fixes: 78196346
Test: manual inspection
2018-04-18 08:45:12 -04:00
Adrian Roos
bf813dbdb2 Merge "Transitionless crashes" into pi-dev am: f921b507ea
am: b2920eb245

Change-Id: I48f7062de61b31726aa2ea5f82a040645b4140f1
2018-04-18 05:14:56 -07:00
Adrian Roos
b2920eb245 Merge "Transitionless crashes" into pi-dev
am: f921b507ea

Change-Id: I484f617b230ac50821f32cdf307dbb4d1edcd42a
2018-04-18 05:01:01 -07:00