Commit Graph

69269 Commits

Author SHA1 Message Date
Philip P. Moltmann
bd926258c2 resolve merge conflicts of 3c002e45dd to oc-dev-plus-aosp
am: d45000c1a9

Change-Id: I86966803e94f5e048d48898e7e43d15708c62254
2017-04-07 03:34:44 +00:00
Philip P. Moltmann
d45000c1a9 resolve merge conflicts of 3c002e45dd to oc-dev-plus-aosp
Test: Trivial resolution
Change-Id: Ifc41cc692406d52f508b595465f4f7469f74c6f5
2017-04-06 20:25:45 -07:00
Amith Yamasani
1205b61160 Merge "Log excessive remote callbacks" into oc-dev am: 6c171f35be
am: d0709eca29

Change-Id: I48ed2d683678131482a5837c0771e8c90d8a3f5e
2017-04-07 03:14:53 +00:00
Amith Yamasani
d0709eca29 Merge "Log excessive remote callbacks" into oc-dev
am: 6c171f35be

Change-Id: I9c1703a6c9cff68ee5262c91380c4647a2a79812
2017-04-07 03:06:50 +00:00
Philip P. Moltmann
3c002e45dd Merge "Return inet addr for discoverable printers" into oc-dev 2017-04-07 03:04:17 +00:00
TreeHugger Robot
6c171f35be Merge "Log excessive remote callbacks" into oc-dev 2017-04-07 02:58:53 +00:00
Casey Burkhardt
e388282962 Merge "Revise Accessibility button chooser intent/permissions" into oc-dev am: ecb5b5ccc3
am: bc411cd461

Change-Id: I0a085365593d05a77eab013259c2a36ce2c39f1a
2017-04-07 02:52:50 +00:00
Casey Burkhardt
bc411cd461 Merge "Revise Accessibility button chooser intent/permissions" into oc-dev
am: ecb5b5ccc3

Change-Id: I7aa9a6760ff74e35875aa24e86f88dc72603075b
2017-04-07 02:45:28 +00:00
Chad Brubaker
5ced04f21e Merge "Add UPDATE_TZDATA to config updater intents" into oc-dev am: c56d782e13
am: 49b607a61e

Change-Id: I2b230f16454fd3dca684879c20b839723aac71b0
2017-04-07 02:45:06 +00:00
Casey Burkhardt
ecb5b5ccc3 Merge "Revise Accessibility button chooser intent/permissions" into oc-dev 2017-04-07 02:40:14 +00:00
Chad Brubaker
49b607a61e Merge "Add UPDATE_TZDATA to config updater intents" into oc-dev
am: c56d782e13

Change-Id: I14d241e63ead50651ca21aa1d28bce3ba019b5fc
2017-04-07 02:37:36 +00:00
TreeHugger Robot
1defbb19df Merge "Fix broken CTS tests." 2017-04-07 02:34:29 +00:00
TreeHugger Robot
c56d782e13 Merge "Add UPDATE_TZDATA to config updater intents" into oc-dev 2017-04-07 02:28:23 +00:00
Tima Vaisburd
00c8dd3d1b Merge "Added onMovedToDisplay method to WebView" into oc-dev am: be41b61216
am: 0b1023a263

Change-Id: Idbe3e7953de5df25a7c416f7b0678acb2f87de38
2017-04-07 01:32:30 +00:00
Tima Vaisburd
0b1023a263 Merge "Added onMovedToDisplay method to WebView" into oc-dev
am: be41b61216

Change-Id: Ib119a90509998347b6ad26862ddfdb2d5299fb42
2017-04-07 01:24:36 +00:00
TreeHugger Robot
be41b61216 Merge "Added onMovedToDisplay method to WebView" into oc-dev 2017-04-07 01:18:59 +00:00
Amith Yamasani
18a23f2fd8 Log excessive remote callbacks
Bug: 36778087
Test: N/A
Change-Id: Ifb02fe09e3c0869f7f6c741f886421064e5c1b8a
2017-04-06 16:38:25 -07:00
Felipe Leme
ba3918b1d8 Merge "Removed deprecated onFillRequest() method" into oc-dev am: 7a7c0ace82
am: 3e91021212

Change-Id: Ia3613f20ada223fedbd6562f189b5992e36d3c33
2017-04-06 23:32:11 +00:00
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
Tima Vaisburd
134752b471 Added onMovedToDisplay method to WebView
Delegate the action to WebViewProvider, by default it is no-op.

