Commit Graph

75998 Commits

Author SHA1 Message Date
TreeHugger Robot
4d95e40bb3 Merge "Make javadoc of companion service name more like others" into oc-dev 2017-04-19 20:15:04 +00:00
Jeff Sharkey
9a1967e157 Merge "Some folks like sending null fields." into oc-dev 2017-04-19 20:11:26 +00:00
Evan Rosky
4ab21012a7 Merge "Improve ViewDebug reporting for focus properties" into oc-dev 2017-04-19 19:50:30 +00:00
TreeHugger Robot
ef0512a87a Merge "TextClassifierImpl: Fix empty locale list issue." into oc-dev 2017-04-19 19:20:43 +00:00
TreeHugger Robot
681ff5c7d8 Merge "Fix FragmentTransaction.show() to show the fragment." into oc-dev 2017-04-19 19:06:09 +00:00
TreeHugger Robot
f3ff7b8207 Merge "Adds getLayoutInflater() to return a cached value." into oc-dev 2017-04-19 18:15:36 +00:00
Evan Rosky
f4c31bf67b Merge "Handle edge-case where no focusables exist" into oc-dev 2017-04-19 18:08:29 +00:00
TreeHugger Robot
83c9413b75 Merge "Fix issue with fontScale changes not taking effect" into oc-dev 2017-04-19 17:32:30 +00:00
Jeff Sharkey
67c8c1e109 Some folks like sending null fields.
Test: cts-tradefed run commandAndExit cts-dev -m CtsContentTestCases -t android.content.pm.cts.ComponentInfoTest
Bug: 37495524
Change-Id: I9040534d717ac70d580bd2a7f5488369ab7c3a47
2017-04-19 11:28:14 -06:00
TreeHugger Robot
8b4cca11f3 Merge "Internal copy of Palette API." into oc-dev 2017-04-19 17:24:07 +00:00
Sunny Goyal
7790695bf2 Merge "Adding API AppWidgetHost.getAppWidgetIds() to get active widgets of the host" into oc-dev 2017-04-19 17:10:42 +00:00
Robert Greenwalt
d6c9efa332 Merge "Mark Restricted APN connections as restricted." into oc-dev 2017-04-19 17:09:35 +00:00
Tao Bao
a532f4d7f8 Merge "RecoverySystem: Enable the package compatibility verification." into oc-dev 2017-04-19 16:30:28 +00:00
Keun-young Park
f04390ed49 Merge "fs_stat: ignore quota fix caused by tree optimization" into oc-dev 2017-04-19 16:12:08 +00:00
Tao Bao
e3872a4fc9 Merge "RecoverySystem: Verify the package compatibility." into oc-dev 2017-04-19 15:54:24 +00:00
George Mount
c5828b50ed Fix FragmentTransaction.show() to show the fragment.
Bug 37413327

When there was an animation and the fragment transaction wasn't
optimized, the fragment visiiblity wasn't being set during show().

Test: I0fd4029a02d6c9f082011bf56f0d3c8245803f68
Change-Id: Idc2c74ae2fc4759a755a5988ce6ca1b39ef8d554
2017-04-19 07:32:36 -07:00
Abodunrinwa Toki
a2df6e5415 TextClassifierImpl: Fix empty locale list issue.
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Bug: 37289966
Change-Id: Ib822f2cc2fbaeb67dcc06e1f9fea306ee1c8c9ef
2017-04-19 13:52:12 +01:00
Felipe Leme
fe1bddfbb5 Merge "Some Autofill API changes." into oc-dev 2017-04-19 05:05:48 +00:00
Keun-young Park
6bea235195 fs_stat: ignore quota fix caused by tree optimization
- tree optimization leads into quota fix which is not a real fix.
- Distinguish such case from real file system fix to get fs statistics
  correctly.
- This is only for correct fs stat metric collection. There is no
  functionality change in device side.
- Full parsing is only run when fs fix is detected from fs_stat.
  Examplt of fsck fix that will be ignored as optimization:
  e2fsck 1.43.3 (04-Sep-2016)
  Pass 1: Checking inodes, blocks, and sizes
  Inode 877141 extent tree (at level 1) could be shorter.  Fix? yes

  Pass 1E: Optimizing extent trees
  Pass 2: Checking directory structure
  Pass 3: Checking directory connectivity
  Pass 4: Checking reference counts
  Pass 5: Checking group summary information
  [QUOTA WARNING] Usage inconsistent for ID 10038:actual (71667712, 1000) != expected (71671808, 1000)
  Update quota info for quota type 0? yes

  [QUOTA WARNING] Usage inconsistent for ID 10038:actual (59555840, 953) != expected (59559936, 953)
  Update quota info for quota type 1? yes

  /dev/block/platform/soc/624000.ufshc/by-name/userdata: ***** FILE SYSTEM WAS MODIFIED *****
