Commit Graph

69023 Commits

Author SHA1 Message Date
Joel Fernandes
86c305163d Merge "Set android.display thread to top-app cpusets and schedtune group" into oc-dev
am: 5362f10dad

Change-Id: I4993d49f7bcf9606e7676b17f7dacbc0e457e061
2017-04-06 22:57:31 +00:00
TreeHugger Robot
5362f10dad Merge "Set android.display thread to top-app cpusets and schedtune group" into oc-dev 2017-04-06 22:51:42 +00:00
Felipe Leme
3e91021212 Merge "Removed deprecated onFillRequest() method" into oc-dev
am: 7a7c0ace82

Change-Id: I538be771db63f10a6383495147c32848fabe55cd
2017-04-06 22:30:09 +00:00
TreeHugger Robot
7a7c0ace82 Merge "Removed deprecated onFillRequest() method" into oc-dev 2017-04-06 22:20:49 +00:00
Joel Fernandes
2d314e15c9 Set android.display thread to top-app cpusets and schedtune group
android.display being in the foreground cpuset group is an issue. As
seen on M/S, during heavily CPU load it is not given core 3 even though
it might be free and causes jank. This patch adds the thread to the
top-app group to ensure it is placed on all cores during scheduling
decisions.

Doing this required a couple of changes:
- new API to set per-thread cpusets
- changes to DisplayManagerService to set the thread to top-app group
- changes to SystemServer to set the policy toward the end, as doing it
  during start of the DisplayManagerService was in issue (issue being
  SystemServer calls setSystemProcess.. -> setProcessGroup which overrides
  the group settings for threads in the system server process, including
  android.display)

Bug: 36631902
Test: Boot and make sure android.display thread is in the top-app group

Change-Id: Icc394ea0ffcf159d11728ad38de114234a29d20f
Signed-off-by: Joel Fernandes <joelaf@google.com>
(cherry picked from commit 474d311cb0)
2017-04-06 21:19:25 +00:00
Roozbeh Pournader
73da8f95b3 Merge "Force direction of phone number fields to (practically) LTR" into oc-dev
am: 0dc7596ee3

Change-Id: I10ad0deefcc24276c376816e8b7482f64d040023
2017-04-06 21:18:57 +00:00
Roozbeh Pournader
0dc7596ee3 Merge "Force direction of phone number fields to (practically) LTR" into oc-dev 2017-04-06 21:13:05 +00:00
Kang Li
461959d71f Merge "Add a service to rank apps for ResolverActivity." into oc-dev
am: 5a0ee44ce5

Change-Id: I36f8664480f8741dd4d755cfcc3cfa95d8e3d1ba
2017-04-06 20:37:09 +00:00
TreeHugger Robot
5a0ee44ce5 Merge "Add a service to rank apps for ResolverActivity." into oc-dev 2017-04-06 20:25:47 +00:00
Jason Monk
79f56babd7 Merge "Revert "Handle case when snapshot dimensions don't match"" into oc-dev
am: e7ac324c71

Change-Id: If7e422b1a5e7f8b94d4f338412025aa7ca526a09
2017-04-06 20:20:41 +00:00
Chad Brubaker
878331631e Merge "Expose ConfigUpdater Intents in SystemApi" into oc-dev
am: 6de4ea56f7

Change-Id: Ibdf483d6b40ac30f78e3e6e4a024c7da2354831d
2017-04-06 20:09:06 +00:00
Felipe Leme
eefb3c91f1 Merge "Fixed Autofill NPE that crashed some apps." into oc-dev
am: 75d0d92f7b

Change-Id: I0a0b70b0a6e476b038af6e58fa524eadd3856de2
2017-04-06 20:04:53 +00:00
Jason Monk
e7ac324c71 Merge "Revert "Handle case when snapshot dimensions don't match"" into oc-dev 2017-04-06 19:51:12 +00:00
Roozbeh Pournader
380154724b Force direction of phone number fields to (practically) LTR
Previously, phone number fields defaulted to locale direction, which
created problems for apps that were not aware of LTR requirements for
phone numbers.

Now, we look at the direction of the digits for the locale, and use
that to determine the direction of the edit field. (For practically
all major RTL locales, that direction is LTR.)

Test: Manual
Bug: 33643035
Change-Id: I17c70d8462bd403ea6866057971105f1f5772ba3
2017-04-06 19:42:57 +00:00
TreeHugger Robot
6de4ea56f7 Merge "Expose ConfigUpdater Intents in SystemApi" into oc-dev 2017-04-06 19:40:25 +00:00
Felipe Leme
75d0d92f7b Merge "Fixed Autofill NPE that crashed some apps." into oc-dev 2017-04-06 19:36:26 +00:00
Jason Monk
ba53d8ae41 Revert "Handle case when snapshot dimensions don't match"
This reverts commit aea6b74e17.
Bug: 36991071
Bug: 36703868
Change-Id: Ie71992144e78a6580bfce17dfdf20396af80eacd
2017-04-06 18:30:11 +00:00
Kang Li
38a6da6473 Add a service to rank apps for ResolverActivity.
bug: 36952725,30982298

