Christopher Tate
79a3ee5a98
Explicitly close FD binder parameters in backup/restore API calls am: 91bb0e5cca
...
am: 3fa99a6d11
Change-Id: I4789534da734abbce9ec52fcbe9a754bd7bd9fa0
2016-10-06 20:36:26 +00:00
Christopher Tate
3fa99a6d11
Explicitly close FD binder parameters in backup/restore API calls
...
am: 91bb0e5cca
Change-Id: Ibdba35d9c4e17180a7593966b4d54d6fb9c03f02
2016-10-06 20:10:56 +00:00
Philip P. Moltmann
7db3055bba
Do not access MTP devices when disabled. am: 5201f1e61c
...
am: c950703424
Change-Id: I9fdf980a9f60ae97eab64019b6f8e7f5b0e67e2b
2016-10-06 20:05:48 +00:00
Hemal Patel
435e8d8921
Docs: Fixed the Service link am: 1918214589 am: eb21088b67
...
am: 63b5e3ddd1
Change-Id: I1b1d34bb84a66c35268a7db754e5465b4c2b8d30
2016-10-06 19:59:53 +00:00
Philip P. Moltmann
c950703424
Do not access MTP devices when disabled.
...
am: 5201f1e61c
Change-Id: I9aa036678f2677054666b137533e61eaeac88159
2016-10-06 19:55:28 +00:00
Tucker Sylvestro
8f75adc624
Add the onDeviceOffBody API method to KeyStore
...
am: b32aae2a46
Change-Id: Idbf7f1d505b1d446a3d648dcf1b0f334a629110a
2016-10-06 16:13:48 +00:00
Tucker Sylvestro
f0b51e9db7
Merge "Add the onDeviceOffBody API method to KeyStore" into cw-f-dev
2016-10-06 16:08:45 +00:00
Erik Wolsheimer
4d855f15ab
Do not listen for clock ticks, time changes, timezone changes, or time format changes when TextClock is not visible
...
am: e12cd3bb3b
Change-Id: I4ce1dcc5184f8cf03904a19631b9efe4be1b47fa
2016-10-05 22:46:12 +00:00
Erik Wolsheimer
e12cd3bb3b
Do not listen for clock ticks, time changes, timezone changes, or time format changes when TextClock is not visible
...
BUG: 31840153
Change-Id: I11adf1036fb25b28aee5caba6daa1ab0d9d1f23a
2016-10-05 12:45:37 -07:00
Hemal Patel
63b5e3ddd1
Docs: Fixed the Service link am: 1918214589
...
am: eb21088b67
Change-Id: Ia687d1ba27eee87abe412e8a8dd11e49e5f02100
2016-10-01 01:54:45 +00:00
Hemal Patel
417e4e4609
Docs: Fixed the Service link am: 1918214589
...
am: e361f735d4
Change-Id: If7fc70c876f999c8a1d6635a3d39bbcc85708dc9
2016-10-01 01:53:53 +00:00
Hemal Patel
e361f735d4
Docs: Fixed the Service link
...
am: 1918214589
Change-Id: I52410cb0cccf0c1c99b13504672acdb0eadb9bc5
2016-10-01 01:46:01 +00:00
Hemal Patel
eb21088b67
Docs: Fixed the Service link
...
am: 1918214589
Change-Id: Icfd4e033b7ef9bd915f106abc789f11fb4ede301
2016-10-01 01:45:58 +00:00
Christopher Tate
91bb0e5cca
Explicitly close FD binder parameters in backup/restore API calls
...
CloseGuard is grateful.
Bug 30893100
Change-Id: Ia6bd4d88204839add59d9d245aad673d67b11bea
2016-09-30 17:52:19 -07:00
Philip P. Moltmann
a40092d6d2
Merge "Do not access MTP devices when disabled." into nyc-mr1-dev
2016-10-01 00:16:12 +00:00
John Reck
88123c4ef4
SurfaceView only call forceDisconnect if isValid am: 6ba466ff3e
...
am: 5a0da698a7
Change-Id: I356848f7edb11304d9ab4584dab8e5895ff49762
2016-09-30 23:23:17 +00:00
Tao Bao
9bd481b3cf
Handle the race condition when calling uncrypt services.
...
am: 1eabf53437
Change-Id: Ia5ac4f91618c1cf4aee67d069542676cf0a5e787
2016-09-30 23:16:37 +00:00
John Reck
5a0da698a7
SurfaceView only call forceDisconnect if isValid
...
am: 6ba466ff3e
Change-Id: I890142436b2442cced212550ac916bedf1306bc9
2016-09-30 23:15:04 +00:00
Tao Bao
473b048cf7
Merge "Handle the race condition when calling uncrypt services." into nyc-mr1-dev
2016-09-30 23:07:38 +00:00
Philip P. Moltmann
5201f1e61c
Do not access MTP devices when disabled.
...
The USB data transfer is disabled we should not allow access MTP devices
(e.g.
usb sticks). We have two ways of accessing them: Either by mounting them
or by creating a MTPDevice in an app.
Of course an app could implement implement their own MTPDevice
implementation. In this case we cannot enforce the policy without
completely suppressing all MTP USB devices which would be too
restrictive.
Note: When the policy is set we do _not_ disconnect already connected
MTP devices
Fixes: 31472955
Change-Id: I6080c48c49657102774b2b3b4d89ff030245a266
2016-09-30 22:24:23 +00:00
Hemal Patel
1918214589
Docs: Fixed the Service link
...
Bug: 29086415
Change-Id: Id9505ade39c19eb817f556d72f689568148e1782
2016-09-30 14:59:23 -07:00
John Reck
6ba466ff3e
SurfaceView only call forceDisconnect if isValid
...
Change-Id: I683c2f937f44d8b3d912839a3e91cbd5b5c7f437
Fixes: 31778946
Test: Manual, launch Cookie Jam then tap recents
2016-09-30 21:33:34 +00:00
Tao Bao
2a327506cf
Merge "Handle the race condition when calling uncrypt services." am: 42d25b5992 am: 86df8ecdf3
...
am: ade17dea88
Change-Id: I617b48ed7e57a0903bdc577b18b45f9added0e65
2016-09-30 20:52:08 +00:00
Tao Bao
ade17dea88
Merge "Handle the race condition when calling uncrypt services." am: 42d25b5992
...
am: 86df8ecdf3
Change-Id: I1dc6ea14b4de99bf65f9efff4f22c0bd99e2f86f
2016-09-30 20:46:05 +00:00
Tao Bao
86df8ecdf3
Merge "Handle the race condition when calling uncrypt services."
...
am: 42d25b5992
Change-Id: Ia5d37580f8bf1489fcc5ccf9c74cf64b94858dc6
2016-09-30 20:40:03 +00:00
Tao Bao
42d25b5992
Merge "Handle the race condition when calling uncrypt services."
2016-09-30 20:30:43 +00:00
Jorim Jaggi
38afe3a0c0
Fix crash if drawable doesn't have constant state am: 92d0602a7c
...
am: 0ea9093df7
Change-Id: Idee382b4a6adb2322ce9d62c4f672e2b0c1d6191
2016-09-30 09:19:03 +00:00
Jorim Jaggi
0ea9093df7
Fix crash if drawable doesn't have constant state
...
am: 92d0602a7c
Change-Id: I8ab088ad588eac8baa674d551201713562d973ef
2016-09-30 09:10:11 +00:00
Jorim Jaggi
a04451827e
Merge "Fix crash if drawable doesn't have constant state" into nyc-mr1-dev
2016-09-30 09:02:41 +00:00
Przemyslaw Szczepaniak
0053ff7e01
Merge "Add new StrictMode thread policy - DETECT_UNBUFFERED_IO" am: c60c70dcf9 am: 8297d74de5
...
am: 61eb1615a6
Change-Id: I00de82b6e9d12b7f6bd602515c21f6922d8d1983
2016-09-30 09:01:52 +00:00
Przemyslaw Szczepaniak
61eb1615a6
Merge "Add new StrictMode thread policy - DETECT_UNBUFFERED_IO" am: c60c70dcf9
...
am: 8297d74de5
Change-Id: Ic0778b573e1d9f0b1a9af6257ce91f9251beec30
2016-09-30 08:55:55 +00:00
Przemyslaw Szczepaniak
8297d74de5
Merge "Add new StrictMode thread policy - DETECT_UNBUFFERED_IO"
...
am: c60c70dcf9
Change-Id: I33ffda7e4e0ef230a4de28560262339cea102ec4
2016-09-30 08:50:41 +00:00
Tao Bao
1eabf53437
Handle the race condition when calling uncrypt services.
...
We call uncrypt services to setup / clear bootloader control block (BCB)
for scheduling tasks under recovery (applying OTAs, performing FDR).
However, we cannot start multiple requests simultaneously. Because they
all use the same socket (/dev/socket/uncrypt) for communication and init
deletes the socket on service exits.
This CL fixes the issue by a) adding synchronized blocks for the service
requests; b) checking the availability of the socket before initiating a
new one.
Note that adding synchronized blocks to RecoverySystem doesn't help,
because the calls could be made from different processes (e.g. priv-app,
system_server).
Bug: 31526152
Test: FDR works while a priv-app keeps calling clear BCB.
Change-Id: I95308989e849a9c98a9503ac509f2bc51ed3de19
(cherry picked from commit 794c8b0b3f )
2016-09-29 23:12:16 -07:00
Tao Bao
794c8b0b3f
Handle the race condition when calling uncrypt services.
...
We call uncrypt services to setup / clear bootloader control block (BCB)
for scheduling tasks under recovery (applying OTAs, performing FDR).
However, we cannot start multiple requests simultaneously. Because they
all use the same socket (/dev/socket/uncrypt) for communication and init
deletes the socket on service exits.
This CL fixes the issue by a) adding synchronized blocks for the service
requests; b) checking the availability of the socket before initiating a
new one.
Note that adding synchronized blocks to RecoverySystem doesn't help,
because the calls could be made from different processes (e.g. priv-app,
system_server).
Bug: 31526152
Test: FDR works while a priv-app keeps calling clear BCB.
Change-Id: I95308989e849a9c98a9503ac509f2bc51ed3de19
2016-09-29 16:07:19 -07:00
Tianjie Xu
1eb20e1bda
Log the error when uncrypt timeouts
...
am: 2a03586998
Change-Id: I9d85069026d777468cb41dcdf5e2ecd83812efb1
2016-09-29 18:10:00 +00:00
Tianjie Xu
e422b0b29f
Merge "Log the error when uncrypt timeouts" into nyc-mr1-dev
2016-09-29 18:03:30 +00:00
Shubham Ajmera
c95b2c85f3
Add new StrictMode thread policy - DETECT_UNBUFFERED_IO
...
This will enable the developers to check if they could replace an unbuffered
I/O operation with a corresponding buffered I/O operation.
The policy can be set as follow:
StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()
.detectUnbufferedIO().build());
Test: vogar BlockGuardTest
Bug: 3018772
Change-Id: Ib804a8e9980ae40abfd216f8b87c250fd413bd5c
(cherry picked from commit 9b7184a8fd )w
2016-09-29 16:36:12 +01:00
Jorim Jaggi
92d0602a7c
Fix crash if drawable doesn't have constant state
...
Change-Id: I2364efb9dc1446bc1a8c50abf6bd34a73c226f7e
Fixes: 31755893
2016-09-29 14:37:14 +00:00
Hugo Benichi
9cd1a35660
New Settings symbols for captive portal detection am: 92eb22fdd2
...
am: 5e666029f9
Change-Id: I6e965696ed03b0eb4a49db3b21ad6a382ba1d081
2016-09-29 01:23:59 +00:00
Hugo Benichi
2b04d1234b
Captive portal detection uses 3rd fallback probe am: d953bf853d
...
am: bc739d0bbc
Change-Id: Iec8ccdbcd433d8b2f5538d7b4bed5c945b5b688a
2016-09-29 01:22:01 +00:00
Hugo Benichi
5e666029f9
New Settings symbols for captive portal detection
...
am: 92eb22fdd2
Change-Id: Id8c19f16c50b22034278c00b55c5431d892f8a95
2016-09-29 01:15:17 +00:00
Hugo Benichi
bc739d0bbc
Captive portal detection uses 3rd fallback probe
...
am: d953bf853d
Change-Id: I15607fbfae9dc127b72b6f299b69d6b648117338
2016-09-29 01:13:59 +00:00
Hugo Benichi
3fc76c4669
Merge "New Settings symbols for captive portal detection" into nyc-mr1-dev
2016-09-29 01:07:00 +00:00
Hugo Benichi
434fa32f82
Merge "Captive portal detection uses 3rd fallback probe" into nyc-mr1-dev
2016-09-29 01:06:35 +00:00
Meng Wang
68b84f7301
Support WFC roaming preference am: 2c25e4a96b
...
am: 6db4fbecf8
Change-Id: Idff74a470e26b6c14ba1203290f533813740e192
2016-09-29 00:29:17 +00:00
Meng Wang
6db4fbecf8
Support WFC roaming preference
...
am: 2c25e4a96b
Change-Id: I8a1af9756ddf5a4359cfd94aa6eebfdcb87b9e13
2016-09-29 00:22:01 +00:00
Meng Wang
cfe950f6be
Merge "Support WFC roaming preference" into nyc-mr1-dev
2016-09-29 00:13:51 +00:00
Tony Mantler
37c51f614c
AsyncTask terminating with exception calls onCancelled am: 5eb91a437c
...
am: 3e51bb267d
Change-Id: I5d8766c0157541720118dd3d264875df58562907
2016-09-28 23:38:58 +00:00
Tony Mantler
3e51bb267d
AsyncTask terminating with exception calls onCancelled
...
am: 5eb91a437c
Change-Id: If17d5621b6813c1f02d533e853ad9b8865fdbc19
2016-09-28 23:34:13 +00:00
Tony Mantler
647625fbf8
Merge "AsyncTask terminating with exception calls onCancelled" into nyc-mr1-dev
2016-09-28 23:25:54 +00:00