Commit Graph

254621 Commits

Author SHA1 Message Date
Lorenzo Colitti
57dd2e5eff Merge "Restrict access to background networks to CHANGE_NETWORK_STATE." into nyc-mr1-dev
am: a703ecdd0c

Change-Id: I8fa53ac5143bd5df0177a11e5961acef63072007
2016-09-23 03:57:34 +00:00
Lorenzo Colitti
8bfa4053c2 Restrict access to background networks to CHANGE_NETWORK_STATE.
am: fbe9b1ad6f

Change-Id: Iaf4ccd24298f680cab39bf9b87604eb16bc53aa5
2016-09-23 03:57:32 +00:00
TreeHugger Robot
a703ecdd0c Merge "Restrict access to background networks to CHANGE_NETWORK_STATE." into nyc-mr1-dev 2016-09-23 03:51:15 +00:00
Hugo Benichi
89b6c6862c Merge "New IpConnectivityMetrics service" into nyc-mr1-dev
am: a5af1fb7b4

Change-Id: Ia3860add87e1d4ee5d28abf1f0f4e4299e6e7a0b
2016-09-23 03:49:07 +00:00
Hugo Benichi
3a353a2044 New IpConnectivityMetrics service
am: eab511b582

Change-Id: Iad65f10f079be13570e1f687dacb30f4f657a163
2016-09-23 03:49:04 +00:00
TreeHugger Robot
a5af1fb7b4 Merge "New IpConnectivityMetrics service" into nyc-mr1-dev 2016-09-23 03:44:28 +00:00
Lorenzo Colitti
fbe9b1ad6f Restrict access to background networks to CHANGE_NETWORK_STATE.
When a network goes into the background, tell netd to set the
network's permission to NETWORK. Also, close all TCP sockets on
that network, to prevent long-lived TCP connections from staying
on it and possibly continuing to use metered data.

Bug: 23113288
Change-Id: Ie89c1940b6739160e25c6e9022b8b977afb3e16e
2016-09-23 11:27:13 +09:00
Jeff Sharkey
2b6f25134b Merge "Limit LOCALE_CHANGED broadcast when init'ing." into nyc-mr1-dev
am: 2adff0ec34

Change-Id: I7ed24ecc01cf1a1ef38308474522b3e322e517a7
2016-09-23 00:57:33 +00:00
Jeff Sharkey
8c54ee72b1 Limit LOCALE_CHANGED broadcast when init'ing.
am: d26e1ff2de

Change-Id: Ib735e27a05b787fab6c955a084e55870d1e9442c
2016-09-23 00:57:30 +00:00
TreeHugger Robot
2adff0ec34 Merge "Limit LOCALE_CHANGED broadcast when init'ing." into nyc-mr1-dev 2016-09-23 00:41:30 +00:00
Pavlin Radoslavov
941a1ae107 Merge "Removed MESSAGE_BIND_PROFILE_SERVICE messages on unbind" into nyc-mr1-dev
am: bad55aca70

Change-Id: Ib79f48efa4d526c404475744753ed1c7e39dc33a
2016-09-23 00:18:08 +00:00
Pavlin Radoslavov
8854f6cf1a Removed MESSAGE_BIND_PROFILE_SERVICE messages on unbind
am: c7dda10ee9

Change-Id: I49e5669a037080089b7be345d8dfb32744a5525a
2016-09-23 00:18:04 +00:00
TreeHugger Robot
bad55aca70 Merge "Removed MESSAGE_BIND_PROFILE_SERVICE messages on unbind" into nyc-mr1-dev 2016-09-23 00:09:42 +00:00
Hugo Benichi
e5a794a2f1 Merge "Add ipconnectivity.proto to services jar" into nyc-mr1-dev
am: 239f78a455

Change-Id: I97551513b789471964f637fe1e03784fbba1b246
2016-09-22 23:46:20 +00:00
Hugo Benichi
446a3847b4 Add ipconnectivity.proto to services jar
am: 50a84c6210

