Status Update
Comments
jo...@google.com <jo...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
Author: Hao Dong <
Link:
Update documentation and annotations
Expand for full commit details
Update documentation and annotations
1. Update BiometricPrompt documentation with strength info
2. Add @Deprecated annotation for IdentityCredential to keep
consistent with framework.
3. Use rule instead of MockitoAnnotations
Fixes: 140252778
Fixes: 217942278
Fixes: 251211046
Fixes: 239955609
Relnote: "Add @Deprecated annotation for IdentityCredential to keep
consistent with framework."
Test: ./gradlew biometric:biometric:assemble
Test: ./gradlew biometric:biometric:updateApi
Change-Id: I6ac906032150503829af6a4aca028037be7934af
Files:
- M
biometric/biometric/api/current.txt
- M
biometric/biometric/api/restricted_current.txt
- M
biometric/biometric/lint-baseline.xml
- M
biometric/biometric/src/androidTest/java/androidx/biometric/DeviceUtilsTest.java
- M
biometric/biometric/src/main/java/androidx/biometric/BiometricPrompt.java
- M
biometric/biometric/src/main/java/androidx/biometric/CryptoObjectUtils.java
- M
biometric/biometric/src/test/java/androidx/biometric/AuthenticationCallbackProviderTest.java
- M
biometric/biometric/src/test/java/androidx/biometric/BiometricManagerTest.java
- M
biometric/biometric/src/test/java/androidx/biometric/CancellationSignalProviderTest.java
- M
biometric/biometric/src/test/java/androidx/biometric/CryptoObjectUtilsTest.java
- M
biometric/biometric/src/test/java/androidx/biometric/KeyguardUtilsTest.java
- M
biometric/biometric/src/test/java/androidx/biometric/PackageUtilsTest.java
- M
credentials/credentials/src/main/java/androidx/credentials/provider/utils/CryptoObjectUtils.kt
Hash: 65b837ca1bbe66dafeab43b78bca416d6abc04fc
Date: Tue Nov 12 18:27:57 2024
je...@google.com <je...@google.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.credentials:credentials:1.5.0-rc01
ap...@google.com <ap...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
Author: Jossi Wolf <
Link:
Enable DetectTapGesturesEnableNewDispatchingBehavior by default
Expand for full commit details
Enable DetectTapGesturesEnableNewDispatchingBehavior by default
This flag was previously introduced when we did not have a reproduction case. We have since received positive user reports and are adding a test in this change.
This change also feature-flags the jobs that call the `onPress` callback, which we previously missed.
Relnote: Enabled `DetectTapGesturesEnableNewDispatchingBehavior` by default. `TapGestureDetector` APIs now use the new dispatching behavior (immediate dispatch) by default.
Fixes: 369648479
Test: Tested with test from b/369648479 using a StandardTestDispatcher; can't include test here as the testing changes aren't ready yet. Existing TapGestureDetector tests pass
Change-Id: I9f2bc726cffd87500d10962c067541d8add69b63
Files:
- M
compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/TapGestureDetector.kt
Hash: 653681695bac933e67b31c1cd3b6e1d5ad192c33
Date: Tue Nov 26 16:36:05 2024
pr...@google.com <pr...@google.com> #5
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.foundation:foundation:1.8.0-alpha08
androidx.compose.foundation:foundation-android:1.8.0-alpha08
androidx.compose.foundation:foundation-jvmstubs:1.8.0-alpha08
androidx.compose.foundation:foundation-linuxx64stubs:1.8.0-alpha08
Description
When the down and the up event arrive in rapid succession, it is possible that the onPress callback is executed after the onTap callback.
It is currently not possible to reproduce this in a test, because we use an
UnconfinedTestDispatcher
. When we switch to aStandardTestDispatcher
, the following test (when added toTapGestureDetectorTest.kt
) will fail:While very difficult, I think you could reproduce it in a demo app with an incredibly short tap.