android - recycled twice! Runtime Exception in TypedArray -
android - recycled twice! Runtime Exception in TypedArray -
i'm receiving crash reports devices using android l preview, issue
caused by: java.lang.runtimeexception: [17, ...... ] recycled twice! @ android.content.res.typedarray.recycle(typedarray.java:869) can't see code because android l still not available, how can check if typedarray recycled?
i found phone call recycle called twice, anyway, why throw exception breaking potentially old working code (even if it's wrong phone call recycle twice).
due changes in typedarray pooling in l, calling typedarray.recycle() twice or calling getter on typedarray after recycle() not safe. has never been right app behavior , prior l may have introduced subtle errors.
android android-5.0-lollipop
Comments
Post a Comment