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

Commit 02ef708e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Onl apply flag when it has been changed"

parents 36956054 87776d66
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -136,8 +136,11 @@ public class AppsFilter {
            DeviceConfig.addOnPropertiesChangedListener(
                    NAMESPACE_PACKAGE_MANAGER_SERVICE, FgThread.getExecutor(),
                    properties -> {
                        if (properties.getKeyset().contains(FILTERING_ENABLED_NAME)) {
                            synchronized (FeatureConfigImpl.this) {
                            mFeatureEnabled = properties.getBoolean(FILTERING_ENABLED_NAME, false);
                                mFeatureEnabled = properties.getBoolean(FILTERING_ENABLED_NAME,
                                        false);
                            }
                        }
                    });
        }