Test: used PTP before and after this fix.

Change-Id: I5b249af2dd0d9fe32d1e524e8d2675c863e92b5b
2017-04-06 18:08:14 +00:00
Rob Carr
1f3a56ef7e Merge "WindowManager.LayoutParams: Expose privateFlags for CTS" into oc-dev
am: 0b504559ee

Change-Id: I784b58f59acf7ed91e37d70e57c076734814aa9e
2017-04-06 18:07:50 +00:00
Rob Carr
0b504559ee Merge "WindowManager.LayoutParams: Expose privateFlags for CTS" into oc-dev 2017-04-06 18:00:55 +00:00
Chad Brubaker
19f98d9707 Expose ConfigUpdater Intents in SystemApi
The Intents are are in the android namespace and should have been
exposed as SystemApi, but were not previously.

Since there are no classes in the framework that reference these Intents
this adds android.os.ConfigUpdate to have them all in one place.

Test: builds
Change-Id: I2086945301f06b28b491ec876652c37e97315e8c
Fixes: 35252508
Fixes: 35266806
Fixes: 35266833
Fixes: 35271111
(cherry picked from commit 987b0fc4a5)
2017-04-06 17:18:13 +00:00
Chad Brubaker
57a9464831 Merge "Allow permissions to be runtime-only." into oc-dev
am: 941e9e2b38

Change-Id: I2b1b3a53e6609cc335b4efa9084e603986f58bbe
2017-04-06 16:54:50 +00:00
Todd Kennedy
f97938f9d0 Merge "Bind with the correct action" into oc-dev
am: e7ec7ec634

Change-Id: I761c5e112a75aa7314821f36c932e98b90be1aec
2017-04-06 16:44:58 +00:00
Chad Brubaker
941e9e2b38 Merge "Allow permissions to be runtime-only." into oc-dev 2017-04-06 16:44:11 +00:00
Felipe Leme
6219f2693e Fixed Autofill NPE that crashed some apps.
It happened when views provided an Accessibility node that had children.

Bug: 37078783
Fixes: 37009008
Test: LoginActivityTest#testAutoFillWhenViewHasChildAccessibilityNodes

Change-Id: Ie694094afe9129b933096a385eb867baf4550e7f
2017-04-06 09:44:04 -07:00
TreeHugger Robot
e7ec7ec634 Merge "Bind with the correct action" into oc-dev 2017-04-06 16:35:37 +00:00
Julia Reynolds
fafcda882b Merge "Show a link to app settings in notification guts." into oc-dev
am: 0ff1b458ac

Change-Id: I27b70e04b9924c95dbd2f915d27c0e346f2f0a09
2017-04-06 16:06:09 +00:00
Julia Reynolds
0ff1b458ac Merge "Show a link to app settings in notification guts." into oc-dev 2017-04-06 15:55:36 +00:00
Julia Reynolds
4c6d2c76a4 Merge "Remove unneeded methods" into oc-dev
am: 9a8f641801

Change-Id: I5532580c81fcb337bf7a7d22cf148b72f73ba8f6
2017-04-06 15:19:51 +00:00
Julia Reynolds
9a8f641801 Merge "Remove unneeded methods" into oc-dev 2017-04-06 15:13:13 +00:00
Julius D'souza
4ce6cea7b6 Document Android Wear usage of KEYCODE_WINDOW. am: 03d4a65865 am: 137006ff5c
am: 4d0c2084f1

Change-Id: I337022d3e9552a60ada14d19ce9a6e78faddc788
2017-04-06 14:26:42 +00:00
Julius D'souza
4d0c2084f1 Document Android Wear usage of KEYCODE_WINDOW. am: 03d4a65865
am: 137006ff5c

Change-Id: I40ba20230d36bfe7b1f397b822f2122172de9da3
2017-04-06 14:19:58 +00:00
Julius D'souza
137006ff5c Document Android Wear usage of KEYCODE_WINDOW.
am: 03d4a65865

Change-Id: If938e79a9eddcf3cec97274ad305834c2d58386e
2017-04-06 14:12:46 +00:00
Emilian Peev
222cd1a634 Merge "Camera: Initial support for vendor tag caches" into oc-dev
am: a441da153e

