OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Set AccessPoint metered bit using ScoredNetwork, WifiInfo, and WifiConfigurati...
Stephen Chen [Thu, 6 Apr 2017 04:29:08 +0000 (04:29 +0000)]
Merge "Set AccessPoint metered bit using ScoredNetwork, WifiInfo, and WifiConfiguration." into oc-dev
am: 154bbb003d

Change-Id: I12c7cede65e92f09a83a0217e2fdc560f4bdafdc

7 years agoMerge "Set AccessPoint metered bit using ScoredNetwork, WifiInfo, and WifiConfigurati...
TreeHugger Robot [Thu, 6 Apr 2017 04:23:02 +0000 (04:23 +0000)]
Merge "Set AccessPoint metered bit using ScoredNetwork, WifiInfo, and WifiConfiguration." into oc-dev

7 years agoMerge "Move MediaMetrics into its own library" into oc-dev
Ray Essick [Thu, 6 Apr 2017 03:15:15 +0000 (03:15 +0000)]
Merge "Move MediaMetrics into its own library" into oc-dev
am: 630671a603

Change-Id: I9e50c1dedbc5aa2c744f5629c858443bc698abad

7 years agoMerge "Move MediaMetrics into its own library" into oc-dev
Ray Essick [Thu, 6 Apr 2017 03:09:18 +0000 (03:09 +0000)]
Merge "Move MediaMetrics into its own library" into oc-dev

7 years agoMerge "BatteryStats: Remove too-verbose logging" into oc-dev
Adam Lesinski [Thu, 6 Apr 2017 02:44:59 +0000 (02:44 +0000)]
Merge "BatteryStats: Remove too-verbose logging" into oc-dev
am: 09612f9435

Change-Id: I75a4a6eca5e4004c2496b307183ed2ecc730946b

7 years agoMerge "BatteryStats: Remove too-verbose logging" into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 02:38:52 +0000 (02:38 +0000)]
Merge "BatteryStats: Remove too-verbose logging" into oc-dev

7 years agoMerge "Improvements on ViewNodes received on partitioned requests:" into oc-dev
Felipe Leme [Thu, 6 Apr 2017 02:32:41 +0000 (02:32 +0000)]
Merge "Improvements on ViewNodes received on partitioned requests:" into oc-dev
am: 05b8b4135a

Change-Id: I827bb35c95b260365388ce84eecc2db68c6628ef

7 years agoMerge "Improvements on ViewNodes received on partitioned requests:" into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 02:26:32 +0000 (02:26 +0000)]
Merge "Improvements on ViewNodes received on partitioned requests:" into oc-dev

7 years agoSet AccessPoint metered bit using ScoredNetwork, WifiInfo, and WifiConfiguration.
Stephen Chen [Tue, 4 Apr 2017 20:23:31 +0000 (13:23 -0700)]
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

7 years agoMerge changes I9ad4ce81,I360d539e am: 9680667b1d am: 4062ac81be
Hugo Benichi [Thu, 6 Apr 2017 02:13:07 +0000 (02:13 +0000)]
Merge changes I9ad4ce81,I360d539e am: 9680667b1d am: 4062ac81be
am: 84c878ecc8

Change-Id: Ieeb3222246c63292a75ad91e9c867eaedcad8f90

7 years agoMerge "Make print failure notifications important" into oc-dev
Philip P. Moltmann [Thu, 6 Apr 2017 02:07:12 +0000 (02:07 +0000)]
Merge "Make print failure notifications important" into oc-dev
am: fe0277c036

Change-Id: Id75bd8c636fa14ad7ae1a4a0febaac4d345479ba

7 years agoMerge changes I9ad4ce81,I360d539e am: 9680667b1d
Hugo Benichi [Thu, 6 Apr 2017 02:07:04 +0000 (02:07 +0000)]
Merge changes I9ad4ce81,I360d539e am: 9680667b1d
am: 4062ac81be