Change-Id: I3bcaaa4c31aa54dfde8453023c91510d072823a8
2016-09-22 23:46:18 +00:00
Jaewan Kim
bc0d8bd646 Merge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452 -s ours am: ded4df2e79 am: 462493ee81 am: 585f642d65 -s ours am: 2cd4383c31 am: 09edfde074 am: 1ab448b5d5 am: 5b649ddcc6 -s ours am: e36701214a am: aec37971b2
am: c0024237c0

Change-Id: Id175c5e8463e7ca573ae3a30c37c817883c613ed
2016-09-22 23:45:38 +00:00
Hugo Benichi
a2598a5a4d Merge "ConnectivityMetricsLoggerTest" into nyc-mr1-dev
am: 3a6acc6d96

Change-Id: I94a70a84e1869573fa3222639538593fa681fcce
2016-09-22 23:44:16 +00:00
Hugo Benichi
63dffe336e ConnectivityMetricsLoggerTest
am: b1af5e51c5

Change-Id: Ifa56e878d17be4f93f2ffd9bc8aaeb4789beb55e
2016-09-22 23:44:13 +00:00
Hugo Benichi
239f78a455 Merge "Add ipconnectivity.proto to services jar" into nyc-mr1-dev 2016-09-22 23:37:22 +00:00
Jaewan Kim
c0024237c0 Merge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452 -s ours am: ded4df2e79 am: 462493ee81 am: 585f642d65 -s ours am: 2cd4383c31 am: 09edfde074 am: 1ab448b5d5 am: 5b649ddcc6 -s ours am: e36701214a
am: aec37971b2

Change-Id: I598bd69e76fba210387971a0a8c6841cadf70101
2016-09-22 23:33:25 +00:00
Hugo Benichi
3a6acc6d96 Merge "ConnectivityMetricsLoggerTest" into nyc-mr1-dev 2016-09-22 23:29:43 +00:00
Jaewan Kim
1548fb1bd5 DO NOT MERGE Fix build am: dfedca4e43 -s ours am: 499871ebe9 am: 3ea1f124f9 am: ed3e26e2be -s ours am: e9a9e2f055 am: 351aa0b320 am: 03bad07418 am: afab98a69e -s ours am: 738c21253a am: 4c7df4ba37
am: 80743656b1

Change-Id: I097a8b682b61517481b176d5b917a4f0f22d3d48
2016-09-22 23:22:51 +00:00
Brad Ebinger
653330b86f Merge "Add RadioAccessFamily rank" into nyc-mr1-dev
am: 6f0cbd9297

Change-Id: Ieaf0456a99566a2a1395e78dd1d8c7beba0008ae
2016-09-22 23:21:30 +00:00
Jaewan Kim
aec37971b2 Merge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452 -s ours am: ded4df2e79 am: 462493ee81 am: 585f642d65 -s ours am: 2cd4383c31 am: 09edfde074 am: 1ab448b5d5 am: 5b649ddcc6 -s ours
am: e36701214a

Change-Id: I648f67d04ae9fd74ea0ea06f47ffea5abde042f9
2016-09-22 23:20:47 +00:00
Brad Ebinger
86739bd8d6 Add RadioAccessFamily rank
am: de780c84b5

Change-Id: I60352df2052169c722045669069fef8002561574
2016-09-22 23:20:35 +00:00
Robert Carr
ffff62d51b Merge "SurfaceView: Force surface disconnection before reuse." into nyc-mr1-dev
am: 9d88f86190

Change-Id: I0c6e3c925cf7d8e111edc4a57e0301fa6dce5285
2016-09-22 23:17:06 +00:00
Robert Carr
288ce4fc42 SurfaceView: Force surface disconnection before reuse.
am: 387838be95

Change-Id: Ied6c33fac75612ed2cdeb45b24c521bbff979afa
2016-09-22 23:17:05 +00:00
Jaewan Kim
80743656b1 DO NOT MERGE Fix build am: dfedca4e43 -s ours am: 499871ebe9 am: 3ea1f124f9 am: ed3e26e2be -s ours am: e9a9e2f055 am: 351aa0b320 am: 03bad07418 am: afab98a69e -s ours am: 738c21253a
am: 4c7df4ba37

Change-Id: I4db0a7cfa9a8177ef195ff5fad9448f3fb2b6fc8
2016-09-22 23:16:51 +00:00
Robert Carr
b4c6575aaa Merge "Don't halt movement notifications when display is frozen." into nyc-mr1-dev
am: 6f91c19337