- also added unit test for the fsck log parsing

bug: 36391645
Test: many reboots with fs_stat check, runtest frameworks-services -c com.android.server.BootReceiverFixFsckFsStatTest
Change-Id: I86a97a3b50ee573db51d19d2cd243b8f7795a165
2017-04-18 21:39:05 -07:00
TreeHugger Robot
9cd92959e6 Merge "Fix for SurfaceView out of a view hierarchy" into oc-dev 2017-04-19 03:17:50 +00:00
Svetoslav Ganov
57ed0ba69d Merge "Address API council comments" into oc-dev 2017-04-19 02:44:18 +00:00
TreeHugger Robot
15b48ff4de Merge "Creating a common class for loading drawables and handling various badging" into oc-dev 2017-04-19 02:43:47 +00:00
TreeHugger Robot
42775f2a89 Merge "Add a way to read the last AutofillSelection." into oc-dev 2017-04-19 02:43:08 +00:00
Felipe Leme
e5f9c30688 Some Autofill API changes.
- Added View.IMPORTANT_FOR_AUTOFILL_YES_INCLUDE_DESCENDANTS
- Added View.IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS
- Added FillResponse.Builder.setIgnoredIds()
- Fixed javadoc links.

These changes are not implemented yet....

Bug: 37424141
Bug: 36171235
Test: m update-api

Change-Id: I604960443ab08cd3f2a84a70b0a2cece7cb0a00c
2017-04-18 19:27:58 -07:00
TreeHugger Robot
e28cccab24 Merge "update docs per API council" into oc-dev 2017-04-19 01:31:46 +00:00
Nathan Harold
fca728da6c Merge "Hide Socket+DatagramSocket IpSecTransform methods" into oc-dev 2017-04-19 00:36:21 +00:00
Nathan Harold
01307a7e94 Merge "Consistenly Throw IOExceptions from IpSecManager" into oc-dev 2017-04-19 00:34:24 +00:00
TreeHugger Robot
fad9b07e31 Merge "Clone autofill service settings on managed profile." into oc-dev 2017-04-19 00:20:09 +00:00
Philip P. Moltmann
cc684ed41f Add a way to read the last AutofillSelection.
- Check UID to make sure one service cannot read FillSelections of other
  services
- Add id to Dataset to allow to tag the datasets. This id is then found
  in the FillSelection.Event
- Add clientState to FillSelection to allow service to store more data

Fixes: 36871500
Test: CtsAutoFillServiceTestCases
Change-Id: Ice894245508227265294a1c59ea97842175e5aec
2017-04-18 16:59:40 -07:00
Adam Lesinski
ec05bc0fda Fix issue with fontScale changes not taking effect
If a configuration change occurs, and an underlying ResourcesImpl is
swapped out under a Resources object, the DisplayMetrics cached by
TypedArray will be stale and not up-to-date.

Bug: 34120637
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerConfigChangeTests
Change-Id: Id78a6d259250950387c2e95c4a2292fdd095c7af
2017-04-18 16:58:18 -07:00
Svetoslav Ganov
0cb43ef67b Address API council comments
Test: all static shared lib CTS tests pass

bug:37327970

Change-Id: Ie8c4d853da5fa0a6125b9def38831860f79ce53d
2017-04-18 16:44:28 -07:00
TreeHugger Robot
4396a74208 Merge "Add logging to WebView zygote package preload." into oc-dev 2017-04-18 23:43:25 +00:00
Sunny Goyal
bab3075e2e Creating a common class for loading drawables and handling various badging
Test: Manually tested on device
Bug: 36591157
Change-Id: Ic847537d416650015cecaeb68f47f7f032e0dbaa
2017-04-18 16:36:15 -07:00
TreeHugger Robot
ddf1d16504 Merge "guard against nulls in LogMaker" into oc-dev 2017-04-18 23:32:09 +00:00
Todd Kennedy
9732f935dc update docs per API council
Change-Id: Id32be4db7671d3ef99e155f5fc2f3946eac707dd
Fixes: 37322490
Test: treehugger
2017-04-18 16:29:46 -07:00
Tao Bao
87daeb15fd RecoverySystem: Enable the package compatibility verification.
Hook up to android.os.VintfObject.verify().

Bug: 36592877
Test: Flash on marlin; verify with package that has and doesn't have
      compatibility.zip entry.
Change-Id: I4e73fa42f4e3fd2e1c5ffec2ffa6152538d62eee
2017-04-18 15:54:28 -07:00
Evan Rosky
7906d47f69 Merge "Ignore nested keyboard navigation clusters" into oc-dev 2017-04-18 22:54:08 +00:00
Evan Rosky
5b860719a3 Handle edge-case where no focusables exist
cluster navigation was previously crashing if there was
nothing focusable..

Bug: 37438383
Test: Added CTS: ContentPaneFocusTest#testNoFocusablesInContent
      Ran against support-v7-demos Toolbar demos to verify
      crash didn't occur

Change-Id: Ia1382cec138a948d080aeded4d38735983df2152
2017-04-18 15:49:43 -07:00
Philip P. Moltmann
7fa4198ab1 Merge "Change saveOnAllViewsInsible from boolean to flags" into oc-dev 2017-04-18 22:28:20 +00:00
Felipe Leme
aa00896b8d Clone autofill service settings on managed profile.
Test: manual verification
Change-Id: I9d13e4230265b18444bfd30fd403c5fb98b88159
Fixes: 37351722
2017-04-18 15:14:43 -07:00
TreeHugger Robot
43b814b1d2 Merge "update docs per API council" into oc-dev 2017-04-18 22:09:32 +00:00
Chris Wren
572c5df578 guard against nulls in LogMaker
Bug: 36909905
Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics
Change-Id: Ibd12bf12f9b1ed5fbc926ec04bbfa429ff98f7d2
2017-04-18 17:43:00 -04:00
Torne (Richard Coles)
deeb6ade92 Add logging to WebView zygote package preload.
This is a potentially slow event and having a timestamp for when it
started/completed may help to track down a currently-open bug (as well
as enable us to see how long preloading took). This only happens once
per boot and once per WebView update so won't cause a significant amount
of logging.

Bug: 37347817
Test: check for messages in logcat on first use of WebView
Change-Id: Ib6c50eea71324f81cda5b5b1ac91f9dc806e0ab4
2017-04-18 17:19:49 -04:00
Casey Burkhardt
585f7c1b20 Merge "Minor UI adjustments to a11y button chooser" into oc-dev 2017-04-18 21:09:04 +00:00
TreeHugger Robot
94ac6ae6d9 Merge "Fixing javadoc errors for pm#canRequestPackageInstalls" into oc-dev 2017-04-18 21:07:48 +00:00
TreeHugger Robot
a86e3d70e3 Merge "Check if singleLineTitle attribute is set for the preference." into oc-dev 2017-04-18 20:33:47 +00:00
Sunny Goyal
edfdb67ee9 Adding API AppWidgetHost.getAppWidgetIds() to get active widgets of the host
Bug: 37435178
Test: Added CTS
Change-Id: I621247e0887b3931bfb92431d94f97507a303e5c
2017-04-18 12:48:49 -07:00
Eugene Susla
4160be14eb Make javadoc of companion service name more like others
Fixes: 37469823
Test: Ensure no compilation failure
Change-Id: I37ae54bbf05f4434eddbc13b0064ecfc99f69b8e
2017-04-18 12:29:54 -07:00
Robert Greenwalt
1eeec7880d Mark Restricted APN connections as restricted.
If anything unrestricted is bundled in the whole thing has to be
unrestricted (we can't restrict based on destination or intent)
but the NOT_METERED flag wasn't taken into account.

This wasn't a problem before because telephony set that statically
and late, but a change caused it to be marked NOT_METERED earlier
which exposed this bug.

bug: 37208956
Test: new NetworkCapabilitiesTest.  Fails without fix, works with.
Change-Id: I7b7a1c38621ce0ecde8cf041e82b1ebb7a9c6f15
2017-04-18 11:29:20 -07:00
Philip P. Moltmann
9023d14fb3 Change saveOnAllViewsInsible from boolean to flags
Change-Id: Ibd6f283479bad841eb7b20bb8d006562c4398e9f
Fixes: 35708237
Test: CtsAutoFillServiceTestCases
2017-04-18 10:24:48 -07:00