Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/firebase/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
firebase ui电话验证活动泄漏_Firebase_Firebase Authentication_Firebaseui_Leakcanary - Fatal编程技术网

firebase ui电话验证活动泄漏

firebase ui电话验证活动泄漏,firebase,firebase-authentication,firebaseui,leakcanary,Firebase,Firebase Authentication,Firebaseui,Leakcanary,在通过firebase ui启动电话身份验证后,我从leakcanary获得下一个泄漏报告。我不认为我做错了什么 我还从ConstraintLayout和SubmitConfirmation中得到泄漏 代码片段 LibraryLeak(className=com.firebase.ui.auth.ui.phone.PhoneActivity, leakTrace= ┬ ├─ android.view.ViewGroup$ViewLocationHolder │ Leaking: NO (a

在通过firebase ui启动电话身份验证后,我从leakcanary获得下一个泄漏报告。我不认为我做错了什么

我还从ConstraintLayout和SubmitConfirmation中得到泄漏 代码片段

LibraryLeak(className=com.firebase.ui.auth.ui.phone.PhoneActivity, leakTrace=
┬
├─ android.view.ViewGroup$ViewLocationHolder
│    Leaking: NO (a class is never leaking)
│    GC Root: System class
│    ↓ static ViewGroup$ViewLocationHolder.sPool
│                                          ~~~~~
├─ android.util.Pools$SynchronizedPool
│    Leaking: UNKNOWN
│    ↓ Pools$SynchronizedPool.mPool
│                             ~~~~~
├─ java.lang.Object[]
│    Leaking: UNKNOWN
│    ↓ array Object[].[0]
│                     ~~~
├─ android.view.ViewGroup$ViewLocationHolder
│    Leaking: UNKNOWN
│    ↓ ViewGroup$ViewLocationHolder.mRoot
│                                   ~~~~~
├─ androidx.constraintlayout.widget.ConstraintLayout
│    Leaking: YES (View.mContext references a destroyed activity)
│    mContext instance of com.firebase.ui.auth.ui.phone.PhoneActivity with mDestroyed = true
│    View#mParent is set
│    View#mAttachInfo is null (view detached)
│    View.mWindowAttachCount = 1
│    ↓ ConstraintLayout.mContext
╰→ com.firebase.ui.auth.ui.phone.PhoneActivity
​     Leaking: YES (ConstraintLayout↑ is leaking and Activity#mDestroyed is true and ObjectWatcher was watching this)
​     key = 5a91cbea-396c-44e5-9516-f9a5442198f8
​     watchDurationMillis = 5770
​     retainedDurationMillis = 768
, retainedHeapByteSize=645359, pattern=instance field android.view.ViewGroup$ViewLocationHolder#mRoot, description=In Android P, ViewLocationHolder has an mRoot field that is not cleared in its clear() method. Introduced in https://github.com/aosp-mirror/platform_frameworks_base/commit/86b326012813f09d8f1de7d6d26c986a909d Bug report: https://issuetracker.google.com/issues/112792715)```

这是一个LibraryLeak,这意味着它是库或Android框架代码中已知的漏洞。在底部,您可以看到模式:

模式:实例字段android.view.ViewGroup$ViewLocationHolder#mRoot

描述:在Android p中,ViewLocationHolder有一个mRoot字段 未在其clear()方法中清除。引进 错误报告: