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

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

[AOD RONs] Fix header centering logic

When updateHeader is called on a "expanded" notification, the titleView was null (because the title is not in the header). This tricked the singleLine logic into triggering even though there was a title on the second line.

This only triggered if there was no text in the notification.

This CL also clarified the naming of various params in order to add clarity about this oddness that the title can be in multiple different places.

Fix: 421938041
Test: checked redacted and unredacted, both with and without text
FLag: android.app.ui_rich_ongoing
Change-Id: I905c2c70e1a43b9a6f4db32bb3b8568240b05535
parent 65a298f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment