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

Skip to content
Commit a4f4ada8 authored by William Xiao's avatar William Xiao
Browse files

Make usages of communal hub trunk flag also read config flag

The communal hub trunk stable flag is used to control the rollout of
the feature and is enabled across products. The config flag is used
to restrict the hub to tangorpro only. This CL adds a helper method
that ANDs the two flags together and can be used to disable things that
should not run at all if the hub isn't available. This prevents
unnecessary hub logic from running outside of tangor devices.

Bug: 351058701
Fix: 351058701
Test: atest ShadeTouchHandlerTest CommunalDreamStartableTest CommunalSettingsRepositoryImplTest LegacyActivityStarterInternalImplTest FromDreamingTransitionInteractorTest FromLockscreenTransitionInteractorTest KeyguardTransitionScenariosTest CommunalOngoingContentStartableTest
Flag: com.android.systemui.communal_hub
Change-Id: Ic203bde961fb97ecfc8df01e54906a8d0cf32d79
parent 19a9a180
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