Commit Graph

79889 Commits

Author SHA1 Message Date
TreeHugger Robot
2cb882d61a Merge "Rename HardwareLayer -> TextureLayer" 2018-02-22 04:30:27 +00:00
TreeHugger Robot
6169417fd5 Merge "WebView: fix docs for setSafeBrowsingWhitelist" 2018-02-22 04:08:02 +00:00
TreeHugger Robot
db61887309 Merge "Updates the name of the native library wrapper class, adds options and removes hints." 2018-02-22 04:01:25 +00:00
John Reck
9d8d99de97 Rename HardwareLayer -> TextureLayer
Update name to reflect meaning/usage

Change-Id: Iddb3621cbca147f96faa83380867baa49c382aab
Fixes: 20461288
Test: builds & boots
2018-02-21 15:55:58 -08:00
TreeHugger Robot
3190439f2a Merge "Describe how the accessory input stream drops data" 2018-02-21 23:37:28 +00:00
Lukas Zilka
f8c36bffb8 Updates the name of the native library wrapper class, adds options and removes hints.
Test: Built, tested on device, CTS passes.

bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest

Change-Id: I7c70427d28bec8218935ed45a39819b2ece8112a
2018-02-22 00:37:02 +01:00
Nate Fischer
5a6ae8c739 WebView: fix docs for setSafeBrowsingWhitelist
No change to logic, documentation change only.

This changes "URL" to "host" everywhere in this API documentation.
This API never accepted a list of URLs, it only ever accepted a list of
hosts (e.g. "www.google.com" is ok, "http://www.google.com/" is not).
The original documentation was misleading.

Test: make docs (manually verify)
Change-Id: I3b57a2a160ff00ba8f92b30f6e3b4399e55f2ea0
2018-02-21 15:27:01 -08:00
TreeHugger Robot
bf65339444 Merge "Remove flags in fs-verity header" 2018-02-21 22:54:44 +00:00
Eugene Susla
e2e3b77aad Merge "Use PooledLambda in autofill code" 2018-02-21 21:32:42 +00:00
TreeHugger Robot
00ddbbc8c3 Merge "Don't end transitions on a detached window, prevent crash in WindowId" 2018-02-21 21:26:36 +00:00
TreeHugger Robot
f66699314c Merge "Use structural equality for A11yNodeInfo#mChildNodeIds" 2018-02-21 20:59:21 +00:00
TreeHugger Robot
0f36903c3d Merge "Updating batterystats report version." 2018-02-21 20:32:27 +00:00
TreeHugger Robot
72e94b6556 Merge changes I30c76f2a,I83d3f0d2
* changes:
  Fixed the launch animation for groups
  Removed the notification action background
2018-02-21 20:19:54 +00:00
TreeHugger Robot
cc59285997 Merge "Package whitelist for hiddenapi checks." 2018-02-21 19:55:23 +00:00
Eugene Susla
9f1921f9ff Use PooledLambda in autofill code
This replaces the usage of handler message types with PooledLambda

Bug: 73648631
Test: atest CtsAutoFillTestCases
Change-Id: I3be0870116489c0c831353fe4ab9abed3cac3a93
2018-02-21 19:47:18 +00:00
TreeHugger Robot
6c9afb62e5 Merge "Add StringDef annotation for SYSTEM_SETTINGS_WHITELIST" 2018-02-21 19:23:49 +00:00
Selim Cinek
a5afd2a3cb Merge "Added a targetAPi check to the user name requirement" 2018-02-21 19:06:59 +00:00
TreeHugger Robot
00bbbd8a52 Merge "ApplicationInfo: Copy compileSdkVersion* fields" 2018-02-21 18:05:38 +00:00
yuemingw
93ffce616a Add StringDef annotation for SYSTEM_SETTINGS_WHITELIST
Bug: 70336454
Test: manual
Change-Id: Ifebce382ec9a4a08831e433a1c7974d3a43e306d
2018-02-21 17:33:05 +00:00
Makoto Onuki
2ebb021231 Merge "Shortcut permissions for default text classifier" 2018-02-21 17:22:28 +00:00
Mathew Inwood
4693a75eda Package whitelist for hiddenapi checks.
Some packages in the system image are not built against the SDK, so
enforcing hiddenapi checks for these will break them. Add a whitelist
for such packages.

For now, just add the contacts provider to the whitelist. The list will be
further populated later.

Test: Added test app package name to whitelist to verify.

