Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad994eed authored by Jeff DeCew's avatar Jeff DeCew
Browse files

New Pipeline: Disable legacy dynamic privacy listener

Bug: 204657953
Test: manual
Change-Id: I86db5b9a8d9426eddf85de775cfdb5dd292b8713
parent 011c96c6
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -146,8 +146,10 @@ public class NotificationViewHierarchyManager implements DynamicPrivacyControlle
            NotificationListContainer listContainer) {
        mPresenter = presenter;
        mListContainer = listContainer;
        if (!mFeatureFlags.isNewNotifPipelineRenderingEnabled()) {
            mDynamicPrivacyController.addListener(this);
        }
    }

    /**
     * Updates the visual representation of the notifications.
@@ -522,9 +524,7 @@ public class NotificationViewHierarchyManager implements DynamicPrivacyControlle

    @Override
    public void onDynamicPrivacyChanged() {
        if (!mFeatureFlags.checkLegacyPipelineEnabled()) {
            return;
        }
        mFeatureFlags.assertLegacyPipelineEnabled();
        if (mPerformingUpdate) {
            Log.w(TAG, "onDynamicPrivacyChanged made a re-entrant call");
        }