312660 Commits

Author SHA1 Message Date
TreeHugger Robot
2375cd1a84 Merge "Clarify MediaDrm#getKeyRequest docs: init and mimeType" into oc-dev 2017-04-06 06:21:06 +00:00
TreeHugger Robot
ff8bf0cc95 Merge "Update MediaDrm documentation for provideKeyResponse" into oc-dev 2017-04-06 06:06:51 +00:00
TreeHugger Robot
0c5dfd90b8 Merge "Fix anchor overlap handling in ListPopupWindow" into oc-dev 2017-04-06 05:20:18 +00:00
TreeHugger Robot
0b7d43c985 Merge "Partially revert "Add blocking and retrying wrappers for INetd uses."" into oc-dev 2017-04-06 04:54:47 +00:00
TreeHugger Robot
154bbb003d Merge "Set AccessPoint metered bit using ScoredNetwork, WifiInfo, and WifiConfiguration." into oc-dev 2017-04-06 04:23:05 +00:00
Ray Essick
630671a603 Merge "Move MediaMetrics into its own library" into oc-dev 2017-04-06 03:09:22 +00:00
Joel Scherpelz
6e5d86f76b Partially revert "Add blocking and retrying wrappers for INetd uses."
Direct access to Netd from the bluetooth process is disallowed by
SELinux policy. This change reverts to the old behavior where IpManager
interacts with NetdService indirectly via NetworkManagementService.

Test: as follows:
    - built (sailfish)
    - flashed
    - booted
    - established bluetooth tethering to another device, ping'd 8.8.8.8
Bug: 36492299

This partially reverts commit af39244a34f4449c12a5f925222c9bc8d8049320.

Change-Id: Icf20b1e24abf7dd3123760f8637928bde7afe06b
2017-04-06 12:01:42 +09:00
TreeHugger Robot
09612f9435 Merge "BatteryStats: Remove too-verbose logging" into oc-dev 2017-04-06 02:38:59 +00:00
TreeHugger Robot
05b8b4135a Merge "Improvements on ViewNodes received on partitioned requests:" into oc-dev 2017-04-06 02:26:37 +00:00
Stephen Chen
21f6868d80 Set AccessPoint metered bit using ScoredNetwork, WifiInfo, and WifiConfiguration.
Bug: 36888471
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/AccessPointTest.java

Change-Id: I5228512a832665916520658acddc9bf93d78a1a1
2017-04-05 19:17:57 -07:00
TreeHugger Robot
fe0277c036 Merge "Make print failure notifications important" into oc-dev 2017-04-06 01:53:57 +00:00
Santos Cordon
54d488d4b7 Merge "Remove SystemProperty gating-flag for virtual displays." into oc-dev 2017-04-06 01:48:11 +00:00
TreeHugger Robot
781fdfaf5b Merge "Don't call the Package Manager when holding the settings lock" into oc-dev 2017-04-06 01:41:51 +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
TreeHugger Robot
fade53591b Merge "Save FragmentManagerNonConfig during onSaveInstanceState()" into oc-dev 2017-04-06 01:13:13 +00:00
TreeHugger Robot
93c2c94c19 Merge "Fixed the obsolete logging" into oc-dev 2017-04-06 01:05:06 +00:00
Adam Lesinski
639345210b BatteryStats: Remove too-verbose logging
Bug: 36972594
Test: manual
Change-Id: I02976ed924550f73010a453d207d199b13307cfa
2017-04-05 17:54:13 -07:00
Felipe Leme
cde040ae95 Improvements on ViewNodes received on partitioned requests:
- Fixed focus
- Added autofillValue for nodes previously autofilled

BUG: 35707731

Test: existing CtsAutoFillServiceTestCases pass
Test: more tests on PartitionedActivityTest

Change-Id: If4390d002d44c82e3de0339a634041f3998e804e
2017-04-05 17:49:13 -07:00
TreeHugger Robot
aaca304a31 Merge "Created SaveInfo types for email and username." into oc-dev 2017-04-06 00:15:30 +00:00
TreeHugger Robot
1b2bedcd76 Merge "Change getFragments() to return a List." into oc-dev 2017-04-06 00:13:26 +00:00
Christopher Tate
b218e768f8 Don't call the Package Manager when holding the settings lock
The package manager sometimes has to call into the settings provider with
its own lock held in the course of processing queries, so it's vitally
important not to call into it with the settings provider's internal lock
already held.

In this case, the SSAID lazy-generation path was fetching the signatures
of the calling package from inside the settings lock.  Now it doesn't.

Bug 36863412
Test: manual

Change-Id: Ic9d53397b5bddb883c5d73aff253ca280a5e93c0
2017-04-05 17:01:12 -07:00
Peng Xu
33bbdda3d3 Merge "Local geomagnetic field update to sensor" into oc-dev 2017-04-06 00:00:11 +00:00
Adam Bookatz
a63e911ad2 Merge "Change wifiScanActualTime csv from usec to msec" into oc-dev 2017-04-05 23:57:00 +00:00
TreeHugger Robot
d3ed35f690 Merge "Dump autofill service component from settings." into oc-dev 2017-04-05 23:56:25 +00:00
Philip P. Moltmann
d37be36a56 Make print failure notifications important
Before failures and progress was similar important. Both were not shown.
Now both are shown and the failures alert.

Removed the notification grouping as autogrouping is good enough.

