From bf8f89687984c891901a0b52180f6c8fe695d13d Mon Sep 17 00:00:00 2001 From: Daniel Nishi Date: Tue, 21 Jun 2016 16:06:12 -0700 Subject: [PATCH] Update the deletion helper intent string. Bug: 28675265 Change-Id: Ic56e1617d0cf66e347c3a9b31592de4737b19bb3 --- .../deletionhelper/AutomaticStorageManagerSettings.java | 3 ++- src/com/android/settings/deviceinfo/PrivateVolumeSettings.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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; }