Fixed
Status Update
Comments
di...@google.com <di...@google.com> #3
After update to Fragments 1.2.0-alpha01, it seems the same exception still happens (Also tried update appcompat:1.1.0-rc01)
The latest example project was attached
The latest example project was attached
na...@google.com <na...@google.com> #4
Sorry, <ma...@cyberagent.co.jp> is also my mail.
Description
Component used: Jetpack WindowManager
Version used: 1.2.0/latest git
Devices/Android versions reproduced on: Any devices/versions
When using
WindowMetricsCalculator.getOrCreate().computeCurrentWindowMetrics(context)
, the following crash happens.This is because in this line , the origin
context
instead of the unwrapped context (unwrapUiContext(context)
) is casted toActivity
.