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

Commit 45d848b6 authored by Himanshu Arora's avatar Himanshu Arora
Browse files

Add feature flag for documents trash flow

Bug: 409265240
Flag: com.android.documentsui.flags.enable_trash_flow_ro
Test: m all_aconfig_declarations | grep enable_trash_flow_ro
Change-Id: If4e87b53a2b9500ef6d34c72bc4aed18cfb2f311
parent 618f7c68
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -56,3 +56,11 @@ flag {
    bug: "411269618"
    is_fixed_read_only: true
}

flag {
    name: "enable_trash_flow_ro"
    namespace: "documentsui"
    description: "Enables the documents trash flow"
    bug: "409265240"
    is_fixed_read_only: true
}
+5 −0
Original line number Diff line number Diff line
@@ -56,5 +56,10 @@ class FlagUtils {
        fun isUsePeekPreviewFlagEnabled(): Boolean {
            return Flags.usePeekPreviewRo() && isUseMaterial3FlagEnabled()
        }

        @JvmStatic
        fun isTrashFlowEnabled(): Boolean {
            return Flags.enableTrashFlowRo()
        }
    }
}