Make sure the fragment manager is passed to BubblePreferenceController
This wasn't being set always / at least for the app specific page. This CL ensures it is & makes it so that there is only 1 constructor. Fixes: 132864244 Test: make -j40 RunSettingsRoboTests ROBOTEST_FILTER=Bubble Change-Id: I9c422e75583b3091d1571cfb8cc43ec49b801599
This commit is contained in:
@@ -114,7 +114,8 @@ public class ChannelNotificationSettings extends NotificationSettingsBase {
|
||||
mControllers.add(new BadgePreferenceController(context, mBackend));
|
||||
mControllers.add(new DndPreferenceController(context, mBackend));
|
||||
mControllers.add(new NotificationsOffPreferenceController(context));
|
||||
mControllers.add(new BubblePreferenceController(context, mBackend));
|
||||
mControllers.add(new BubblePreferenceController(context, getChildFragmentManager(),
|
||||
mBackend));
|
||||
return new ArrayList<>(mControllers);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user