Merge "Register callback outside of constructor" into rvc-dev am: 78ef8fb265

Change-Id: I0a097116608634ef47cd540dbc0ac52dc32407e7
This commit is contained in:
TreeHugger Robot
2020-04-21 10:45:01 +00:00
committed by Automerger Merge Worker

View File

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