Change-Id: I290d52c481b033d102a2b0154fd31ac0ded794ff

7 years agoMerge changes I9ad4ce81,I360d539e
Hugo Benichi [Thu, 6 Apr 2017 02:01:07 +0000 (02:01 +0000)]
Merge changes I9ad4ce81,I360d539e
am: 9680667b1d

Change-Id: I7c64e3db6a1d153339f50db292761131dbfa2ae8

7 years agoMerge "Remove SystemProperty gating-flag for virtual displays." into oc-dev
Santos Cordon [Thu, 6 Apr 2017 02:00:29 +0000 (02:00 +0000)]
Merge "Remove SystemProperty gating-flag for virtual displays." into oc-dev
am: 54d488d4b7

Change-Id: Ieb9560aafff93e61bffc870d81364cfa98e85234

7 years agoMerge "Don't call the Package Manager when holding the settings lock" into oc-dev
Christopher Tate [Thu, 6 Apr 2017 01:59:27 +0000 (01:59 +0000)]
Merge "Don't call the Package Manager when holding the settings lock" into oc-dev
am: 781fdfaf5b

Change-Id: Iec1e4b48ce9191e6b2f2ae56e144518698e51f3d

7 years agoMerge changes from topic 'ipsec-svc-pick' into oc-dev
Nathan Harold [Thu, 6 Apr 2017 01:56:16 +0000 (01:56 +0000)]
Merge changes from topic 'ipsec-svc-pick' into oc-dev
am: b077f6abd3  -s ours

Change-Id: Iea4a23356643415390322a53a547f7194bb2cafa

7 years agoMerge "Make print failure notifications important" into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 01:53:53 +0000 (01:53 +0000)]
Merge "Make print failure notifications important" into oc-dev

7 years agoMerge changes I9ad4ce81,I360d539e
Treehugger Robot [Thu, 6 Apr 2017 01:51:34 +0000 (01:51 +0000)]
Merge changes I9ad4ce81,I360d539e

* changes:
  NsdService: minor cleanups
  Nsdmanager/NsdService: add logging

7 years agoMerge "Remove SystemProperty gating-flag for virtual displays." into oc-dev
Santos Cordon [Thu, 6 Apr 2017 01:48:06 +0000 (01:48 +0000)]
Merge "Remove SystemProperty gating-flag for virtual displays." into oc-dev

7 years agoMerge "Don't call the Package Manager when holding the settings lock" into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 01:41:47 +0000 (01:41 +0000)]
Merge "Don't call the Package Manager when holding the settings lock" into oc-dev

7 years agoMerge changes from topic 'ipsec-svc-pick' into oc-dev
Nathan Harold [Thu, 6 Apr 2017 01:34:32 +0000 (01:34 +0000)]
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

7 years agoMerge "Save FragmentManagerNonConfig during onSaveInstanceState()" into oc-dev
George Mount [Thu, 6 Apr 2017 01:21:01 +0000 (01:21 +0000)]
Merge "Save FragmentManagerNonConfig during onSaveInstanceState()" into oc-dev
am: fade53591b

Change-Id: Iab983407193984f72f5ecbc485082f4ca1ec70f7

7 years agoMerge "Fixed the obsolete logging" into oc-dev
Jack Yu [Thu, 6 Apr 2017 01:15:00 +0000 (01:15 +0000)]
Merge "Fixed the obsolete logging" into oc-dev
am: 93c2c94c19

Change-Id: I264afd9b0f5ab4a7c1e40467c40f285749b87600

7 years agoMerge "Save FragmentManagerNonConfig during onSaveInstanceState()" into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 01:13:06 +0000 (01:13 +0000)]
Merge "Save FragmentManagerNonConfig during onSaveInstanceState()" into oc-dev

7 years agoMerge "Fixed the obsolete logging" into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 01:05:01 +0000 (01:05 +0000)]
Merge "Fixed the obsolete logging" into oc-dev