Change-Id: I452ba7235a8540e7ec50a0e2b9708dfe8a8fbf1f
2016-09-22 23:15:58 +00:00
Robert Carr
ebc6d5df7e Don't halt movement notifications when display is frozen.
am: c67c2a91dd

Change-Id: I246a3a003dabd3499e70c575a353ae483aae4019
2016-09-22 23:15:56 +00:00
Jaewan Kim
e0bd191caf Merge "Merge "DO NOT MERGE Check caller for sending media key to telephony service" into klp-dev am: 5b05226586 am: b38fbf9894 am: 84ecab6059 -s ours am: 5ac79fa0a1 -s ours am: 890f53a486 am: 1bf809c490 am: 6ad7c0f6ce -s ours am: 1c278e5652 am: bed7636243 am: dd883c7e87 am: 832179120f -s ours am: c547eeda12 am: f91952879c" into nyc-mr1-dev
am: 9570466f2d

Change-Id: Ie30af77e8e36244408348ae3f199c31f9f35262c
2016-09-22 23:14:39 +00:00
Jaewan Kim
1efb02564f Merge "DO NOT MERGE Check caller for sending media key to telephony service" into klp-dev am: 5b05226586 am: b38fbf9894 am: 84ecab6059 -s ours am: 5ac79fa0a1 -s ours am: 890f53a486 am: 1bf809c490 am: 6ad7c0f6ce -s ours am: 1c278e5652 am: bed7636243 am: dd883c7e87 am: 832179120f -s ours am: c547eeda12 am: f91952879c
am: dcbae98c53

Change-Id: I6b0b0f7265987e90699a0d7f6b7e7ea82f316f88
2016-09-22 23:14:36 +00:00
Jaewan Kim
7fa39d2a05 Merge "DO NOT MERGE Check caller for sending media key to telephony service am: d1641e8c27 am: 9477c1674c am: 27d24e01cb -s ours am: 8dffbcd169 -s ours am: f140f796ea am: 7eaeeb49bb am: 7ffaaca237 -s ours am: fa9983ec73 am: 900d1c90b3 am: 0e31d93890 am: 4da22f27f6 -s ours am: 36068a2f00 am: 949c938317" into nyc-mr1-dev
am: 02b5a0579b

Change-Id: I6a62821a83d87548293b2271210aa09761bd987c
2016-09-22 23:12:57 +00:00
Jaewan Kim
dec08ca8d0 DO NOT MERGE Check caller for sending media key to telephony service am: d1641e8c27 am: 9477c1674c am: 27d24e01cb -s ours am: 8dffbcd169 -s ours am: f140f796ea am: 7eaeeb49bb am: 7ffaaca237 -s ours am: fa9983ec73 am: 900d1c90b3 am: 0e31d93890 am: 4da22f27f6 -s ours am: 36068a2f00 am: 949c938317
am: 55aed3d49a

Change-Id: I71193be46e95799e19bb2a7ed35b18f3ab6e06cf
2016-09-22 23:12:56 +00:00
Chris Tate
5943fec2fb Merge "Fix crash in clearWallpaper()" into nyc-mr1-dev
am: bd2a00f848

Change-Id: I6da47cfa76c724891f8090e4566a98c450777e4f
2016-09-22 23:11:14 +00:00
Christopher Tate
2a8f8f008c Fix crash in clearWallpaper()
am: a2bd512034

Change-Id: I1ad7ef3676fab348022ee5b2a90ca144e44b06b8
2016-09-22 23:11:12 +00:00
Brad Ebinger
6f0cbd9297 Merge "Add RadioAccessFamily rank" into nyc-mr1-dev 2016-09-22 23:10:06 +00:00
Wale Ogunwale
a4f8057e3e Merge "Don't take app screenshot in minimize docked stack." into nyc-mr1-dev
am: b495cca72b

Change-Id: I5b9b8a2961776334f8d5f1e65839cbca4805ece4
2016-09-22 23:10:05 +00:00
Wale Ogunwale
7cc8d16746 Don't take app screenshot in minimize docked stack.
am: f5d1e35316

