| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
CommonTypos linter was warning about this typo in the generated doc.
Also slightly improved grammar of sentence fragment. No changes to code,
just to docs.
Bug: 263824202
Change-Id: I060f4b76631297ca10fb72cf5ea2de7774b328f4
Test: [go/abtd docs build]
|
| |
|
|
|
|
|
|
|
|
|
| |
Update the WebSettings.setUserAgentString API docs to explicitly specify
the effect it has on user agent client hints and related JS APIs.
This is not a behaviour change for WebView, just making the docs
describe what already happens.
Test: make offline-sdk-docs
Change-Id: I2db282efc4ee42b931824175abe627e871c4a86c
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Revise the javadoc according to API council's feedback
in http://b/216369031
Bug: 214741472
Test: m offline-sdk-docs
Change-Id: I7eac1511ea522fba193afaad1113ae22286cebdf
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change fixes a number of interconnected issues in memory safety
(MTE, GWP-ASan, nativeHeapZeroInit) runtime flags.
* Exported services use the hosting app UID to locate the process
definition, and fail 100% of the time. Use the defining app UID and
package name instead.
* Isolated services process name does not match the name in the defining
app manifest, because it includes a class name and an instance number.
Pass the defining process name in HostingRecord to address this.
* Exported service ApplicationInfo.packageName refers to the hosting
app, again. As a result, wrong compat feature overrides are applied.
This has been fixed before for AppZygote services; extend the fix to all
external services.
* Pass correct memory runtimeFlags to WebViewZygote. This is important
because both MTE and GWP-ASan have a one-way disable switch; they are
enabled in the Zygote and disabled in the apps that do not opt-in.
Passing 0 runtimeFlags to WebViewZygote (and AppZygote) makes it
impossible to enable these features later in their child processes.
This change moves runtimeFlags logic from ProcessList to os.Zygote to
make it available to WebViewZygote.
Bug: 208910418
Test: CtsTaggingHostTestCases
Test: atest in frameworks/base
Test: CtsWebkitTestCases
Test: manual install WebView with android:memtagMode tag
Change-Id: I232d35344f4cd34226ff11324421904b35251525
|
| |
|
|
|
|
| |
Bug: 214742132
Test: Manual test
Change-Id: I1ecdc9990663e0e2469c33f86decf8cb0e1136d2
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rename set/getAllowAlgorithmicDarkening to
set/isAlgorithmicDarkeningAllowed according to API council's
feedback in http://b/216369031
Javadoc change will be in a separated patch.
Bug: 214741472
Test: m, m api-stubs-docs-non-updatable-update-current-api
CTS-Coverage-Bug: 214742132
Change-Id: I959508a5b8e18e054d62cd092140aeeaf7f92231
|
| |\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* changes:
Clean <plurals> in DateTimeView
Clean <plurals> in CertificateMonitor
Clean <plurals> in FillUi
Clean <plurals> in BugreportProgressService
Clean <plurals> in keyguard
Clean <plurals> in ChooserActivity
Clear <plurals> in TextUtils
Clean <plurals> in FindActionModeCallback
Clean <plurals> in ZenModeConfig
Add util class for plurals
|
| | |
| |
| |
| |
| |
| | |
Bug: 199230228
Test: make
Change-Id: Ib484fc0c59f7900b751f4e782dd67c000cc855bb
|
| | |
| |
| |
| |
| |
| | |
Bug: 199230228
Test: make
Change-Id: I59618e5467696d3173dfb4782ce55964694a42fc
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch also deprecates the force dark mode API.
WebView can't add CTS test right now because the API's implementation
is in Chromium, WebView needs to first define the API in framework,
then land the change and drop the APK, afterward, CTS test will be
added.
Add compat-framework support for this evolution behavior.
Bug: 214741472
Test: m, m offline-sdk-docs
CTS-Coverage-Bug: 214742132
Change-Id: I5d254deb1f27655ea909fceaa5b09a081d71c763
|
| |
|
|
|
|
|
|
|
| |
These are no-ops since WebView 95; remove them from the SDK to make it
clear to apps that they're nonfunctional.
Bug: 199287927
Test: atest CtsWebkitTestCases
Change-Id: I498aff6f8a0c2901504d777f597dbf77f982cd3a
|
| |\
| |
| |
| |
| |
| |
| |
| | |
19545b4cc5 am: 45b057561e am: 2a4a3c0282
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1820992
Change-Id: If78fb3baa7e8198ee8fb39c890df172e6c691408
|
| | |\
| | |
| | |
| | |
| | |
| | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1820992
Change-Id: Ic4a2d7911ab6d30d24b27596c42069e534f99db9
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`filename` must be `null` at this point, as it's recently been set to that value, and hasn't adopted any other value yet.
Refactoring change only. No functional changes intended.
Change-Id: I29a28872efc8c12c0da3c9f7c0a92d6aff465410
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
b3659d36b0 am: 30d3f5c8cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15156470
Change-Id: Iaccb9ef10405114fa3cc3456404759a8d49678ed
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit cb5a80ea57b51fcde117dea253c546dbba9f27f1.
Reason for revert: Was not the cause of the test failure
Fixes: 186622527
Test: atest FrameworksCoreTests:ContextTest
Change-Id: I705854f080200f0465d94a7754e710f05a3ec92c
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
8d440c0566 am: 30c6c3da16
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15144638
Change-Id: I480ec5d23f070c8383ea121432a9dd6c563a9188
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 192242649
5a41b45a85286200f029b6ac06d004cb32c88dd0
Change-Id: Idcebd68e0079e7e87de04ae25069b3a9ff72093c
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
f55b43b332
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15058002
Change-Id: Ifd34e72963e196376f408eac4f195142575a4402
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit c54ebba25be71d77a4c0d92dba2f0b32c03a9792.
Bug: 188059515
Test: atest FrameworksCoreTests:ContextTest
Change-Id: I986563142dac135281889e811e6e5219d728d5d1
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The current 130MiB is not sufficient for the latest Chrome x86 dev build
of stripped native library. Official ARM library is around 59 MiB (on
disk). This flavor is slower to build and is less convenient to test
with.
Keep the 32bit arm reservation size unchanged, it is sufficient and
allows growth.
Bug: 184808875
Test: Manual: start a "release" build of Chrome/x86 (but not
"official"), observe that with the change Chrome can
mmap(MAP_FIXED) all the segments of the native library into the
region successfully
Change-Id: I00507169eafbdcfc4d413bb9c76188e179ca0c0e
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
ee438f960a am: d95a9ebbfb am: 891659ba75
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14528644
Change-Id: I396eb97e5b36556757caf269b0e565459c62828b
|
| | |\ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If an application caches an ApplicationInfo and uses it to call
Context#createApplicationContext, the app will not get the most recent
version of the overlays for that application. To make things worse, the
LoadedApk stored in ActivityThread#mResourcePackages is updated using
the old ApplicationInfo causing further uses of the cached LoadedApk to
return outdated information.
Deprecate Context#createApplicationContext, convert all internal uses
to Context#createPackageContext(String packageName, ...) and log
whenever any one calls Context#createApplicationContext with an
outdated ApplicationInfo to detect debug issues in using old infos.
Bug: 188059515
Test: change wallpaper and observe widgets get reloaded with most
recent overlays
Change-Id: I2aeefa8c0e66264859109975a54c4f73f76ad710
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
99e37aca02 am: 3a1b86f460
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14602033
Change-Id: Icdedd6a67ebde91e39b810e4157cf90676e61b54
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Rework the new WebView startup timestamp system API to use a class with
named getters instead of an array with an @IntDef index.
Fixes: 184026615
CTS-Coverage-Bug: 183239482
Test: n/a
Change-Id: I22c95b1c2dc98f8ecd23ce22dc21e3d0158d9e1b
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
137a248c1f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14327001
Change-Id: I13f7e08e0ab32920fd982fe4871862441dbd1947
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change doesn't introduce a new API, the change is just pushing
down an existing API from View that we are missing to add for the
webview. We should also provide this method to allow webview provider
to provide their implementation if needed.
Bug: 186617107
Test: manual
CTS-Coverage-Bug: 177960696
Change-Id: If75285b3aafdb1f2a3d7c307a90bb783edf029b5
|
| |\ \ \
| |/ /
|/| | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Explaining when the method will return null and how that is
handled.
Bug: 180991400
Test: No logic change, current tests should pass.
Change-Id: Iae0a383cf173b80f50ea2bba46a3d263bed8f512
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
We should use uptimeMillis for the startup timestamps since it doesn't
count time in device sleep.
Fixes: 184786485
Test: n/a
Change-Id: I4073e73de9b76d50398b820879c4fcf7b8f614e8
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Specify that the values are @ElapsedRealtimeLong and document the
entries in the array via the index constants.
Fixes: 184786485
Bug: 184026615
Test: n/a
Change-Id: I26e3df80e79b14d2301e28da93f7814bc67bdb6a
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 178046780
Test: manual
Test: atest android.translation.cts.UiTranslationManagerTest
CTS-Coverage-Bug: 177960696
Change-Id: I557ca4b3b4e7324af12e81dd8b5ac8a04a17b6b8
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. We provide virtual child list to View#onCreateTranslationRequests
but we don't provide a method to allow developers to create
ViewTranslationRequest for virtual AutofillId. Add a builder
constructor to allow developer to use it for virtual AutofillId.
2. Fix some comments in ag/13982294(e1b23cd)
Bug: 177789967
Test: manual on sample app
Test: atest CtsTranslationTestCases
Change-Id: I63e914b888b23cdb7a5169fc6931be93625ca8e4
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 178046780
Test: manual
Test: atest CtsTranslationTestCases
CTS-Coverage-Bug: 177960696
Change-Id: I99caed0d42b3a164a25c2707eba7057c42c19140
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ag/13435848 introduces timestamp collections based on
System.currentTimeMillis but elapsedRealtime is a better
choice for a interval timing.
Bug: 180489435
Test: n/a
Change-Id: If7b29cbe90e8bba76bccb42a5bc570c08b75c9e7
|
| |\ \
| | |
| | |
| | | |
sc-dev
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change records timestamps that happen before the WebView APK's code
is loaded and can record timestamps itself.
Bug: 177895749
Test: n/a
Change-Id: Ibb832fa13e868846625cc02c584a535a11561c66
|
| |\ \ \
| |/ /
|/| /
| |/
| |
| |
| |
| |
| |
| | |
d2243be46a" into rvc-qpr-dev-plus-aosp am: 8e92545adf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1569302
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9d66b86d7ad4990e3e8910816cfb6d78587b4d83
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
No change to logic, only documentation change. This adds some
clarifications to getCookie()/setCookie():
* getCookie() returns multiple cookies, setCookie() accepts only one
* This briefly describes getCookie()'s output format because it's fairly
simple
* This summarizes setCookie()'s input format and provides an example,
but directs the reader to the RFC spec for a full description
* Minor formatting changes, including editing a javadoc link which
doesn't currently render correctly in kotlin docs (for
ValueCallback#onReceiveValue)
Fixes: 175471135
Test: m offline-sdk-docs -j4
Change-Id: Id9052fa03584caae5ffc92ed1f6c4d2641d900ce
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Having a hidden abstract method for a class that can be extended
means that public implementors cannot implement these hidden methods
posing a risk that custom implementations will not have required
abstract methods resulting in an exception.
Bug: 151134792
Test: make update-api
Change-Id: I758d12465fabc671be19bedeeceb16885de23c87
Merged-In: I758d12465fabc671be19bedeeceb16885de23c87
Exempt-From-Owner-Approval: large scale suppression of existing issues,
no-op in terms of behavior
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These are APIs that have @UnsupportedAppUsage but for which we don't
have any evidence of them currently being used, so should be safe to
remove from the unsupported list.
Bug: 170729553
Test: Treehugger
Merged-In: I626caf7c1fe46c5ab1f39c2895b42a34319f771a
Change-Id: I54e5ecd11e76ca1de3c5893e3a98b0108e735413
|
| | |\
| | |
| | |
| | |
| | |
| | | |
Bug: 166295507
Merged-In: I3d92a6de21a938f6b352ec26dc23420c0fe02b27
Change-Id: Ifdb80563ef042738778ebb8a7581a97c4e3d96e2
|
| | | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
rvc-dev am: f7484457cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11617993
Change-Id: Ic7ffe9ca7bb83f27c204162a5c1d8fcecd29108b
|
| | | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
rvc-dev am: a203c27aa9
Change-Id: I7889a36e409f57a050d11c6b9b5d0797a57bd454
|
| | | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
into rvc-dev am: a0b41154fe
Change-Id: I382ecdbf93164a4988627c324e7c0766e2b63422
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
No change to logic, only docs. This removes non-inclusive terminology
("whitelist") from our API javadoc, with the exception of references to
setSafeBrowsingWhitelist() (which we plan to deprecate soon, in favor of
an inclusively named API).
This rephrases one paragraph to be a bit clearer as well.
Bug: 160928306
Test: m offline-sdk-docs -j4
Change-Id: If249be8a70b01c01390ebfeb418fd7c5e119f1f2
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Bug: 173406791
Test: cd frameworks/base/core/java/android/webkit && atest --test-mapping
Change-Id: Ic75336a7067faf2c9ec10c8b7089eee48b2ec89d
|