7 years agoBatteryStats: Remove too-verbose logging
Adam Lesinski [Thu, 6 Apr 2017 00:54:13 +0000 (17:54 -0700)]
BatteryStats: Remove too-verbose logging

Bug: 36972594
Test: manual
Change-Id: I02976ed924550f73010a453d207d199b13307cfa

7 years agoImprovements on ViewNodes received on partitioned requests:
Felipe Leme [Sat, 1 Apr 2017 00:26:34 +0000 (17:26 -0700)]
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

7 years agoMerge "Created SaveInfo types for email and username." into oc-dev
Felipe Leme [Thu, 6 Apr 2017 00:25:05 +0000 (00:25 +0000)]
Merge "Created SaveInfo types for email and username." into oc-dev
am: aaca304a31

Change-Id: I3e6275bf70d75b4921be40bc6a9820d2fcae8a2a

7 years agoMerge "Change getFragments() to return a List." into oc-dev
George Mount [Thu, 6 Apr 2017 00:22:01 +0000 (00:22 +0000)]
Merge "Change getFragments() to return a List." into oc-dev
am: 1b2bedcd76

Change-Id: I59407dbe9e307e30bb721e33423130615ff00a7c

7 years agoMerge "Created SaveInfo types for email and username." into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 00:15:23 +0000 (00:15 +0000)]
Merge "Created SaveInfo types for email and username." into oc-dev

7 years agoMerge "Change getFragments() to return a List." into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 00:13:22 +0000 (00:13 +0000)]
Merge "Change getFragments() to return a List." into oc-dev

7 years agoMerge "Local geomagnetic field update to sensor" into oc-dev
Peng Xu [Thu, 6 Apr 2017 00:11:52 +0000 (00:11 +0000)]
Merge "Local geomagnetic field update to sensor" into oc-dev
am: 33bbdda3d3

Change-Id: I3c450d9d16a998918bc3963ad624455d6e2bb361

7 years agoMerge "Change wifiScanActualTime csv from usec to msec" into oc-dev
Adam Bookatz [Thu, 6 Apr 2017 00:07:54 +0000 (00:07 +0000)]
Merge "Change wifiScanActualTime csv from usec to msec" into oc-dev
am: a63e911ad2

Change-Id: Ifedca603373f50c55a4030837728c757c5b9af93

7 years agoMerge "Dump autofill service component from settings." into oc-dev
Felipe Leme [Thu, 6 Apr 2017 00:06:43 +0000 (00:06 +0000)]
Merge "Dump autofill service component from settings." into oc-dev
am: d3ed35f690

Change-Id: I5391e2d13d3555310e6a3e8f23f95aa4389b9aaf

7 years agoDon't call the Package Manager when holding the settings lock
Christopher Tate [Wed, 5 Apr 2017 23:34:07 +0000 (16:34 -0700)]
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

7 years agoMerge "Local geomagnetic field update to sensor" into oc-dev
Peng Xu [Thu, 6 Apr 2017 00:00:07 +0000 (00:00 +0000)]
Merge "Local geomagnetic field update to sensor" into oc-dev

7 years agoMerge "Change wifiScanActualTime csv from usec to msec" into oc-dev
Adam Bookatz [Wed, 5 Apr 2017 23:56:56 +0000 (23:56 +0000)]
Merge "Change wifiScanActualTime csv from usec to msec" into oc-dev

7 years agoMerge "Dump autofill service component from settings." into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 23:56:21 +0000 (23:56 +0000)]
Merge "Dump autofill service component from settings." into oc-dev

7 years agoMerge "Serialize visibleToInstantApps" into oc-dev
Chad Brubaker [Wed, 5 Apr 2017 23:51:51 +0000 (23:51 +0000)]
Merge "Serialize visibleToInstantApps" into oc-dev
am: 63cb740b4f

Change-Id: I58ab558cf6fea9144f100aa6bce8437f91b9e31a

