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

Commit cb9d8762 authored by Matt Casey's avatar Matt Casey Committed by Mark Renouf
Browse files

Replace USE_DELEGATE_CHOOSER with USE_UNBUNDLED_SHARESHEET

New flag will allow for control via experiment rollout.

Bug: 224544763
Test: Manual test of flag functionality.
Change-Id: I70bc79e12afe4ff629dbd3935c082c51c39a66a7
parent 44df60c3
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -514,9 +514,10 @@ public final class SystemUiDeviceConfigFlags {
            "is_nearby_share_first_target_in_ranked_app";

    /**
     * (boolean) Whether to enable the new unbundled "delegate chooser" implementation.
     * (boolean) Whether to enable the new unbundled sharesheet
     * (com.android.intentresolver.ChooserActivity).
     */
    public static final String USE_DELEGATE_CHOOSER = "use_delegate_chooser";
    public static final String USE_UNBUNDLED_SHARESHEET = "use_unbundled_sharesheet";

    /**
     * (string) Name of the default QR code scanner activity. On the eligible devices this activity
+1 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ public final class IntentResolverInterceptor {
    private void updateUseDelegateChooser() {
        mUseDelegateChooser = DeviceConfig.getBoolean(
                DeviceConfig.NAMESPACE_SYSTEMUI,
                SystemUiDeviceConfigFlags.USE_DELEGATE_CHOOSER,
                SystemUiDeviceConfigFlags.USE_UNBUNDLED_SHARESHEET,
                false);
    }