Test: Created failed and running print jobs
Change-Id: I6dfca583d69aa9713d45a2bc52d05e95f06b376f
2017-04-05 16:46:50 -07:00
TreeHugger Robot
63cb740b4f Merge "Serialize visibleToInstantApps" into oc-dev 2017-04-05 23:45:00 +00:00
Winson Chung
c9fa6399f2 Merge "Workaround for input ANR, always finish PiP menu activity." into oc-dev 2017-04-05 23:36:35 +00:00
Selim Cinek
58b39a1f87 Merge "Fixed that the icon could dissappear" into oc-dev 2017-04-05 23:35:59 +00:00
TreeHugger Robot
94b6b532c0 Merge "Use text input for various internationalized listeners" into oc-dev 2017-04-05 23:32:55 +00:00
TreeHugger Robot
6343bd8ffc Merge "Don't show empty account list in account chooser." into oc-dev 2017-04-05 23:29:26 +00:00
TreeHugger Robot
a62a3d8ec1 Merge "Call noteStateNotSaved on child fragment managers." into oc-dev 2017-04-05 23:23:54 +00:00
TreeHugger Robot
154836844d Merge "don't honour domain verification for browsers" into oc-dev 2017-04-05 23:11:42 +00:00
Felipe Leme
a9baa4c851 Merge "Changed FillResponse.setAuthentication() to require field ids." into oc-dev 2017-04-05 22:25:16 +00:00
Vladislav Kaznacheev
adf08d4eb9 Fix anchor overlap handling in ListPopupWindow
Do not change anchor overlap on the underlying
PopupWindow unless ListPopupWindow.setOverlapAnchor
has been called explicitly.

Bug: 36714649
Test: ApiDemos > Views > Spinner
Change-Id: I5e66d4409a1f04cdc0fbe64e255609836c2b0e95
2017-04-05 22:24:13 +00:00
TreeHugger Robot
f68766f666 Merge "Collect background stats: scheduled jobs" into oc-dev 2017-04-05 22:13:10 +00:00
Calin Juravle
b0baef0715 Merge "Fix dex flags for secondary dex files" into oc-dev 2017-04-05 22:07:52 +00:00
Jack Yu
d19b6ae9c6 Fixed the obsolete logging
Added missing logging messages and removed legacy codes.

Test: adb bugreport
bug: 33041058
Change-Id: I38ec1aeb14ba4bf5b0e7df2aea45dcbd1bb3ff7f
2017-04-05 14:57:23 -07:00
Bryce Lee
3157927652 Merge "Remove accidental debugger wait." into oc-dev 2017-04-05 21:55:19 +00:00
Felipe Leme
98d5c7f6b0 Dump autofill service component from settings.
Bug: 36978445
Test: manual verification

Change-Id: I30992452c94a78c05a5a98e94d5ffc5325151a76
2017-04-05 14:50:36 -07:00
Bryce Lee
18498714fe Remove accidental debugger wait.
Test: bit FrameworksServicesTests:com.android.server.am.ActivityStackSupervisorTests
Change-Id: I129b139a14d925221f2c9b614f45aedac1f153b5
2017-04-05 14:49:44 -07:00
TreeHugger Robot
4734737329 Merge "Restore @VisibleForTesting on NetworkScorerAppManager." into oc-dev 2017-04-05 21:48:10 +00:00
TreeHugger Robot
101b151548 Merge "Consolidate a11y unit tests and get them working" into oc-dev 2017-04-05 21:41:27 +00:00
Roozbeh Pournader
e389f00d7f Merge "Revert "Use KB instead of kB."" into oc-dev 2017-04-05 21:39:14 +00:00
Todd Kennedy
f2e4e8ba90 Merge "don't log non-instant app resolutions" into oc-dev 2017-04-05 21:36:42 +00:00
Jorim Jaggi
010484f7c3 Merge "Check for null when updating header" into oc-dev 2017-04-05 21:30:00 +00:00
TreeHugger Robot
0d47527058 Merge "Create Espresso test for WifiSettings." into oc-dev 2017-04-05 21:27:40 +00:00
Todd Kennedy
f6746ce148 don't honour domain verification for browsers
When a default browser is set, we change its domain verification status
to "INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS". This change is
global and permanent; it affects all URLs and won't be cleared by
resetting the browser's domain handling in settings.

To properly handle this, we don't pay attention to the domain verification
status for "browser" applications when we determine whether or not to
offer an instant app.

Change-Id: I1e2766e9856b0c9d3276e33a8db10195c72ae6ea
Fixes: 36978307
Test: Install firefox, start a browser intent [from command line], select chrome and choose "use always", start another browser intent that resolves to an instant app, see that ephemeral apps still resolve
2017-04-05 14:15:00 -07:00
Roozbeh Pournader
77a85765de Revert "Use KB instead of kB."
This reverts commit 8ebf40498f00cdb789b92b9394e69844f5df4e3a.

Bug: 27672362
Bug: 36496960
Change-Id: Id04623a400c30f3c9b218806c118c5e4ffada020
2017-04-05 21:13:22 +00:00
Roozbeh Pournader
889c6503a1 Use text input for various internationalized listeners
Since the characters that need to be entered for an internationalized
input type may not be available on the old non-internationalized
layouts, switch to the full text layout if there are any such
characters.

TextView is also modified to call the locale-aware listeners if
the target SDK is set to O or later.

Test: Manual
Bug: https://code.google.com/p/android/issues/detail?id=2626
Bug: https://code.google.com/p/android/issues/detail?id=82993
Bug: 8319249
Bug: 33276673
Bug: 34394455
Change-Id: I544bf0cc893a475ab5bf88cbad01cb981c6fef91
2017-04-05 14:07:22 -07:00
Ray Essick
ed5b028693 Move MediaMetrics into its own library
Changes for the new HAL structure have brought about a build time
circular dependency between libmedia and libmediadrm. This set of
changes the media metrics code into its own library and arranges
for the relevant consumers of the media metrics code to link
to this new library (where they had previously picked it up by
including libmedia).

Bug: 36990807
Test: build, boot.
2017-04-05 14:01:00 -07:00