commit | 0656b5105148341f3286d00b3aa9b5a605ea74be | [log] [tgz] |
---|---|---|
author | Lucas Silva <lusilva@google.com> | Wed Mar 05 11:01:51 2025 -0500 |
committer | Lucas Silva <lusilva@google.com> | Thu Mar 06 20:25:52 2025 -0500 |
tree | b2a3fff6f060d030bde12db280fa394d8e3cbf0a | |
parent | 170009ab50c160791190f375d17d785e721f4005 [diff] |
Refactor communal hub enablement logic This introduces the idea of suppressor classes, to encapsulate logic for suppressing the hub. Each suppressor provides a reason for suppression, and each reason specifies which features it would like to suppress. This creates a single source of truth for whether the hub is enabled or not, and which features are enabled. We also introduce android auto suppression behind a flag. Bug: 396460215 Test: WIP Flag: com.android.systemui.glanceable_hub_v2 Change-Id: I2dc742b79f8344ed427ce75a9e312375c9cafacd