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

Commit 32e60b0a authored by Nate Myren's avatar Nate Myren Committed by Android (Google) Code Review
Browse files

Merge "Allow public notifications to expand with a swipe" into main

parents 5e065feb 205aa4f6
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -264,6 +264,16 @@ flag {
  }
}

flag {
  name: "expanding_public_view"
  namespace: "systemui"
  description: "enables user expanding the public view of a notification"
  bug: "398853084"
    metadata {
    purpose: PURPOSE_BUGFIX
  }
}

flag {
  name: "api_rich_ongoing"
  is_exported: true
+3 −0
Original line number Diff line number Diff line
@@ -3054,6 +3054,9 @@ public class ExpandableNotificationRow extends ActivatableNotificationView

        mUserLocked = userLocked;
        mPrivateLayout.setUserExpanding(userLocked);
        if (android.app.Flags.expandingPublicView()) {
            mPublicLayout.setUserExpanding(userLocked);
        }
        // This is intentionally not guarded with mIsSummaryWithChildren since we might have had
        // children but not anymore.
        if (mChildrenContainer != null) {