Change-Id: Ic80646c19d4f7bac081067ae740de550caa0f1fd
2017-04-06 14:07:02 +00:00
TreeHugger Robot
a441da153e Merge "Camera: Initial support for vendor tag caches" into oc-dev 2017-04-06 14:02:11 +00:00
Felipe Leme
3dac19b040 Merge "Pass FillResponse bundle on subsequent onFillRequest() calls." into oc-dev
am: 84705f9fb9

Change-Id: I044ab29d793b8fa5a1ce7830e61205b8240f2fef
2017-04-06 06:31:15 +00:00
Philip P. Moltmann
7e3af23cc3 Merge "Overlay a highlight over autofilled views" into oc-dev
am: 4ebafa8000

Change-Id: I0642ef746f9deeef58b3e689287b9378e14c038b
2017-04-06 06:28:33 +00:00
TreeHugger Robot
84705f9fb9 Merge "Pass FillResponse bundle on subsequent onFillRequest() calls." into oc-dev 2017-04-06 06:24:07 +00:00
TreeHugger Robot
4ebafa8000 Merge "Overlay a highlight over autofilled views" into oc-dev 2017-04-06 06:22:13 +00:00
Vladislav Kaznacheev
0b834c9d1b Merge "Fix anchor overlap handling in ListPopupWindow" into oc-dev
am: 0c5dfd90b8

Change-Id: Ie5ff8a7d991d64d521fc623deb736523a43c7bde
2017-04-06 05:27:44 +00:00
TreeHugger Robot
0c5dfd90b8 Merge "Fix anchor overlap handling in ListPopupWindow" into oc-dev 2017-04-06 05:20:18 +00:00
Philip P. Moltmann
b42d133c8b Overlay a highlight over autofilled views
Also clear this overlay once the data changes. Some views call
notifyValueUpdated even if the value did not change. Hence remeber the
data that was autofilled and check if the data really changed.

Make the autofilledDrawable publicly accessible so that virtual views
can use the same UI.

As the activity is not aware that the views were autofilled the state
has to be explicitly persisted over activity lifecycle events as part
of the view. The lifecyle does not work yet as the AutofillIds are not
stable over activity lifecycle events.

Fixes: 34946006
Test: Autofilled and changed all supported views.
      cts-tradefed run cts-dev -m CtsUiRenderingTestCases
Change-Id: I58b105bb221f1b6466dd136dfe5062d3babb5aa8
2017-04-06 03:57:54 +00:00
Felipe Leme
52d5d3dfc7 Pass FillResponse bundle on subsequent onFillRequest() calls.
BUG: 35707731

Test: existing CtsAutoFillServiceTestCases pass
Test: more tests on PartitionedActivityTest

Change-Id: I510aff54d0d9d7e0cce90f9786e3e1f6cab180f9
2017-04-05 19:34:33 -07:00
Felipe Leme
5f73ae55ee Merge "Improvements on ViewNodes received on partitioned requests:" into oc-dev
am: 05b8b4135a

Change-Id: I827bb35c95b260365388ce84eecc2db68c6628ef
2017-04-06 02:32:41 +00:00
TreeHugger Robot
05b8b4135a Merge "Improvements on ViewNodes received on partitioned requests:" into oc-dev 2017-04-06 02:26:37 +00:00
Hugo Benichi
44dfd3aaa5 Merge changes I9ad4ce81,I360d539e am: 9680667b1d am: 4062ac81be
am: 84c878ecc8

Change-Id: Ieeb3222246c63292a75ad91e9c867eaedcad8f90
2017-04-06 02:13:07 +00:00
Hugo Benichi
84c878ecc8 Merge changes I9ad4ce81,I360d539e am: 9680667b1d
am: 4062ac81be

Change-Id: I290d52c481b033d102a2b0154fd31ac0ded794ff
2017-04-06 02:07:04 +00:00
Treehugger Robot
9680667b1d Merge changes I9ad4ce81,I360d539e
* changes:
  NsdService: minor cleanups
  Nsdmanager/NsdService: add logging
2017-04-06 01:51:36 +00:00
Nathan Harold
b077f6abd3 Merge changes from topic 'ipsec-svc-pick' into oc-dev
* changes:
  Fix Log Traces for IpSecService
  SystemServer: fix StartIpSecService trace and log
  Add Initial IPsec APIs to IpSecService
  IpSecManager and IpSecTransform API Cleanup
  Change reserveSecurityParameterIndex() to take a remoteAddress
  Add a Skeleton IpSecService
2017-04-06 01:34:37 +00:00
George Mount
b9dbd76866 Merge "Save FragmentManagerNonConfig during onSaveInstanceState()" into oc-dev
am: fade53591b

Change-Id: Iab983407193984f72f5ecbc485082f4ca1ec70f7
2017-04-06 01:21:01 +00:00