diff options
| author | 2023-10-16 16:53:33 +0000 | |
|---|---|---|
| committer | 2023-10-17 12:26:42 +0000 | |
| commit | 7d648959cd206c64a13722435d403775ce124fd8 (patch) | |
| tree | 1d5418d9af26440cd1a2928ff6c77959e66b7724 | |
| parent | 645ed0e34c570c80c20fa35243096a66e15bfce3 (diff) | |
Whoops - Typo from prior commit
Add the child view to the map, not the root view
Fixes: 301473935
Test: manual
Change-Id: I161410a5b4b3fc4a64a0dc0b841c90953e987493
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardRootViewBinder.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardRootViewBinder.kt b/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardRootViewBinder.kt index c72e6ce0b7d6..be4602d6a316 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardRootViewBinder.kt +++ b/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardRootViewBinder.kt @@ -189,7 +189,7 @@ object KeyguardRootViewBinder { view.setOnHierarchyChangeListener( object : OnHierarchyChangeListener { override fun onChildViewAdded(parent: View, child: View) { - childViews.put(child.id, view) + childViews.put(child.id, child) } override fun onChildViewRemoved(parent: View, child: View) { |