Commit Graph

69156 Commits

Author SHA1 Message Date
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
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
Tao Bao
e3872a4fc9 Merge "RecoverySystem: Verify the package compatibility." into oc-dev 2017-04-19 15:54:24 +00:00
Felipe Leme
fe1bddfbb5 Merge "Some Autofill API changes." into oc-dev 2017-04-19 05:05:48 +00: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
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
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
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
Lucas Dupin
0c207340b9 Fix for SurfaceView out of a view hierarchy
At most of the time, developers rely on GLSurfaceView to manage
the OpenGL lifecycle. This means that a SurfaceView might not
always have a ViewRootImpl.

Test: select timelapse wallpaper and set it.
Bug: 37363390
Change-Id: I3cdb1ec2a6e91cfad65fd823a7436f0010c0859c
2017-04-18 10:01:34 -07:00
Makoto Onuki
2b499e4eba Merge "Log screen-on latency with tron" into oc-dev 2017-04-18 15:56:31 +00:00
Andrei Stingaceanu
2ed861d560 Merge "AutoSize TextView - take horizontalScrolling into account" into oc-dev 2017-04-18 14:20:33 +00:00
Bryce Lee
25b7687771 Merge "Deprecate ActivityManager#getRunningServices" into oc-dev 2017-04-18 14:10:57 +00:00
Abodunrinwa Toki
6d149bc953 Merge "FloatingToolbar: Rules for ordering menu items." into oc-dev 2017-04-18 12:58:33 +00:00
Andrei Stingaceanu
f730651a22 AutoSize TextView - take horizontalScrolling into account
When passing the characteristics of the current TextView
to the StaticLayout for auto-size measurements also take
the horizontallyScrolling into account similarly with how
the actual measurements are done (@ TextView#onMeasure).

Bug: 37254477
Test: cts-tradefed run cts-dev -m CtsWidgetTestCases -t\
      android.widget.cts.TextViewTest

Change-Id: I44b85e77d9b1770f188a0f59f103e3fda284e97a
2017-04-18 09:49:48 +00:00
TreeHugger Robot
cf7cb9c993 Merge "Renamed ViewNode's getAutoFillHints() to getAutofillHints()" into oc-dev 2017-04-18 04:02:03 +00:00
Nathan Harold
10f051ca91 Hide Socket+DatagramSocket IpSecTransform methods
These methods do not currently work for IPv4 sockets,
so they need to be hidden until the underlying kernel
code can be made to work properly in a dual-stack
environment.

Bug: 36073210
Test: compilation
Merged-In: Idce367f638a42da374a7f1dc5ebb8931c9555e06
Change-Id: Idce367f638a42da374a7f1dc5ebb8931c9555e06
(cherry picked from commit da18b028f8)
2017-04-17 20:23:51 -07:00
Nathan Harold
05c7b5ad7c Consistenly Throw IOExceptions from IpSecManager
Bug: 36073210
Test: api-update
Change-Id: Ia3825e85b09b6330f1326a26cf9e1cadf9dacf71
Merged-In: Ia3825e85b09b6330f1326a26cf9e1cadf9dacf71
(cherry picked from commit c2fd6cfdc9dce33d57a3c2780e0527dd4b1bfeb9)
2017-04-17 20:23:34 -07:00
Felipe Leme
b118021972 Renamed ViewNode's getAutoFillHints() to getAutofillHints()
Test: CtsAutoFillServiceTestCases pass
Bug: 35956626
Bug: 35364993
Change-Id: I2ad5a625da6ed4ff889315923c81cfd629e34074
2017-04-17 18:51:18 -07:00
TreeHugger Robot
00ed0baca8 Merge "Turn down the preliminary foreground service API" into oc-dev 2017-04-18 01:48:31 +00:00
TreeHugger Robot
eef5d285f9 Merge "Account for content insets in source rect hint for transition into PiP" into oc-dev 2017-04-18 01:33:28 +00:00
TreeHugger Robot
eb9fb8e0d0 Merge "A new power button mode to hide the IME when shown" into oc-dev 2017-04-18 01:13:04 +00:00
TreeHugger Robot
6e8f116647 Merge "Finish impl of job queue: handle URI permissions." into oc-dev 2017-04-18 01:07:18 +00:00
TreeHugger Robot
950fa06a29 Merge "More small fixes/adjustments to job scheduler." into oc-dev 2017-04-18 00:47:09 +00:00
TreeHugger Robot
89e8b7b58e Merge "AOD: Implement redacted notificatinos" into oc-dev 2017-04-18 00:31:59 +00:00