Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Thanks for filing the issue.
This is a particularly hard device to come by - do you happen to have access to the device? If so could you provide us with the output of: adb shell dumpsys media.camera > info.txt
Thanks!
This is a particularly hard device to come by - do you happen to have access to the device? If so could you provide us with the output of: adb shell dumpsys media.camera > info.txt
Thanks!
Description
(manually copied from internal b/162303675 )
It seems room/runtime/src/main/java/androidx/room/RoomDatabase.java is using ConcurrentHashMap which has an issue on Android’s Lollipop release that can lead to lost updates under thread contention. This is further complicated by the fact that we face issues with drops to other repos that forbid its use.
We recommend moving away from it. A possible solution is to use a synchronized map (https://docs.oracle.com/javase/7/docs/api/java/util/Collections.html#synchronizedMap%28java.util.Map%29 ).