Bug: 36006397
Test: There is no implementation yet to test.
Change-Id: Ib5101d3669a92ae81cfb34cc5db607c374712a3d
2017-04-06 15:50:05 -07:00
Roozbeh Pournader
b0e52bb5d2 Merge "Force direction of phone number fields to (practically) LTR" into oc-dev am: 0dc7596ee3
am: 73da8f95b3

Change-Id: I9dfef2e89990e27495d7350df3b148e7e08042e7
2017-04-06 22:43:53 +00:00
Jason Monk
043578f69d Merge "Revert "Handle case when snapshot dimensions don't match"" into oc-dev am: e7ac324c71
am: 79f56babd7

Change-Id: Ib7bba216d53f911993a4afd01e0c77761dd45f89
2017-04-06 22:35:27 +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
Felipe Leme
c5bee3b95a Merge "Fixed Autofill NPE that crashed some apps." into oc-dev am: 75d0d92f7b
am: eefb3c91f1

Change-Id: Ic771e1eabb8b348ca3cfedc597787959141dbd5f
2017-04-06 22:04:55 +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
TreeHugger Robot
da56341dc6 Merge "Set android.display thread to top-app cpusets and schedtune group" 2017-04-06 21:00:02 +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
Chad Brubaker
df9bd4f7b3 Add UPDATE_TZDATA to config updater intents
Change-Id: I5fcd011e0ab030ebf1aa40818a05853117cc6811
Fixes: 36977046
Test: checkbuild
2017-04-06 13:35:23 -07: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
Rob Carr
099d350e95 Merge "WindowManager.LayoutParams: Expose privateFlags for CTS" into oc-dev am: 0b504559ee
am: 1f3a56ef7e

Change-Id: I5ad2558172233f0b4df84e48281f0bbc5c4eaab7
2017-04-06 19:58:01 +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
Android Build Merger (Role)
1fd91e9d93 Merge "Merge "Allow permissions to be runtime-only." into oc-dev am: 941e9e2b38 am: 57a9464831" 2017-04-06 19:31:37 +00:00
Chad Brubaker
7671735fa5 Merge "Allow permissions to be runtime-only." into oc-dev am: 941e9e2b38
am: 57a9464831

Change-Id: Ibf8b8f13ff5a8819671142e77ee238ba08805d40
2017-04-06 19:27:22 +00:00
TreeHugger Robot
24700423b4 Merge "Add a service to rank apps for ResolverActivity." 2017-04-06 19:25:19 +00:00
Jiaquan He
a54e1ea27b Fix broken CTS tests.
The default focus highlight should be necessary when the view is
attached to window.

Test: cts-tradefed run singleCommand cts --skip-device-info
--skip-preconditions --abi armeabi-v7a -m CtsViewTestCases -t
android.view.cts.ViewTest
Test: cts-tradefed run singleCommand cts --skip-device-info
--skip-preconditions --abi armeabi-v7a -m CtsWidgetTestCases -t
android.widget.cts.MediaControllerTest
Bug: 37082416

Change-Id: I5d6b0c00b5ba03c8f62e4f71be9336823a73134b
2017-04-06 11:56:27 -07:00
Philip P. Moltmann
7e01895e69 Return inet addr for discoverable printers
... by extending the RecommendationInfo to store the inet addresses not
just the count. Thankfully the recommendation plugins already contained
all the printers, not only the count.

Also expose the print service state as system APIs as they will be used
by the default print service.

Bug: 35765644
Test: Ran AddPrinterActivity on network that had printers to discover
Change-Id: I929a177adb75f6848848ba30a472cf0343d2e67e
2017-04-06 11:54:53 -07:00
Casey Burkhardt
afe3ef1b36 Revise Accessibility button chooser intent/permissions
1) Switch AccessibilityButtonChooserActivity to non-exported
2) Update AccessibilityButtonChooserActivity's intent action to
   be CTS-compliant
3) Switches to correct permission to validate a click of the
   accessibility button originated from the status bar service

Bug: 36866328
Bug: 36976440
Test: Manual / Created app to validate launch protection
Change-Id: Ifcd5e8dbbe683dc99bb900a5870a9ba374fbd5d4
2017-04-06 11:39:26 -07: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