7 years agoMake print failure notifications important
Philip P. Moltmann [Wed, 5 Apr 2017 23:46:50 +0000 (16:46 -0700)]
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

7 years agoMerge "Serialize visibleToInstantApps" into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 23:44:56 +0000 (23:44 +0000)]
Merge "Serialize visibleToInstantApps" into oc-dev

7 years agoMerge "Workaround for input ANR, always finish PiP menu activity." into oc-dev
Winson Chung [Wed, 5 Apr 2017 23:44:50 +0000 (23:44 +0000)]
Merge "Workaround for input ANR, always finish PiP menu activity." into oc-dev
am: c9fa6399f2

Change-Id: I387739e284275fe8a857a567c596175a81deaad8

7 years agoMerge "Fixed that the icon could dissappear" into oc-dev
Selim Cinek [Wed, 5 Apr 2017 23:43:39 +0000 (23:43 +0000)]
Merge "Fixed that the icon could dissappear" into oc-dev
am: 58b39a1f87

Change-Id: If6661055678351da6031f92b6a5ec90772983f7a

7 years agoMerge "Use text input for various internationalized listeners" into oc-dev
Roozbeh Pournader [Wed, 5 Apr 2017 23:42:32 +0000 (23:42 +0000)]
Merge "Use text input for various internationalized listeners" into oc-dev
am: 94b6b532c0

Change-Id: I38faf86ec475154d437cc7dc7a363d58fd5962da

7 years agoMerge "Don't show empty account list in account chooser." into oc-dev
Dmitry Dementyev [Wed, 5 Apr 2017 23:41:22 +0000 (23:41 +0000)]
Merge "Don't show empty account list in account chooser." into oc-dev
am: 6343bd8ffc

Change-Id: I64110a80d61e66876dd332ab01c8757a0beca082

7 years agoMerge "Workaround for input ANR, always finish PiP menu activity." into oc-dev
Winson Chung [Wed, 5 Apr 2017 23:36:30 +0000 (23:36 +0000)]
Merge "Workaround for input ANR, always finish PiP menu activity." into oc-dev

7 years agoMerge "Fixed that the icon could dissappear" into oc-dev
Selim Cinek [Wed, 5 Apr 2017 23:35:54 +0000 (23:35 +0000)]
Merge "Fixed that the icon could dissappear" into oc-dev

7 years agoMerge "Call noteStateNotSaved on child fragment managers." into oc-dev
George Mount [Wed, 5 Apr 2017 23:34:30 +0000 (23:34 +0000)]
Merge "Call noteStateNotSaved on child fragment managers." into oc-dev
am: a62a3d8ec1

Change-Id: I2a7a54b69c69efaf27a2edd18e2adbb179e660b2

7 years agoMerge "Use text input for various internationalized listeners" into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 23:32:50 +0000 (23:32 +0000)]
Merge "Use text input for various internationalized listeners" into oc-dev

7 years agoMerge "Don't show empty account list in account chooser." into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 23:29:22 +0000 (23:29 +0000)]
Merge "Don't show empty account list in account chooser." into oc-dev

7 years agoMerge "Call noteStateNotSaved on child fragment managers." into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 23:23:50 +0000 (23:23 +0000)]
Merge "Call noteStateNotSaved on child fragment managers." into oc-dev

7 years agoMerge "don't honour domain verification for browsers" into oc-dev
Todd Kennedy [Wed, 5 Apr 2017 23:16:49 +0000 (23:16 +0000)]
Merge "don't honour domain verification for browsers" into oc-dev
am: 154836844d

Change-Id: I19aefccde8a1f72edf2dff97e9d534f903187d47

7 years agoMerge "don't honour domain verification for browsers" into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 23:11:38 +0000 (23:11 +0000)]
Merge "don't honour domain verification for browsers" into oc-dev

