Commit Graph

71858 Commits

Author SHA1 Message Date
Ian Pedowitz
52e33eed24 Merge "Revert "Revert "O is API 26""" into oc-dev am: 655ab3f59b
am: b6290ff39e

Change-Id: If4c21c8d37d753b00e4478c21bf5e6dbe9f39288
2017-05-16 05:04:15 +00:00
Ian Pedowitz
b6290ff39e Merge "Revert "Revert "O is API 26""" into oc-dev
am: 655ab3f59b

Change-Id: I28655c728468f2348b2ba83b77f2aae3d7b22c06
2017-05-16 04:02:51 +00:00
Ian Pedowitz
655ab3f59b Merge "Revert "Revert "O is API 26""" into oc-dev 2017-05-16 03:33:05 +00:00
Aurimas Liutikas
4adf179816 Merge "Update TimePicker mode switch icon." into oc-dev am: 1812e446e1
am: 3ff9b30724

Change-Id: Idb7d538321c349d3d7b237df72d25e1d3fd9ff7a
2017-05-16 01:49:46 +00:00
Svet Ganov
647dc84560 Merge "Support recursive static shared lib dependency" into oc-dev am: e04765998e
am: 8adfc2cac7

Change-Id: Ib07a986a02372d40ce93b9beb8e1ac74f0d3561b
2017-05-16 01:38:57 +00:00
Rob Carr
93d5c06222 Merge "Preserve non-floating state when entering pinned stack." into oc-dev am: f5b6818009
am: dff4323f01

Change-Id: Ie007a26d4d0264f5a0609cbc0996a5a509734382
2017-05-16 01:28:14 +00:00
Aurimas Liutikas
3ff9b30724 Merge "Update TimePicker mode switch icon." into oc-dev
am: 1812e446e1

Change-Id: I8289ec34bef3f03a0fac671208e7257b547e49e1
2017-05-16 01:19:47 +00:00
TreeHugger Robot
1812e446e1 Merge "Update TimePicker mode switch icon." into oc-dev 2017-05-16 01:14:01 +00:00
Svet Ganov
8adfc2cac7 Merge "Support recursive static shared lib dependency" into oc-dev
am: e04765998e

Change-Id: I674191296c7d0a409e19614b2f18a4b86bf03ab8
2017-05-16 00:03:00 +00:00
TreeHugger Robot
e04765998e Merge "Support recursive static shared lib dependency" into oc-dev 2017-05-15 23:49:07 +00:00
Rob Carr
dff4323f01 Merge "Preserve non-floating state when entering pinned stack." into oc-dev
am: f5b6818009

Change-Id: I22f408fef8007cb5c1266a7115da01c07b4f0eb4
2017-05-15 23:38:21 +00:00
Jesse Hall
32d3babb24 Merge "Require targetSdkVersion>=O for updated graphics driver packages" into oc-dev am: 40b274915e
am: 4e99819ba6

Change-Id: I721dd6b03d7f5938de7e81b8fb25feb04babaa6a
2017-05-15 23:23:35 +00:00
Rob Carr
f5b6818009 Merge "Preserve non-floating state when entering pinned stack." into oc-dev 2017-05-15 23:17:33 +00:00
Jesse Hall
4e99819ba6 Merge "Require targetSdkVersion>=O for updated graphics driver packages" into oc-dev
am: 40b274915e

Change-Id: I849c6a942448536b67d79f0687f07ed36567fa1b
2017-05-15 23:15:04 +00:00
Aurimas Liutikas
c0aa90d9ee Update TimePicker mode switch icon.
Previously the icon was an event icon, but a clock icon is
more appropriate so we are switching to that instead.

Bug: 37351390
Test: Open time picker
Change-Id: I47e6caf3c341c10264168004628288fd00e4601a
2017-05-15 15:39:28 -07:00
Svet Ganov
58c99f0207 Support recursive static shared lib dependency
Test: Updated the static shared lib CTS tests to verify that
      All static shared lib CTS tests pass

bug:35359862

Change-Id: Id4a0dabbc9d8e98962e92b6f537f6ffffa63b585
2017-05-15 14:43:17 -07:00
Philip Quinn
7fb80f7d27 Update the mTotalDuration for each animation in an AnimatorSet.
A cache was introduced in I677bc289f2ba430466f2d90ebc14368cb7b75118 to
optimise calls to createDependencyGraph(), but the update was removed in
If1dc6e8dbc93a4bf5ade8c5b0dcf43d3ee6ba7b5. This patch reintroduces the
update when calculating child animation start/end times to re-enable the
optimisation.

Test: cts-tradefed run cts-dev --module CtsAnimationTestCases
Change-Id: Ie9dad4049c07a151889b57809bf844ab854ff482
2017-05-15 21:36:30 +00:00
Jesse Hall
0e72f130ab Require targetSdkVersion>=O for updated graphics driver packages
In O, graphics drivers are loaded into a new restricted linker
namespace. Drivers built for previous versions of the OS may not work
under those restrictions, so require an updated driver package to
declare compatibility by setting targetSdkVersion >= O.

