TreeHugger Robot
c097209f91
Merge "Making old apps passing null ClipData to startDrag work again."
2016-10-03 17:51:58 +00:00
John Reck
b8a5b9ad76
Merge "Switch Parcel to FastNative"
2016-10-03 16:50:36 +00:00
Hemal Patel
1c2e1e5e0a
Docs: Fixed the Service link am: 1918214589 am: e361f735d4
...
am: 417e4e4609
Change-Id: If4c8d3d91c199f3d9818514f507844bab8e38507
2016-10-01 02:00:13 +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
TreeHugger Robot
d67b4f53d5
Merge "Some fixes in ClipData and ClipDescription delivery."
2016-10-01 00:32:20 +00:00
Vadim Tryshev
697331784b
Making old apps passing null ClipData to startDrag work again.
...
This is for compatibility; see the bug.
Bug: 31865195
Test: manually rant an old app
Change-Id: If2f55ffd424b31f18610b96dd30bca87408e3df0
2016-09-30 17:25:30 -07:00
Android Build Merger (Role)
58679382ca
Merge "SurfaceView only call forceDisconnect if isValid am: 6ba466ff3e am: 5a0da698a7 am: 88123c4ef4"
2016-10-01 00:24:12 +00:00
John Reck
15473e00ae
SurfaceView only call forceDisconnect if isValid am: 6ba466ff3e am: 5a0da698a7
...
am: 88123c4ef4
Change-Id: I612a1aafbb9deace211845d93c20f8edaf0746e4
2016-10-01 00:23:16 +00:00
TreeHugger Robot
0ec37b9f51
Merge "Adding a setting to toggle WAL mode for contacts"
2016-10-01 00:02:35 +00:00
Tao Bao
a2108434fd
Merge "Handle the race condition when calling uncrypt services." am: 42d25b5992 am: 86df8ecdf3 am: ade17dea88
...
am: 2a327506cf
Change-Id: I29cc6009fcd4d58a2f11adba425a6dafeeecb4ab
2016-10-01 00:01:03 +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
John Reck
5a0da698a7
SurfaceView only call forceDisconnect if isValid
...
am: 6ba466ff3e
Change-Id: I890142436b2442cced212550ac916bedf1306bc9
2016-09-30 23:15:04 +00:00
Vadim Tryshev
a61efa4c33
Some fixes in ClipData and ClipDescription delivery.
...
See the bug.
Bug: 31809803
Test: Ran Drag/Drop CTS
Change-Id: Ie48a172bc465cd33e176801865e54e8aded4ce55
2016-09-30 15:36:35 -07:00
Suprabh Shukla
502fd881a7
Adding a setting to toggle WAL mode for contacts
...
Bug: 1492819
Change-Id: I577b4950c57fb4cd85bd6cfc9d3ae05fdcbefda5
2016-09-30 15:06:05 -07: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
John Reck
71207b5a11
Switch Parcel to FastNative
...
Also fixes ParcelBenchmark to have bounded
memory usage to avoid OOM'ing during runs
Test: refactor, no behavior change
ParcelBenchmark results from bullhead
Before:
timeReadByte 74.43ns
timeReadInt 74.49ns
timeReadLong 74.13ns
timeWriteByte 81.81ns
timeWriteInt 82.09ns
timeWriteLong 81.84ns
After:
timeReadByte 47.08ns
timeReadInt 48.38ns
timeReadLong 48.16ns
timeWriteByte 55.90ns
timeWriteInt 55.85ns
timeWriteLong 56.58ns
Change-Id: I61b823d1d2beb86e00c196abd4dce65efa8fa7f0
2016-09-30 11:19:10 -07: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
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
Dianne Hackborn
f5ac9e6483
Merge "New infrastructure to switch remaining commands to "cmd" calls."
2016-09-29 19:57:05 +00:00
TreeHugger Robot
c2370dfdd6
Merge "Add app op name string for a runtime permission"
2016-09-29 19:11:46 +00: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
Dianne Hackborn
354736e196
New infrastructure to switch remaining commands to "cmd" calls.
...
This introduces a new feature of the IBinder command protocol
to allow the shell command implementation to call back into
its caller to ask it to open files in the calling context. This
is needed so that commands that have arguments specifying files
can open those files as the calling shell, not the system (or
whatever) process.
To test this all out, move the "am start" implementation over
to ActivityManagerShellCommand, in particular along with its
option to specify a file in which to write profiling data.
Test: Manual
Change-Id: I0c1e3857defefbd19a2ac29413aafbb34b1e48a3
2016-09-29 10:58:44 -07: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
Hugo Benichi
76982f5588
New Settings symbols for captive portal detection am: 92eb22fdd2 am: 5e666029f9
...
am: 9cd1a35660
Change-Id: Iad6840b4edd243a77fe65a69a2f4dcba28e0a7cb
2016-09-29 06:09:56 +00:00
Hugo Benichi
d7c7f5b3f3
Captive portal detection uses 3rd fallback probe am: d953bf853d am: bc739d0bbc
...
am: 2b04d1234b
Change-Id: I221cf47aa43105d4094ec724f8d6f4f6c98d0757
2016-09-29 06:07:53 +00:00
Meng Wang
587a5f9c7f
resolve merge conflicts of 68b84f73 to master
...
Change-Id: If4d5647d199050846aaf250c4341657440dafb78
2016-09-28 21:06:55 -07:00
Tony Mantler
8a03a064e4
AsyncTask terminating with exception calls onCancelled am: 5eb91a437c am: 3e51bb267d
...
am: 37c51f614c
Change-Id: Id37ed8aa1249837f4607749b40cf843393c37586
2016-09-29 02:52:54 +00:00
Eino-Ville Talvala
dce815430d
DngCreator: Do not cache timezone in static initializer am: ec727411d2 am: fa141e303e
...
am: f6ea31d8f1
Change-Id: Ib702bb0fed2a4980ce543a1ab37d7c43179a67e8
2016-09-29 02:05:30 +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
Eino-Ville Talvala
f6ea31d8f1
DngCreator: Do not cache timezone in static initializer am: ec727411d2
...
am: fa141e303e
Change-Id: I3174eb2adccc587761ab64e226eda6bd59e2295a
2016-09-28 21:36:29 +00:00