7 years agoMerge "Changed FillResponse.setAuthentication() to require field ids." into oc-dev
Felipe Leme [Wed, 5 Apr 2017 22:34:13 +0000 (22:34 +0000)]
Merge "Changed FillResponse.setAuthentication() to require field ids." into oc-dev
am: a9baa4c851

Change-Id: I59736bcc35281b038bcb19b822cb00b44cac2a60

7 years agoMerge "Changed FillResponse.setAuthentication() to require field ids." into oc-dev
Felipe Leme [Wed, 5 Apr 2017 22:25:08 +0000 (22:25 +0000)]
Merge "Changed FillResponse.setAuthentication() to require field ids." into oc-dev

7 years agoMerge "Collect background stats: scheduled jobs" into oc-dev
Bookatz [Wed, 5 Apr 2017 22:23:15 +0000 (22:23 +0000)]
Merge "Collect background stats: scheduled jobs" into oc-dev
am: f68766f666

Change-Id: I5123fabe0976652cecf31fa3c786fa4f10a4e1dc

7 years agoMerge "Fix dex flags for secondary dex files" into oc-dev
Calin Juravle [Wed, 5 Apr 2017 22:16:41 +0000 (22:16 +0000)]
Merge "Fix dex flags for secondary dex files" into oc-dev
am: b0baef0715

Change-Id: I48edc46788a091448ef142adfb6ceabc5f1be87f

7 years agoMerge "Collect background stats: scheduled jobs" into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 22:13:05 +0000 (22:13 +0000)]
Merge "Collect background stats: scheduled jobs" into oc-dev

7 years agoMerge "Fix dex flags for secondary dex files" into oc-dev
Calin Juravle [Wed, 5 Apr 2017 22:07:48 +0000 (22:07 +0000)]
Merge "Fix dex flags for secondary dex files" into oc-dev

7 years agoMerge "Remove accidental debugger wait." into oc-dev
Bryce Lee [Wed, 5 Apr 2017 21:59:25 +0000 (21:59 +0000)]
Merge "Remove accidental debugger wait." into oc-dev
am: 3157927652

Change-Id: Ic9013b21893803ffdf2fb7b156fb061f4c2c2321

7 years agoFixed the obsolete logging
Jack Yu [Wed, 5 Apr 2017 21:12:09 +0000 (14:12 -0700)]
Fixed the obsolete logging

Added missing logging messages and removed legacy codes.

Test: adb bugreport
bug: 33041058
Change-Id: I38ec1aeb14ba4bf5b0e7df2aea45dcbd1bb3ff7f

7 years agoMerge "Remove accidental debugger wait." into oc-dev
Bryce Lee [Wed, 5 Apr 2017 21:55:12 +0000 (21:55 +0000)]
Merge "Remove accidental debugger wait." into oc-dev

7 years agoMerge "Restore @VisibleForTesting on NetworkScorerAppManager." into oc-dev
Jeremy Joslin [Wed, 5 Apr 2017 21:53:39 +0000 (21:53 +0000)]
Merge "Restore @VisibleForTesting on NetworkScorerAppManager." into oc-dev
am: 4734737329

Change-Id: I1cf133271cc405178d2562f7a38299948c689e86

7 years agoDump autofill service component from settings.
Felipe Leme [Wed, 5 Apr 2017 21:46:50 +0000 (14:46 -0700)]
Dump autofill service component from settings.

Bug: 36978445
Test: manual verification

Change-Id: I30992452c94a78c05a5a98e94d5ffc5325151a76

7 years agoRemove accidental debugger wait.
Bryce Lee [Wed, 5 Apr 2017 21:49:44 +0000 (14:49 -0700)]
Remove accidental debugger wait.

Test: bit FrameworksServicesTests:com.android.server.am.ActivityStackSupervisorTests
Change-Id: I129b139a14d925221f2c9b614f45aedac1f153b5

7 years agoMerge "Consolidate a11y unit tests and get them working" into oc-dev
Phil Weaver [Wed, 5 Apr 2017 21:48:55 +0000 (21:48 +0000)]
Merge "Consolidate a11y unit tests and get them working" into oc-dev
am: 101b151548