Bug: 34228255
Test: manually construct packages with and without
      targetSdkVersion >= O, confirm driver is used/not-used as
      expected.
Change-Id: I4518360433a6de5c6e1e792a6eedddf8c6bf4394
2017-05-15 14:08:57 -07:00
Phil Weaver
5649d3e93b Merge "Add null check to a11y call." into oc-dev am: 9289faa163
am: 6f40533f4e

Change-Id: I096085f2da8bdde5b53167d25d0beabcb3d491cb
2017-05-15 17:13:49 +00:00
TreeHugger Robot
285f9ff995 Merge "Take better control over Exceptions thrown in WebViewFactory." 2017-05-15 17:10:58 +00:00
Phil Weaver
6f40533f4e Merge "Add null check to a11y call." into oc-dev
am: 9289faa163

Change-Id: I9e9232a1cef8cd29909233995e983eda98872568
2017-05-15 17:05:31 +00:00
Phil Weaver
9289faa163 Merge "Add null check to a11y call." into oc-dev 2017-05-15 16:56:29 +00:00
Jonathan Solnit
91d199a391 Merge "Add camera lift trigger to GestureLauncherService" 2017-05-15 16:20:42 +00:00
Gustav Sennton
b715d405b5 Take better control over Exceptions thrown in WebViewFactory.
Turn WebViewFactory.MissingWebViewPackageException into a non-runtime
exception to avoid potential bugs where we miss catching that exception.

Also introduce a new exception specifically for IOExceptions thrown in
getLoadFromApkPath().

Bug: 28736099
Test: make an Angler build.

Change-Id: Ib07257eaefaaa79d7ea45ba0f609be7263438f6c
2017-05-15 13:19:35 +01:00
Jeff Davidson
91c3d07fd9 Implement remaining core eUICC APIs.
Includes:

-getDefaultDownloadableSubscriptionList, which returns a list of
default subscriptions available for the device.
-getEuiccInfo, which returns an EuiccInfo object containing
non-sensitive information about the eUICC device.
-deleteSubscription, to delete a subscription.
-switchToSubscription, to switch to (or away from) a subscription.
-updateSubscriptionNickname, to update the nickname of a subscription
which is saved to the eUICC.
-eraseSubscriptions, to factory reset the eUICC.
-Settings.Global#DEFAULT_SM_DP_PLUS, a default SM-DP+ server which is
used to query for default subscriptions in
getDefaultDownloadableSubscriptionList.

These APIs follow the template of the APIs which have already been
implemented.

This completes the baseline implementation as designed; any additional
APIs or tweaks to the APIs will be tracked as separate bugs.

Fixes: 33075886
Test: Build/boot
Change-Id: I8057757c874f94e0c816af1ca071d656c8f145b9
2017-05-14 10:57:00 -07:00
Jeff Davidson
d02731ffff Define APIs for listing embedded subscriptions.
Two new APIs will list all embedded subscriptions along with any
active ones. One API requires the ability to read phone state and
returns all subscriptions. The other requires no special permissions
but will only return those subscriptions which the caller may manage
according to their metadata.

A list result from the LPA includes whether the current eUICC is
removable. If true, subscriptions in the list are considered
transient and always removed upon the next list update (i.e. SIM card
state change) unless that update includes the subscription. Otherwise,
they will be retained across future list operations for which the
current eUICC is removable. This allows callers to retain knowledge
about available embedded subscriptions on an inactive but still
accessible eUICC, as long as that eUICC is permanent.

The LPA may request a refresh of the list at any time; this is
intended to be used of the list or metadata is updated through a
non-API operation, e.g. a server-initiated metadata update. For
operations driven through a platform API, the list will be refreshed
automatically.

Bug: 33075886
Test: TreeHugger
Change-Id: I1887cbca835c304b9eb285fd972c7c8eaffa6e1d
2017-05-14 10:55:40 -07:00
Felipe Leme
316a22bd3f Start a new session on manual request after session is "gone". am: 7f33cd350b
am: 4f87698d30

Change-Id: I9d6ecfde09c79e53624750fdc574d17869980403
2017-05-14 09:51:36 +00:00
Felipe Leme
4f87698d30 Start a new session on manual request after session is "gone".
am: 7f33cd350b

Change-Id: I1f93cea2d1699e8d388da4136c379aec4462e270
2017-05-14 09:41:00 +00:00
Felipe Leme
7f33cd350b Start a new session on manual request after session is "gone".
When the autofill service returns a null FillResponse, the session is marked
"gone" because the service cannot autofill it. But there might be cases where
the view structure change and it's now autofillable, so need to allow users
to manually request autofill again in such cases.

Fixes: 38205945
Test: CtsAutoFillServiceTestCases pass
Test: LoginActivityTest.testAutofillManuallyAfterServiceReturnedNoDatasets()
Test: LoginActivityTest.testAutofillManuallyAndSaveAfterServiceReturnedNoDatasets()

Change-Id: I9b23c255e563dd0646bf266d31ddb10dcc4f7f6d
2017-05-14 00:31:45 -07:00
Felipe Leme
efb2bf2681 Merge "Don't print sensitive data on AssistStructure.dump()" into oc-dev am: 7bd1d3e48b
am: 122b3ce4ff