Change-Id: I718434469cb52e95a4a7fb80012f13e4e0a69396
2016-09-22 23:10:01 +00:00
Jaewan Kim
4c7df4ba37 DO NOT MERGE Fix build am: dfedca4e43 -s ours am: 499871ebe9 am: 3ea1f124f9 am: ed3e26e2be -s ours am: e9a9e2f055 am: 351aa0b320 am: 03bad07418 am: afab98a69e -s ours
am: 738c21253a

Change-Id: I789e62154186ed42449cd1904d906778a1ea364b
2016-09-22 23:08:41 +00:00
Chris Tate
28b7d9b2fa Merge "Add hidden intent extra about service availability" into nyc-mr1-dev
am: 0bb29a8981

Change-Id: Ieb5ea74056211d6bba4bd4deee7773d476659df3
2016-09-22 23:08:33 +00:00
Jaewan Kim
e36701214a Merge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452 -s ours am: ded4df2e79 am: 462493ee81 am: 585f642d65 -s ours am: 2cd4383c31 am: 09edfde074 am: 1ab448b5d5
am: 5b649ddcc6  -s ours

Change-Id: I7de1101955e5152cd1fb5858ac93c9e94697b01b
2016-09-22 23:08:24 +00:00
Christopher Tate
588729f07d Add hidden intent extra about service availability
am: 38c9c30640

Change-Id: If626d4081621a5eee358bd7dfb86ae8349c67ef1
2016-09-22 23:08:21 +00:00
Jeff Sharkey
d26e1ff2de Limit LOCALE_CHANGED broadcast when init'ing.
Immediately when a device finishes booting, retrieveSettings() will
read out the current configuration details, including locale.  At
that point mProcessesReady has been set, meaning third-party apps can
be launched.  But we haven't started persistent apps yet!

If you have a persistent app (like com.android.phone) which also has
a somewhat related app (like com.android.stk) merged into the same
process, the LOCALE_CHANGED broadcast could start the process pointing
at an unexpected code/data location.

This change avoids this by only sending LOCALE_CHANGED broadcasts to
registered receivers (no manifest receivers) when the locale is being
read for the first time (initLocale).

Test: booted device with locked SIM
Bug: 31665819
Change-Id: I977a596501c6ba492005f98a2367e4b9f67e2dba
2016-09-22 17:05:54 -06:00
Ajay Panicker
eb90b6f735 Merge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed" into klp-dev am: c119a677c4 am: 35d1b45b0f am: dc0f9fa9c9 -s ours am: 8919cc83bb -s ours am: 0241b6d88a am: 0fee65e58b am: 08fed21f2c -s ours am: 0029d03c0a am: afeaced48f am: 2a214fc5f2 am: 0ec10c8fdc -s ours am: 916552b0c9 am: b937fdbbe8
am: d2ea0ff0cf

Change-Id: I260fe43f500bd067bb61eec112ea55ded24ec5a7
2016-09-22 22:54:29 +00:00
Winson
307caf4f30 Merge "Defer launching next task until after first layout." into nyc-mr1-dev
am: a9375fef09

Change-Id: Ibda4332a5e84bbca996ab62d92d675468e473500
2016-09-22 22:53:18 +00:00
Winson
6dcd21e5da Defer launching next task until after first layout.
am: bd53a314f4

Change-Id: I73070b5bd4d5b6818dfe0a6c3ef0c6c73bef4cca
2016-09-22 22:53:16 +00:00
TreeHugger Robot
9d88f86190 Merge "SurfaceView: Force surface disconnection before reuse." into nyc-mr1-dev 2016-09-22 22:52:16 +00:00
Robert Carr
872a5fbd5f Merge "Avoid entering display freeze mode when using seamless rotation." into nyc-mr1-dev
am: 7184f8804f

Change-Id: Id7c954afb3074aa086bec16818a261da220d701c
2016-09-22 22:52:11 +00:00
Robert Carr
95e413c781 Avoid entering display freeze mode when using seamless rotation.
am: 73a1fa7f2c

Change-Id: I269f1d0566f82885b43247aa7174db9615e88b7c
2016-09-22 22:52:09 +00:00