Change-Id: Iae2179b65f758779979e15937c9a0c6b6f6efa4b

7 years agoMerge "Restore @VisibleForTesting on NetworkScorerAppManager." into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 21:48:06 +0000 (21:48 +0000)]
Merge "Restore @VisibleForTesting on NetworkScorerAppManager." into oc-dev

7 years agoMerge "Revert "Use KB instead of kB."" into oc-dev
Roozbeh Pournader [Wed, 5 Apr 2017 21:47:49 +0000 (21:47 +0000)]
Merge "Revert "Use KB instead of kB."" into oc-dev
am: e389f00d7f

Change-Id: I9eadb724b353f1df6c8654fedeb76dfcf22d4ed6

7 years agoMerge "don't log non-instant app resolutions" into oc-dev
Todd Kennedy [Wed, 5 Apr 2017 21:42:33 +0000 (21:42 +0000)]
Merge "don't log non-instant app resolutions" into oc-dev
am: f2e4e8ba90

Change-Id: I56342b8ec2b84855f8212d7ffc6f772c08b2b44a

7 years agoMerge "Consolidate a11y unit tests and get them working" into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 21:41:24 +0000 (21:41 +0000)]
Merge "Consolidate a11y unit tests and get them working" into oc-dev

7 years agoMerge "Revert "Use KB instead of kB."" into oc-dev
Roozbeh Pournader [Wed, 5 Apr 2017 21:39:10 +0000 (21:39 +0000)]
Merge "Revert "Use KB instead of kB."" into oc-dev

7 years agoMerge "don't log non-instant app resolutions" into oc-dev
Todd Kennedy [Wed, 5 Apr 2017 21:36:37 +0000 (21:36 +0000)]
Merge "don't log non-instant app resolutions" into oc-dev

7 years agoMerge "Check for null when updating header" into oc-dev
Jorim Jaggi [Wed, 5 Apr 2017 21:35:05 +0000 (21:35 +0000)]
Merge "Check for null when updating header" into oc-dev
am: 010484f7c3

Change-Id: I902a5339f0d62ff14e2f9aa43eae7036d98c45e1

7 years agoMerge "Create Espresso test for WifiSettings." into oc-dev
Sundeep Ghuman [Wed, 5 Apr 2017 21:33:31 +0000 (21:33 +0000)]
Merge "Create Espresso test for WifiSettings." into oc-dev
am: 0d47527058

Change-Id: I3691a2b57b36fc42f706f537e5274c59bb1c403d

7 years agoMerge "Check for null when updating header" into oc-dev
Jorim Jaggi [Wed, 5 Apr 2017 21:29:55 +0000 (21:29 +0000)]
Merge "Check for null when updating header" into oc-dev

7 years agoMerge "Create Espresso test for WifiSettings." into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 21:27:36 +0000 (21:27 +0000)]
Merge "Create Espresso test for WifiSettings." into oc-dev

7 years agodon't honour domain verification for browsers
Todd Kennedy [Wed, 5 Apr 2017 21:15:00 +0000 (14:15 -0700)]
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

7 years agoMerge "Document the fact that StatFs.restat() and ctor can throw." am: 183c93f6a0...
Tobias Thierer [Wed, 5 Apr 2017 21:14:46 +0000 (21:14 +0000)]
Merge "Document the fact that StatFs.restat() and ctor can throw." am: 183c93f6a0 am: e11ed001dd
am: a426851da0

Change-Id: Ife49443ed8e5e4e90723e4e46c0e8c48a6ee5547

7 years agoRevert "Use KB instead of kB."
Roozbeh Pournader [Wed, 5 Apr 2017 21:13:22 +0000 (21:13 +0000)]
Revert "Use KB instead of kB."

This reverts commit 8ebf40498f00cdb789b92b9394e69844f5df4e3a.

