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
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user