Add an Activity to handle Intents to invoke the Deletion Helper.
This will allow apps to launch the deletion helper when they need to have space freed up. To launch the activity using an intent, you can set it as follows: Intent intent = new Intent(Settings.ACTION_DELETION_HELPER_SETTINGS); startActivity(intent); This intent should bring up the Deletion Helper. Bug: 28675265 Change-Id: I781615ccad4ca1fcae97817ecb823e5dcad67b5b
This commit is contained in:
@@ -73,6 +73,7 @@ import com.android.settings.bluetooth.BluetoothSettings;
|
||||
import com.android.settings.dashboard.DashboardContainerFragment;
|
||||
import com.android.settings.dashboard.SearchResultsSummary;
|
||||
import com.android.settings.datausage.DataUsageSummary;
|
||||
import com.android.settings.deletionhelper.DeletionHelperFragment;
|
||||
import com.android.settings.deviceinfo.PrivateVolumeForget;
|
||||
import com.android.settings.deviceinfo.PrivateVolumeSettings;
|
||||
import com.android.settings.deviceinfo.PublicVolumeSettings;
|
||||
@@ -332,6 +333,7 @@ public class SettingsActivity extends SettingsDrawerActivity
|
||||
WallpaperTypeSettings.class.getName(),
|
||||
VrListenerSettings.class.getName(),
|
||||
ManagedProfileSettings.class.getName(),
|
||||
DeletionHelperFragment.class.getName(),
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user