Bug: 27672362
Bug: 36496960
Change-Id: Id04623a400c30f3c9b218806c118c5e4ffada020

7 years agoMerge "Document the fact that StatFs.restat() and ctor can throw." am: 183c93f6a0
Tobias Thierer [Wed, 5 Apr 2017 21:09:14 +0000 (21:09 +0000)]
Merge "Document the fact that StatFs.restat() and ctor can throw." am: 183c93f6a0
am: e11ed001dd

Change-Id: Ia2ee1c65e6cd7992d0761a7eeb6e9bb7964de3bc

7 years agoUse text input for various internationalized listeners
Roozbeh Pournader [Thu, 16 Feb 2017 02:19:09 +0000 (18:19 -0800)]
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

7 years agoMerge "Document the fact that StatFs.restat() and ctor can throw."
Tobias Thierer [Wed, 5 Apr 2017 21:03:42 +0000 (21:03 +0000)]
Merge "Document the fact that StatFs.restat() and ctor can throw."
am: 183c93f6a0

Change-Id: I0c8a4c12495260044be6aac74a505280498a9b44

7 years agoMove MediaMetrics into its own library
Ray Essick [Wed, 5 Apr 2017 21:01:00 +0000 (14:01 -0700)]
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.

7 years agoChange getFragments() to return a List.
George Mount [Wed, 5 Apr 2017 20:56:37 +0000 (13:56 -0700)]
Change getFragments() to return a List.

Bug 36762718
Bug 36982279

Changes getFragments() to return a List instead of a Collection.
The order is the order in which the fragment is added or attached.

Test: ran fragment cts tests
Change-Id: I10bbeef13e9154bbe052127cfa0e160b2e500b4d

7 years agoMerge "Document the fact that StatFs.restat() and ctor can throw."
Tobias Thierer [Wed, 5 Apr 2017 20:53:46 +0000 (20:53 +0000)]
Merge "Document the fact that StatFs.restat() and ctor can throw."

7 years agoMerge "Make sure we handle the matrix separately for non-invertable matrix" into...
Tenghui Zhu [Wed, 5 Apr 2017 20:52:32 +0000 (20:52 +0000)]
Merge "Make sure we handle the matrix separately for non-invertable matrix" into oc-dev
am: 399dba4ab0

Change-Id: I9ff2b46f5b06f5092e4aaca348aa021f870c7c6f

7 years agoDocument the fact that StatFs.restat() and ctor can throw.
Tobias Thierer [Tue, 2 Aug 2016 15:41:11 +0000 (16:41 +0100)]
Document the fact that StatFs.restat() and ctor can throw.

StatFs.restat() and the StatFs constructor can throw
IllegalArgumentException. This was not previously documented;
not all callers took this into account, for example:
   http://r.android.com/251290

This CL adds documentation to those methods. It also adds
comments to two of the callers.

Separately from this CL, we may in addition consider adding
new API StatFs.checkedRestat() and StatFs.checkedCreate()
or similar that throw IOException; we cannot change the
existing constructor and method since they are public.

Test: Checked that "make" still completed successfully.

Change-Id: I6a0b3cb7718939408937c61de7c3b000b948fa59

7 years agoMerge "Allow background default container service in a less crashy way" into oc-dev
Christopher Tate [Wed, 5 Apr 2017 20:51:16 +0000 (20:51 +0000)]
Merge "Allow background default container service in a less crashy way" into oc-dev
am: 0283544c49

Change-Id: I863c9c8ae1d3760eb68d7169b8d60260731d6190

7 years agoMerge "AAPT2: Fix pseudolocalization (again)" into oc-dev
Adam Lesinski [Wed, 5 Apr 2017 20:50:14 +0000 (20:50 +0000)]
Merge "AAPT2: Fix pseudolocalization (again)" into oc-dev
am: 448727bdae

Change-Id: I7cb95f9fa3a92ad342a807660e8a415ca9f4fe41

