Adding "Delete all App Clones" option on Cloned Apps page.
This option is seen by clicking the '3-dot' menu on Settings->Cloned Apps page and requires: 1. Flag 'remove_all_cloned_apps' to be turned on. 2. Cloned UserId to be present in system. Test: Manually setting the flag, creating clones. Change-Id: I83ff40923f7932ed6b23cb831bdcd2cb9252d295
This commit is contained in:
@@ -169,6 +169,13 @@ public final class Utils extends com.android.settingslib.Utils {
|
||||
*/
|
||||
public static final String PROPERTY_CLONED_APPS_ENABLED = "cloned_apps_enabled";
|
||||
|
||||
/**
|
||||
* Whether or not Delete All App Clones sub-menu is available in the Cloned Apps page.
|
||||
* Default is false.
|
||||
*/
|
||||
public static final String PROPERTY_DELETE_ALL_APP_CLONES_ENABLED =
|
||||
"delete_all_app_clones_enabled";
|
||||
|
||||
/**
|
||||
* Finds a matching activity for a preference's intent. If a matching
|
||||
* activity is not found, it will remove the preference.
|
||||
|
||||
Reference in New Issue
Block a user