Merge "Ensure that view is initialized properlly upon inflation."

This commit is contained in:
TreeHugger Robot
2019-10-08 23:47:34 +00:00
committed by Android (Google) Code Review

View File

@@ -518,6 +518,7 @@ public class NotificationPanelView extends PanelView implements
* Call after this view has been fully inflated and had its children attached.
*/
public void onChildrenAttached() {
loadDimens();
mKeyguardStatusBar = findViewById(R.id.keyguard_header);
mKeyguardStatusView = findViewById(R.id.keyguard_status_view);