diff options
author | 2025-03-06 15:20:35 -0700 | |
---|---|---|
committer | 2025-03-06 15:20:35 -0700 | |
commit | 473ebe724f2c4981b86f72907c7ba072647a0e4b (patch) | |
tree | d0a24da49560278a2667745565bdb8a2054629d2 /libs/graphicsenv/GraphicsEnv.cpp | |
parent | 1bd65bd06b4951309508a8029a8b3acbfd5d7188 (diff) |
Move flag feature_overrides to namespace "gpu"
Move the aconfig feature flag "feature_overrides" from the
"core_graphics" namespace to "gpu".
Note: This necessitates a new flag name as well:
go/aconfig-namespace#aconfig-namespaces-2
> Once a flag's declaration is merged, its namespace cannot be changed.
> If you've assigned the incorrect namespace, rename the flag and assign
> the correct namespace in the same change.
Due to this, the name is being changed to "angle_feature_overrides".
Old:
com.android.graphics.graphicsenv.flags.feature_overrides
New:
com.android.graphics.graphicsenv.flags.angle_feature_overrides
Bug: 372694741
Test: aflags list | grep angle_feature_overrides
Test: aflags enable com.android.graphics.graphicsenv.flags.angle_feature_overrides
Flag: com.android.graphics.graphicsenv.flags.angle_feature_overrides
Change-Id: Idc859b76b846901e1e763c4a994c98d050b2b4b9
Diffstat (limited to 'libs/graphicsenv/GraphicsEnv.cpp')
-rw-r--r-- | libs/graphicsenv/GraphicsEnv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/graphicsenv/GraphicsEnv.cpp b/libs/graphicsenv/GraphicsEnv.cpp index 626581cc2a..03e6456ea6 100644 --- a/libs/graphicsenv/GraphicsEnv.cpp +++ b/libs/graphicsenv/GraphicsEnv.cpp @@ -639,7 +639,7 @@ const std::vector<std::string>& GraphicsEnv::getAngleEglFeatures() { // List of ANGLE features to override (enabled or disable). // The list of overrides is loaded and parsed by GpuService. void GraphicsEnv::updateAngleFeatureOverrides() { - if (!graphicsenv_flags::feature_overrides()) { + if (!graphicsenv_flags::angle_feature_overrides()) { return; } @@ -654,7 +654,7 @@ void GraphicsEnv::updateAngleFeatureOverrides() { void GraphicsEnv::getAngleFeatureOverrides(std::vector<const char*>& enabled, std::vector<const char*>& disabled) { - if (!graphicsenv_flags::feature_overrides()) { + if (!graphicsenv_flags::angle_feature_overrides()) { return; } |