Merge "Register callback outside of constructor" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-20 16:41:18 +00:00
committed by Android (Google) Code Review

View File

@@ -123,7 +123,6 @@ public class NotificationViewHierarchyManager implements DynamicPrivacyControlle
res.getBoolean(R.bool.config_alwaysExpandNonGroupedNotifications);
mBubbleController = bubbleController;
mDynamicPrivacyController = privacyController;
privacyController.addListener(this);
mDynamicChildBindController = dynamicChildBindController;
}
@@ -131,6 +130,7 @@ public class NotificationViewHierarchyManager implements DynamicPrivacyControlle
NotificationListContainer listContainer) {
mPresenter = presenter;
mListContainer = listContainer;
mDynamicPrivacyController.addListener(this);
}
/**