7 years agoMerge "Fix NPE when adding WebView to ResourcesManager" into oc-dev
Adam Lesinski [Wed, 5 Apr 2017 20:49:06 +0000 (20:49 +0000)]
Merge "Fix NPE when adding WebView to ResourcesManager" into oc-dev
am: 7e5205137c

Change-Id: Ifb45086ba1c53e4de5abe83de66118e026c3c297

7 years agoMerge "Work on issue #36869295: com.qti.qualcomm.datastatusnotification..." into...
Dianne Hackborn [Wed, 5 Apr 2017 20:47:54 +0000 (20:47 +0000)]
Merge "Work on issue #36869295: com.qti.qualcomm.datastatusnotification..." into oc-dev
am: 36de376430

Change-Id: I96f6f541d2cf285d593f82ad548057a4873ae958

7 years agoMerge "Deliver start service args with ParcelledListSlice." into oc-dev
Dianne Hackborn [Wed, 5 Apr 2017 20:46:48 +0000 (20:46 +0000)]
Merge "Deliver start service args with ParcelledListSlice." into oc-dev
am: 1cf2c97459

Change-Id: Iacdd90c6081e93e38cfe932f5210545f33562f7a

7 years agoWorkaround for input ANR, always finish PiP menu activity.
Winson Chung [Wed, 5 Apr 2017 18:49:38 +0000 (11:49 -0700)]
Workaround for input ANR, always finish PiP menu activity.

- Always finish the PiP menu activity when the interaction is complete
  (either the menu is hidden after showing, or when the user stops
  interacting with it and it was shown for the dismiss overlay)
- Fix issue with bounds animation callback not working due to the app
  window being removed and not updating the app transition that its
  animation "finished"
- Add additional logging throughout to trace PiP animation

Bug: 36877782
Test: Enter PIP, tap to show menu, wait for it to hide, and then use
      wired headset button

Change-Id: Ie88ba107d7fffdd182a4063ef4f324b58669d0ad

7 years agoMerge "Make sure we handle the matrix separately for non-invertable matrix" into...
Tenghui Zhu [Wed, 5 Apr 2017 20:44:28 +0000 (20:44 +0000)]
Merge "Make sure we handle the matrix separately for non-invertable matrix" into oc-dev

7 years agoMerge "Allow background default container service in a less crashy way" into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 20:43:38 +0000 (20:43 +0000)]
Merge "Allow background default container service in a less crashy way" into oc-dev

7 years agoMerge "AAPT2: Fix pseudolocalization (again)" into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 20:43:19 +0000 (20:43 +0000)]
Merge "AAPT2: Fix pseudolocalization (again)" into oc-dev

7 years agoMerge "Fix NPE when adding WebView to ResourcesManager" into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 20:41:56 +0000 (20:41 +0000)]
Merge "Fix NPE when adding WebView to ResourcesManager" into oc-dev

7 years agoMerge "Work on issue #36869295: com.qti.qualcomm.datastatusnotification..." into...
TreeHugger Robot [Wed, 5 Apr 2017 20:40:53 +0000 (20:40 +0000)]
Merge "Work on issue #36869295: com.qti.qualcomm.datastatusnotification..." into oc-dev

7 years agoWork on issue #36869295: com.qti.qualcomm.datastatusnotification...
Dianne Hackborn [Wed, 5 Apr 2017 00:23:14 +0000 (17:23 -0700)]
Work on issue #36869295: com.qti.qualcomm.datastatusnotification...

...is not Bg Check compliant

Make the exception message include the state of the app's
UidRecord to help debug what is going on.

Test: boot and ran

Change-Id: Ie829265c7979ccabf8bae0bc6521bd9a7357d77f

7 years agoMerge "Deliver start service args with ParcelledListSlice." into oc-dev
Dianne Hackborn [Wed, 5 Apr 2017 20:37:31 +0000 (20:37 +0000)]
Merge "Deliver start service args with ParcelledListSlice." into oc-dev