diff --git a/src/com/android/settings/deletionhelper/AutomaticStorageManagerSettings.java b/src/com/android/settings/deletionhelper/AutomaticStorageManagerSettings.java index 4946016603f..318dea6f88e 100644 --- a/src/com/android/settings/deletionhelper/AutomaticStorageManagerSettings.java +++ b/src/com/android/settings/deletionhelper/AutomaticStorageManagerSettings.java @@ -21,6 +21,7 @@ import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.os.Bundle; +import android.os.storage.StorageManager; import android.provider.Settings; import android.util.Log; import android.view.View; @@ -116,7 +117,7 @@ public class AutomaticStorageManagerSettings extends SettingsPreferenceFragment @Override public boolean onPreferenceClick(Preference preference) { if (KEY_DELETION_HELPER.equals(preference.getKey())) { - Intent intent = new Intent(Settings.ACTION_DELETION_HELPER_SETTINGS); + Intent intent = new Intent(StorageManager.ACTION_MANAGE_STORAGE); getContext().startActivity(intent); } return true; diff --git a/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java b/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java index 06986668d24..2a84a93c01b 100644 --- a/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java +++ b/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java @@ -445,7 +445,7 @@ public class PrivateVolumeSettings extends SettingsPreferenceFragment { return true; case R.id.storage_free: final Intent deletion_helper_intent = - new Intent(Settings.ACTION_DELETION_HELPER_SETTINGS); + new Intent(StorageManager.ACTION_MANAGE_STORAGE); startActivity(deletion_helper_intent); return true; }