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

Commit 982aed50 authored by Aditya's avatar Aditya
Browse files

Change namespace from mediaprovider to documentsui.

Now that namespace for documentsui is available, we will be using this
namespace for accessing documentsui feature flag.

Bug: 309754871
Test: N/A
Change-Id: Ied5f02ff9e145143dcb1f30fc82810a27024bec5
parent 0b1cd807
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ import com.google.common.base.Supplier;
public interface ConfigStore {
    // TODO(b/288066342): Remove and replace after new constant definition in
    //  {@link android.provider.DeviceConfig}.
    String NAMESPACE_MEDIAPROVIDER = "mediaprovider";
    String NAMESPACE_DOCUMENTSUI = "documentsui";

    boolean DEFAULT_PICKER_PRIVATE_SPACE_ENABLED = false;

@@ -57,7 +57,7 @@ public interface ConfigStore {
        public boolean isPrivateSpaceInDocsUIEnabled() {
            if (mIsPrivateSpaceEnabled == null) {
                mIsPrivateSpaceEnabled = getBooleanDeviceConfig(
                        NAMESPACE_MEDIAPROVIDER,
                        NAMESPACE_DOCUMENTSUI,
                        KEY_PRIVATE_SPACE_FEATURE_ENABLED,
                        DEFAULT_PICKER_PRIVATE_SPACE_ENABLED);
            }