summaryrefslogtreecommitdiff
path: root/native/android/trace.cpp
diff options
context:
space:
mode:
author Lucas Silva <lusilva@google.com> 2025-03-05 11:01:51 -0500
committer Lucas Silva <lusilva@google.com> 2025-03-06 20:25:52 -0500
commit0656b5105148341f3286d00b3aa9b5a605ea74be (patch)
treeb2a3fff6f060d030bde12db280fa394d8e3cbf0a /native/android/trace.cpp
parent170009ab50c160791190f375d17d785e721f4005 (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
Diffstat (limited to 'native/android/trace.cpp')
0 files changed, 0 insertions, 0 deletions