Bug: 73244707
Change-Id: I94746b7f12dd9371d5068bb235eb853f63ee4d97
2018-02-21 12:50:45 +00:00
Jorim Jaggi
9b58f2ddf8 Fix app start logging
Our old trampoline logic doesn't work anymore, as some app starts
are distributed between multiple tasks, which now means multiple
stacks as well.

Instead, track app starts by windowing mode.

Test: Open/close apps, adb logcat -b events
Test: AppStartTests
Change-Id: If106f12ec98fd69ff7d0c4dabff28f88d2096a0b
Fixes: 72953633
2018-02-21 13:31:15 +01:00
Mihai Popa
78cab5a596 Merge "[Magnifier-23] Fix invisible cursor in magnifier" 2018-02-21 11:51:34 +00:00
Bernardo Rufino
756d00b9b8 Merge "Revert "Extend XML parser to allow optional requiredFlags attribute"" 2018-02-21 11:00:11 +00:00
Narayan Kamath
81945916f1 Merge "Remove uses of libcore.util.Objects.hashCode / equals." 2018-02-21 09:34:42 +00:00
Richard Ledley
d173506597 Merge "Replace Entity Presets with hints and an explicit factory." 2018-02-21 09:33:05 +00:00
TreeHugger Robot
11d039a1b8 Merge "Only emit debug logging when requested." 2018-02-21 05:42:14 +00:00
Selim Cinek
9034386c24 Added a targetAPi check to the user name requirement
Change-Id: I5ba972eff6e45545f6100e30ce4290665fa1ca6c
Fixes: 72814121
Test: add messaging notification with targetAPI < P without a name, observe no crash
2018-02-20 19:41:01 -08:00
Robert Sesek
f9bd606fba Merge "Reparent the webview_zygote to be a child of the main app_process zygote." am: 1c81aa6375 am: 486190f87b
am: 0dd7cf0bb3

Change-Id: I9468ec63053f35814ec45b18572966d8adc93f3e
2018-02-21 02:47:07 +00:00
TreeHugger Robot
1da96e0bc2 Merge "Change verity hash algorithm to pad the last chunk" 2018-02-21 02:37:49 +00:00
Robert Sesek
0dd7cf0bb3 Merge "Reparent the webview_zygote to be a child of the main app_process zygote." am: 1c81aa6375
am: 486190f87b

Change-Id: I683dbbf730bfd02e43cb67bfcaa0df56d69c9796
2018-02-21 02:33:14 +00:00
Robert Sesek
486190f87b Merge "Reparent the webview_zygote to be a child of the main app_process zygote."
am: 1c81aa6375

Change-Id: I2af77c52ea7aca058ab1a1fc224968760e6c3ac5
2018-02-21 02:16:22 +00:00
Kweku Adams
b78430e107 Updating batterystats report version.
http://ag/3607190 changed the value of DATA_CONNECTION_OTHER, which
breaks parsing, so we need to update the report version.

Deferred job metrics added in http://ag/3628360.

Bug: 67013665
Bug: 70297451
Test: N/A
Change-Id: I3361733b10fb55b75d4ce618d8a87ab8c92e5836
2018-02-20 18:12:46 -08:00
Maurice Lam
3b4dc851cd Revert "Extend XML parser to allow optional requiredFlags attribute"
This reverts commit 34b769d32b.

Reason for revert: b/73663127

Change-Id: I8595039777d69994f6fcc1f9a6911d202c8adbbf
2018-02-21 02:05:30 +00:00
Adam Lesinski
d3ea009911 ApplicationInfo: Copy compileSdkVersion* fields
Bug: 69798373
Test: atest CtsActivityManagerDeviceTestCases:PrereleaseSdkTest
Change-Id: I4208da1fc52f5567f23eceb87a2787fef60adc5f
2018-02-20 16:51:41 -08:00
Tomasz Wasilczyk
9678d36bfc Merge "Add twasilczyk and randolphs to broadcast radio directories OWNERS." 2018-02-21 00:51:37 +00:00
TreeHugger Robot
0f5fd79a96 Merge "VideoView2: Remove redundant listeners" 2018-02-21 00:27:13 +00:00
Victor Hsieh
91f6eb325e Remove flags in fs-verity header
The flag of "has extension" has been removed since there is a field of
"extension count" in the header.

This changes the on-disk format, but is currently fine because the
feature is not enabled yet.

Test: build
Bug: 30972906
Change-Id: Ibf00070e678835842c1508fb1afe3dca38a77381
2018-02-20 16:26:36 -08:00
Torne (Richard Coles)
b65864e2e7 Merge "Consider shared libs when precreating WebView classloader." am: f9fd8dfcc0
am: 424f3ab432

