WAI
Status Update
Comments
sg...@google.com <sg...@google.com>
sg...@google.com <sg...@google.com> #2
Can you confirm if this is a regression compared to a previous version you were using?
re...@google.com <re...@google.com>
re...@google.com <re...@google.com> #3
Please provide info on the device model and API level used to reproduce the bug.
Running the sample above (with surface) at tip of tree on a pixel 7 device, I am able to observe the text change and button's ripple effect.
lh...@google.com <lh...@google.com> #4
I have attached a reproducer project. I think the key point is to also wrap RootContent
with Surface {}
.
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
enableEdgeToEdge()
setContent {
Surface {
RootContent()
}
}
}
}
re...@google.com <re...@google.com> #5
Reproducible on an API 34 emulator.
Properties
avd.ini.displayname Pixel 7 API 34
avd.ini.encoding UTF-8
AvdId Pixel_7_API_34
disk.dataPartition.size 6442450944
fastboot.chosenSnapshotFile
fastboot.forceChosenSnapshotBoot no
fastboot.forceColdBoot yes
fastboot.forceFastBoot no
hw.accelerometer yes
hw.arc false
hw.audioInput yes
hw.battery yes
hw.camera.back virtualscene
hw.camera.front emulated
hw.cpu.ncore 4
hw.device.hash2 MD5:3db3250dab5d0d93b29353040181c7e9
hw.device.manufacturer Google
hw.device.name pixel_7
hw.dPad no
hw.gps yes
hw.gpu.enabled yes
hw.gpu.mode auto
hw.initialOrientation Portrait
hw.keyboard yes
hw.lcd.density 420
hw.lcd.height 2400
hw.lcd.width 1080
hw.mainKeys no
hw.ramSize 2048
hw.sdCard yes
hw.sensors.orientation yes
hw.sensors.proximity yes
hw.trackBall no
image.androidVersion.api 34
image.sysdir.1 system-images/android-34/google_apis_playstore/arm64-v8a/
PlayStore.enabled true
runtime.network.latency none
runtime.network.speed full
showDeviceFrame yes
skin.dynamic yes
tag.display Google Play
tag.id google_apis_playstore
tag.ids google_apis_playstore
vm.heapSize 228
Description
Version used: 1.2.0-alpha03
Devices/Android versions reproduced on: UpsideDownCake
compileSdk: 33
compileSdkPreview: UpideDownCake
targetSdk: 33
For the said version, I get an exception when calling createCredential() method, however, the crdentials are saved and are shown in the list of saved creds when I try to call createCredential() again and signin sucessfully.
- Exception gotten after calling this - credentialManager.createCredential(
request = CreatePasswordRequest(username, password),
activity = activity,
)
---
androidx.credentials.exceptions.CreateCredentialUnknownException
at androidx.credentials.CredentialProviderFrameworkImpl.convertToJetpackCreateException$credentials_release(CredentialProviderFrameworkImpl.kt:230)
at androidx.credentials.CredentialProviderFrameworkImpl$onCreateCredential$outcome$1.onError(CredentialProviderFrameworkImpl.kt:133)
at androidx.credentials.CredentialProviderFrameworkImpl$onCreateCredential$outcome$1.onError(CredentialProviderFrameworkImpl.kt:119)
at android.credentials.CredentialManager$CreateCredentialTransport.lambda$onError$1(CredentialManager.java:528)
at android.credentials.CredentialManager$CreateCredentialTransport.$r8$lambda$2OCJvFiL3tsygrAxWwDvfCHaWas(Unknown Source:0)
at android.credentials.CredentialManager$CreateCredentialTransport$$ExternalSyntheticLambda0.run(Unknown Source:6)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)