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

Commit af657c9f authored by Mark Renouf's avatar Mark Renouf Committed by Android (Google) Code Review
Browse files

Merge "Replace USE_DELEGATE_CHOOSER with USE_UNBUNDLED_SHARESHEET" into tm-dev

parents 85991042 cb9d8762
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -514,9 +514,10 @@ public final class SystemUiDeviceConfigFlags {
            "is_nearby_share_first_target_in_ranked_app";
            "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
     * (string) Name of the default QR code scanner activity. On the eligible devices this activity
+1 −1
Original line number Original line Diff line number Diff line
@@ -81,7 +81,7 @@ public final class IntentResolverInterceptor {
    private void updateUseDelegateChooser() {
    private void updateUseDelegateChooser() {
        mUseDelegateChooser = DeviceConfig.getBoolean(
        mUseDelegateChooser = DeviceConfig.getBoolean(
                DeviceConfig.NAMESPACE_SYSTEMUI,
                DeviceConfig.NAMESPACE_SYSTEMUI,
                SystemUiDeviceConfigFlags.USE_DELEGATE_CHOOSER,
                SystemUiDeviceConfigFlags.USE_UNBUNDLED_SHARESHEET,
                false);
                false);
    }
    }