Change-Id: I21f031e97f750b8837eb9c698005fd3f112631ca
2018-02-21 00:17:22 +00:00
Torne (Richard Coles)
424f3ab432 Merge "Consider shared libs when precreating WebView classloader."
am: f9fd8dfcc0

Change-Id: I2e326ffb47a95c01bf5e67320bbf8aa8193916af
2018-02-21 00:03:58 +00:00
Victor Hsieh
3a0032f30f Change verity hash algorithm to pad the last chunk
As the result, all existing cases takes complete chunk for hashing.

Also bump to version number.

Test: without also bumping the version, apk with 0x401 hash won't install
Test: apk with 0x411 hash installs
Bug: 30972906
Change-Id: I48c15c886ac6eab4512f1b2b9744b07e746c6211
2018-02-20 15:34:46 -08:00
nharold
e7e42ceb02 Merge "Fix ConnectivityServiceTest for NATT Keepalive" am: 6d5aea8811 am: ad96984eb5
am: 0a177afbb8

Change-Id: I2ce9d740b82f591b847150ec1eaffa39bfbd0241
2018-02-20 23:21:59 +00:00
nharold
0a177afbb8 Merge "Fix ConnectivityServiceTest for NATT Keepalive" am: 6d5aea8811
am: ad96984eb5

Change-Id: I3c28cbb55f8226776792df9cacf1b5e527389157
2018-02-20 23:07:53 +00:00
nharold
ad96984eb5 Merge "Fix ConnectivityServiceTest for NATT Keepalive"
am: 6d5aea8811

Change-Id: Idbdffc7bbd2d9a96f6e6052810722df04a20a65c
2018-02-20 22:55:38 +00:00
Selim Cinek
ed64a14cf7 Removed the notification action background
Also added conditional paddings when inline
replying, such that the layout looks good.
This refactors the overall layout design and ensures
that smart replies and other content that is on
the bottom are always visible.

Bug: 69168591
Test: add notification, reply, no action background
Change-Id: I83d3f0d2512f0cf8c8b9db0edc7b27cbb109aeb9
2018-02-20 22:48:42 +00:00
Robert Sesek
602d1323ed Reparent the webview_zygote to be a child of the main app_process zygote.
This uses the new ZygoteProcess.startChildZygote() method to launch the
webview_zygote, rather than having init start it. This will share more
memory between the app_process and the webview_zygote, reducing the
overall system footprint.

Bug: 63749735
Test: m
Test: Launch "Third-party licenses" activity from Settings, and it
      renders correctly via the WebView.
Change-Id: I3e39cd8adb9c099c92ee34640428916d90cb2b8f
2018-02-20 17:00:41 -05:00
Seigo Nonaka
e68ba070bb Merge "Reorganize MeasuredText API (2nd)" 2018-02-20 21:14:53 +00:00
Torne (Richard Coles)
5bc14af5fa Consider shared libs when precreating WebView classloader.
The change to handling of the deprecated Apache HTTP library means that
the WebView implementation package might have a non-empty shared library
list. Make sure to fetch shared libraries when querying WebView
implementations, and take them into account when constructing both the
actual classpath to be used to precreate the classloader, and when
deciding what the cache key for the precreated classloader should be.

Change-Id: I5e1409358d935e1c9f325db434bc6d4ef8ead759
Merged-In: I5e1409358d935e1c9f325db434bc6d4ef8ead759
Fixes: 65574359
Test: launch anything that uses WebView
(cherry picked from commit 4fd8aa51e4)
2018-02-20 15:41:12 -05:00
Jeff Sharkey
4e0d30757e Only emit debug logging when requested.
Test: builds, boots
Bug: 72556865
Change-Id: I69d5d760221ef907eeea38490f56243f0a3b9dcb
2018-02-20 13:36:23 -07:00
Makoto Onuki
700feef8a6 Shortcut permissions for default text classifier
- Add two shortcut related permissions as SystemAPI for the default
text classifier.

- The default text classifier package name still comes from the
system resource.

Bug: 73083596
Bug: 71555985
Test: atest CtsPermission2TestCases
Test: Manual test with a test package, with the following in config.xml
<string name="config_defaultTextClassifierPackage" translatable="false">com.example.android.pm.shortcutlauncherdemo</string>

Change-Id: I19081d9d6ba0b33eb25d19aa55b4fe2f26a75897
2018-02-20 12:14:18 -08:00