Peng Xu
ed2986ca91
Merge "[Stability]: fix system_server crash issue caused by fd leak." into oc-dev am: 3ab258c98d
...
am: 5d34ce7f65
Change-Id: If08c2b50114940ff75795f4c15b005ece7958b6b
2017-04-27 05:09:46 +00:00
Peng Xu
5d34ce7f65
Merge "[Stability]: fix system_server crash issue caused by fd leak." into oc-dev
...
am: 3ab258c98d
Change-Id: I2c36bf36a085f9c4535d74dc3245abfe56a2b322
2017-04-27 05:00:12 +00:00
Joe Fernandez
38fdae5a47
Merge "docs: Update ScrollView JavaDoc comments" into oc-dev am: 47ca22e361
...
am: 41043c27a7
Change-Id: Ie7ffd3ffd9e3c9e9a2f5d85a5a6c465ebf61d76a
2017-04-27 04:59:16 +00:00
Joe Fernandez
210e18554a
Merge "docs: Update RelativeLayout.LayoutParams JavaDoc comments" into oc-dev am: b312d38868
...
am: 6e76d0dd0a
Change-Id: I6cd2c025531f9bfec8fe811c0c949226ff59fffd
2017-04-27 04:53:44 +00:00
Peng Xu
3ab258c98d
Merge "[Stability]: fix system_server crash issue caused by fd leak." into oc-dev
2017-04-27 04:49:16 +00:00
Svet Ganov
6d07726bbd
Merge "Handle package changes in autofill manager service" into oc-dev am: 01d51288df
...
am: 9bf772566b
Change-Id: I0f18c9754249050c626c9078ed7fd5b705f84e9e
2017-04-27 04:46:53 +00:00
Joe Fernandez
41043c27a7
Merge "docs: Update ScrollView JavaDoc comments" into oc-dev
...
am: 47ca22e361
Change-Id: I420d715eb686c1a27f888a394d764358cb227df6
2017-04-27 04:42:27 +00:00
Joe Fernandez
b6d524479c
Merge "docs: Update LinearLayout JavaDoc comments" into oc-dev am: ca105f6c29
...
am: 6fcab388e1
Change-Id: I67bf48a579fd81ed3f3756e5077353fdfa2329ed
2017-04-27 04:42:18 +00:00
Joe Fernandez
f29dab8317
Merge "docs: Update ProgressBar JavaDoc comments" into oc-dev am: 80fe019f6b
...
am: 140a0c4569
Change-Id: I413a86d8371afff68fbfa1f868643b9c65ea5b98
2017-04-27 04:40:23 +00:00
Joe Fernandez
6e76d0dd0a
Merge "docs: Update RelativeLayout.LayoutParams JavaDoc comments" into oc-dev
...
am: b312d38868
Change-Id: I1452e7e30f5eea7da222b093b0e8d6d1fb400c10
2017-04-27 04:40:19 +00:00
Svet Ganov
9bf772566b
Merge "Handle package changes in autofill manager service" into oc-dev
...
am: 01d51288df
Change-Id: Idcc327443e903d7b5b09526babf62426e3b83291
2017-04-27 04:36:08 +00:00
Joe Fernandez
6fcab388e1
Merge "docs: Update LinearLayout JavaDoc comments" into oc-dev
...
am: ca105f6c29
Change-Id: I474bae032506243df9035056155fc0738f49e445
2017-04-27 04:33:16 +00:00
Joe Fernandez
140a0c4569
Merge "docs: Update ProgressBar JavaDoc comments" into oc-dev
...
am: 80fe019f6b
Change-Id: Ia821d6edb1c0c1b44b7a1f33490c4046d81ff2cc
2017-04-27 04:31:10 +00:00
TreeHugger Robot
47ca22e361
Merge "docs: Update ScrollView JavaDoc comments" into oc-dev
2017-04-27 04:29:14 +00:00
TreeHugger Robot
b312d38868
Merge "docs: Update RelativeLayout.LayoutParams JavaDoc comments" into oc-dev
2017-04-27 04:28:36 +00:00
TreeHugger Robot
01d51288df
Merge "Handle package changes in autofill manager service" into oc-dev
2017-04-27 04:22:24 +00:00
Bartosz Fabianowski
86a60af911
Merge "Add device ID attestation method to keymaster" into oc-dev am: 9138c5dfa7
...
am: 06269a51a3
Change-Id: I0a6189a43f3da80e3e6c70e419bd19e492a3431a
2017-04-27 04:21:21 +00:00
TreeHugger Robot
ca105f6c29
Merge "docs: Update LinearLayout JavaDoc comments" into oc-dev
2017-04-27 04:21:15 +00:00
TreeHugger Robot
80fe019f6b
Merge "docs: Update ProgressBar JavaDoc comments" into oc-dev
2017-04-27 04:12:48 +00:00
Bartosz Fabianowski
06269a51a3
Merge "Add device ID attestation method to keymaster" into oc-dev
...
am: 9138c5dfa7
Change-Id: I27c7bd606df0c584d897523c787ae684e9c0c30c
2017-04-27 04:04:45 +00:00
TreeHugger Robot
9138c5dfa7
Merge "Add device ID attestation method to keymaster" into oc-dev
2017-04-27 03:51:35 +00:00
Thierry Strudel
ece721f8cd
Merge "Update UsbService to V1_1 usb hal"
2017-04-27 03:28:12 +00:00
songjinshi
b5322b2be5
[Stability]: fix system_server crash issue caused by fd leak.
...
If an app incorrect use of registerListener, it will cause
system_server socket fd leak, for example:
protected void onResume() {
super.onResume();
mSensorManager.registerListener(new MySensorEventListener(),
mSensor, SensorManager.SENSOR_DELAY_UI);
Each time a new SensorEventQueue, then in the system_server
will open a new socket fd, as time increases system_server's
fd will be more than 1024 and crash, so we needed add count limit
for sensor listener to improve the system stability.
Test: use the apk attached in the issue
https://code.google.com/p/android/issues/detail?id=258634
Bug: 37543280
Change-Id: I35006966a1638c25bb0f54611e117e16a764e12b
Signed-off-by: songjinshi <songjinshi@xiaomi.com >
2017-04-27 02:40:45 +00:00
Svet Ganov
48f10a2ab5
Handle package changes in autofill manager service
...
Autofill manager service was not observing package changes thus
we did not properly handle the cases of the service being updated,
added, and removed. Handling, additions is needed to properly
support restore from a backup. Fixed a few missing locks.
Test: all autofill CTS tests pass and manually tested update, add,
and remove of autofill services.
bug:36638606
bug:36978445
Change-Id: Idd47891774ba2a4e562a1952cbb5a048211fd4e3
2017-04-26 19:22:05 -07:00
Kevin Chyn
fc92b9ff8e
Add setting to enable ES while sleeping
...
Also changed code so that our contentObserver updates relevant ES
variables when settings are changed
Fixes: 37719853
Test: manual
Change-Id: I624fd5e6cec728ccb01d01b6a8779764aa418a6a
2017-04-26 18:52:39 -07:00
Daniel Sandler
84c00e396e
Merge "Avoid ClassCastException in ArrayMap." into oc-dev am: f9e5395081
...
am: c467559093
Change-Id: I078ba5b3ce2acaab5151e37f0a0f718f15a230dd
2017-04-27 01:38:07 +00:00
Daniel Sandler
c467559093
Merge "Avoid ClassCastException in ArrayMap." into oc-dev
...
am: f9e5395081
Change-Id: I2b8b50865bd6db37092ac5752bf280a74e840074
2017-04-27 01:31:40 +00:00
Daniel Sandler
f9e5395081
Merge "Avoid ClassCastException in ArrayMap." into oc-dev
2017-04-27 01:23:57 +00:00
Winson Chung
b6efdda9a0
Updating PiP API and documentation. am: 709904f800
...
am: 1aef4da275
Change-Id: Id65ec5a93ef0eccbf4c06a7e3886e08f4d2ca913
2017-04-27 01:01:18 +00:00
Winson Chung
1aef4da275
Updating PiP API and documentation.
...
am: 709904f800
Change-Id: I28e4de6ab2072c53cc5d7da77b7d70acb63d8ef0
2017-04-27 00:46:25 +00:00
Felipe Leme
66dc79b16c
Merge "Provide support for optimized ACTION_REQUEST_SET_AUTOFILL_SERVICE." into oc-dev am: 62bb027d12
...
am: 889bdc8dc9
Change-Id: Icc27cc9f47339845ebeed647116c914db1cca162
2017-04-27 00:18:21 +00:00
Winson Chung
709904f800
Updating PiP API and documentation.
...
- Renaming PictureInPictureArgs to PictureInPictureParams, making it
immutable and built with a builder class. In addition, making the
aspect ratio rational.
- Moving the check to get max number of actions to the activity to have
more flexibility going forward
- Also ensures that enterPictureInPictureMode() returns true if the
activity is already in PiP mode.
- Will follow up with CL to remove PictureInPictureArgs and related methods
once this CL drops
Bug: 35765211
Bug: 37638323
Bug: 37637423
Bug: 37636674
Bug: 36342780
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: android.app.cts.PictureInPictureParamsBuilderTest
Change-Id: I54a487d55a59c9ce8ac7bd6c80c61209c8b26224
Signed-off-by: Winson Chung <winsonc@google.com >
2017-04-26 17:14:19 -07:00
Makoto Onuki
69d7bfe373
Merge "Enhance DeviceAdminService javadoc and remove TODO." into oc-dev am: 397335d926
...
am: 9e3f4ac593
Change-Id: Ia95a458719f12454347adada6ca5a4f18c63e48b
2017-04-27 00:11:47 +00:00
Felipe Leme
889bdc8dc9
Merge "Provide support for optimized ACTION_REQUEST_SET_AUTOFILL_SERVICE." into oc-dev
...
am: 62bb027d12
Change-Id: If9e223a9cc7585568eb86995f0d0ef458d2c658c
2017-04-26 23:54:31 +00:00
Makoto Onuki
9e3f4ac593
Merge "Enhance DeviceAdminService javadoc and remove TODO." into oc-dev
...
am: 397335d926
Change-Id: Ie69d82114c5df99261c3d9fcfe2dd47eb6d7ddf1
2017-04-26 23:49:58 +00:00
Seigo Nonaka
865ae63322
Merge "Font API clean up" into oc-dev am: 25c2cdc052
...
am: 7de96042ed
Change-Id: If2580c1ea3b58b377484a26fd7e9107e9958e3ed
2017-04-26 23:49:09 +00:00
Felipe Leme
62bb027d12
Merge "Provide support for optimized ACTION_REQUEST_SET_AUTOFILL_SERVICE." into oc-dev
2017-04-26 23:46:21 +00:00
Makoto Onuki
397335d926
Merge "Enhance DeviceAdminService javadoc and remove TODO." into oc-dev
2017-04-26 23:34:00 +00:00
Seigo Nonaka
7de96042ed
Merge "Font API clean up" into oc-dev
...
am: 25c2cdc052
Change-Id: Ica94609836262103b721138eaac413c8192a7ca7
2017-04-26 23:32:57 +00:00
Seigo Nonaka
25c2cdc052
Merge "Font API clean up" into oc-dev
2017-04-26 23:20:01 +00:00
Ajay Panicker
048adae957
Merge "Limit btsnoop file size (3/8)"
2017-04-26 23:02:45 +00:00
Rob Carr
10382bf1ca
Merge "Fix logspam NPE." into oc-dev am: bd1ef76684
...
am: 96a018166a
Change-Id: Iaae66abc2d4709d84498522483f5042e48d7f6b4
2017-04-26 22:05:04 +00:00
Rob Carr
96a018166a
Merge "Fix logspam NPE." into oc-dev
...
am: bd1ef76684
Change-Id: I16bfcd16236ba42302208dce37e3eb08907f2c91
2017-04-26 21:54:48 +00:00
Rob Carr
bd1ef76684
Merge "Fix logspam NPE." into oc-dev
2017-04-26 21:43:30 +00:00
Badhri Jagan Sridharan
ef4b303fc2
Update UsbService to V1_1 usb hal
...
This CL adapts Usb service to V1_1 hal.
V1_1 hal supports reporting audio_adapter accessory
and debug accessory.
Bug: 36604276
Test: Manually test inserting an Audio accessory.
Also tested to made sure that change is compatible with V1_0
implementations
Change-Id: I8e44f5e9ae14b0e41965e8d355c99ac42af93f23
2017-04-26 21:43:07 +00:00
TreeHugger Robot
b1fb0ecbd3
Merge "Update comment to getDataOnlyRemoteInputs per API review."
2017-04-26 19:34:59 +00:00
Felipe Leme
bb81092a31
Provide support for optimized ACTION_REQUEST_SET_AUTOFILL_SERVICE.
...
Also removed obsolete 'cmd autofill save'
Bug: 2153814
Test: manual verification
Change-Id: I082e6bb098e9be5d9e26d0941efcf6f28ab01e1d
2017-04-26 12:07:17 -07:00
Felipe Leme
6551a50c3d
Merge "Provide a way to set AutofillId on ViewStructure." into oc-dev am: 5f7979222d
...
am: 58510a2d6b
Change-Id: I2850e33f2be4970aeac8ca1bd0f61703a73b18db
2017-04-26 19:05:13 +00:00
Makoto Onuki
cbc0d11d21
Enhance DeviceAdminService javadoc and remove TODO.
...
Test: Javadoc only
Bug: 37706621
Change-Id: Iac09675ca923adf40aef8f1871ddd0de797d4a08
2017-04-26 12:03:59 -07:00
Felipe Leme
58510a2d6b
Merge "Provide a way to set AutofillId on ViewStructure." into oc-dev
...
am: 5f7979222d
Change-Id: I64c55257b3652f1435f7beba1640fc0081ce4229
2017-04-26 18:50:39 +00:00