Change-Id: Ia1f5481e0684e13a3e36e7dcf71fbd27a0a81c13
2017-05-14 04:00:14 +00:00
Felipe Leme
122b3ce4ff Merge "Don't print sensitive data on AssistStructure.dump()" into oc-dev
am: 7bd1d3e48b

Change-Id: I8a186cf8fefe19d936acbbf19ae65a6e645eca4d
2017-05-14 03:51:16 +00:00
TreeHugger Robot
7bd1d3e48b Merge "Don't print sensitive data on AssistStructure.dump()" into oc-dev 2017-05-14 03:45:26 +00:00
Felipe Leme
bc561eb06e Don't print sensitive data on AssistStructure.dump()
Test: manual verification

Bug: 38205945
Change-Id: Ic184ee6da313a2c0f8e0dd11979f6985d8023140
2017-05-13 18:20:51 -07:00
TreeHugger Robot
3ecbeb8746 Merge "Add a thread group for RT apps" 2017-05-13 21:20:33 +00:00
Dianne Hackborn
6cdaf4fe5e Merge "Fix issue #38210653: Few more tweaks of job scheduler" into oc-dev am: c75bd416e9
am: 48e6d1594a

Change-Id: I41a97e988da5069fc186307e519e07e2bb746e83
2017-05-13 20:21:54 +00:00
Dianne Hackborn
48e6d1594a Merge "Fix issue #38210653: Few more tweaks of job scheduler" into oc-dev
am: c75bd416e9

Change-Id: I6c7cf4506c73fbed60bff0d43fb0a588d780d93a
2017-05-13 20:15:14 +00:00
Dianne Hackborn
c75bd416e9 Merge "Fix issue #38210653: Few more tweaks of job scheduler" into oc-dev 2017-05-13 20:08:25 +00:00
Joel Fernandes
59776002e3 Add a thread group for RT apps
This will be used to provide minimum capacity guarantees to RT tasks
sensitive to frequency drops such as synthesizer workloads.

Bug: 33085313

Change-Id: I3f50ead5aaf496bb55cdb2426f22225a3d6c94ed
Signed-off-by: Joel Fernandes <joelaf@google.com>
2017-05-13 19:47:35 +00:00
Jason Monk
780ae3595c Merge "Fix the status icon colors in QS" into oc-dev am: d472349229
am: e093068eb1

Change-Id: I2bbe4b8dc4f0e9173d00129e8b25a4ccb3977188
2017-05-13 13:22:13 +00:00
Jason Monk
e093068eb1 Merge "Fix the status icon colors in QS" into oc-dev
am: d472349229

Change-Id: I052e36141f36ed48ae9b60d210efd9be7bd4cc2b
2017-05-13 13:16:50 +00:00
Jason Monk
d472349229 Merge "Fix the status icon colors in QS" into oc-dev 2017-05-13 13:10:58 +00:00
Felipe Leme
abdcd76fda Merge "Couple autofill fixes." into oc-dev am: 5fd8672d71
am: 9b32a707f2

Change-Id: I7c565e7896055ecae4f48716ff166087df39e8a8
2017-05-13 04:05:44 +00:00
Felipe Leme
9b32a707f2 Merge "Couple autofill fixes." into oc-dev
am: 5fd8672d71

Change-Id: I767486242a6c8494e70710622029b9e03d621a9e
2017-05-13 03:58:48 +00:00
TreeHugger Robot
5fd8672d71 Merge "Couple autofill fixes." into oc-dev 2017-05-13 03:54:23 +00:00
Bryce Lee
3ebf17dcb4 Merge "Introduce result ranges for activity start return results." into oc-dev am: b3d265caaa
am: eb651bbfb6

Change-Id: I43ecf09dac5dd6142dba08f8bcdd1332f44d4aa2
2017-05-13 02:00:36 +00:00
Bryce Lee
eb651bbfb6 Merge "Introduce result ranges for activity start return results." into oc-dev
am: b3d265caaa

Change-Id: I609d209e8a5a8dc0ce936c9ac644f9a128c5d641
2017-05-13 01:49:28 +00:00
Bryce Lee
b3d265caaa Merge "Introduce result ranges for activity start return results." into oc-dev 2017-05-13 01:41:36 +00:00
Siarhei Vishniakou
06c7dc5f0f Merge "Fix GamepadTestCase#testButtonA CTS test" 2017-05-13 01:21:43 +00:00
Adam Lesinski
6afbd43dc6 Merge "OMS: Setup state for users on boot and when added" into oc-dev am: 47fe4a0bef
am: c91893fb22

Change-Id: I86079fdfe1f632aa49b6a89b438e960f0db3caf9
2017-05-13 01:06:54 +00:00
Jonathan Solnit
a41381660c Add camera lift trigger to GestureLauncherService
Add registration for the camera lift trigger sensor and handling for its
events to GestureLauncherService

Test: Confirmed camera launches on lift gesture if setting is enabled
(and other pieces are in place)
Change-Id: Ibfad2040409d86af2d019e2ce97ab546bef9ba78
2017-05-12 17:59:27 -07:00