Fixed
Status Update
Comments
se...@google.com <se...@google.com> #2
Any update on this? The issue makes really hard to use AVD even completely unusable sometimes.
I enabled the "show taps" feature on developer options. I can see that touching is stuck sometimes. Multiple finger touch solves it by resetting but not always.
I enabled the "show taps" feature on developer options. I can see that touching is stuck sometimes. Multiple finger touch solves it by resetting but not always.
or...@gmail.com <or...@gmail.com> #3
Hi mustafiran@, thanks for reporting this issue. This bug has been fixed by this
or...@gmail.com <or...@gmail.com> #4
The fix will be available in 31.3.10 beta release for emulator.
se...@google.com <se...@google.com> #5
Hi,
I can't see 31.3.10 version here
https://developer.android.com/studio/emulator_archive
How will it take to get the stable version release?
Regards
<buganizer-system@google.com> adresine sahip kullanıcı 8 Tem 2022 Cum,
20:23 tarihinde şunu yazdı:
I can't see 31.3.10 version here
How will it take to get the stable version release?
Regards
<buganizer-system@google.com> adresine sahip kullanıcı 8 Tem 2022 Cum,
20:23 tarihinde şunu yazdı:
or...@gmail.com <or...@gmail.com> #6
RE#5 I believe the 31.3.10 was released yesterday on canary channel in Android Studio.
il...@google.com <il...@google.com> #7
We've fixed this internally in https://android-review.googlesource.com/863029 to ensure that mocked ViewModels work as before and this will be available in the next version of ViewModel (and Fragment, etc. that relies on it).
Description
Version used:1.1.0-alpha03
Devices/Android versions reproduced on:
as per
After updating to androidx.fragment:fragment-testing v1.0-alpha03 we're now getting following crash at end of test.
```
java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.Collection java.util.concurrent.ConcurrentHashMap.values()' on a null object reference
at androidx.lifecycle.ViewModel.clear(ViewModel.java:125)
at androidx.lifecycle.ViewModelStore.clear(ViewModelStore.java:62)
```
Importantly this is test where we're mocking instance of ViewModel being used and issues seems to be related to associated changes to lifecycle-viewmodel v2.1.0-alpha01 which we now have a transitive dependency to. Specifically crash is occurring in following method because mBagOfTags is null
```
final void clear() {
mCleared = true;
for (Object value: mBagOfTags.values()) {
// see comment for the similar call in setTagIfAbsent
closeWithRuntimeException(value);
}
onCleared();
}
```
repo steps:
clone
checkout `fragment_test_issue ` branch
run `RouteListFragmentTest`