Update the deletion helper intent string.
Bug: 28675265 Change-Id: Ic56e1617d0cf66e347c3a9b31592de4737b19bb3
This commit is contained in:
@@ -21,6 +21,7 @@ import android.content.Context;
|
|||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.res.Resources;
|
import android.content.res.Resources;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
import android.os.storage.StorageManager;
|
||||||
import android.provider.Settings;
|
import android.provider.Settings;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
@@ -116,7 +117,7 @@ public class AutomaticStorageManagerSettings extends SettingsPreferenceFragment
|
|||||||
@Override
|
@Override
|
||||||
public boolean onPreferenceClick(Preference preference) {
|
public boolean onPreferenceClick(Preference preference) {
|
||||||
if (KEY_DELETION_HELPER.equals(preference.getKey())) {
|
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);
|
getContext().startActivity(intent);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@@ -445,7 +445,7 @@ public class PrivateVolumeSettings extends SettingsPreferenceFragment {
|
|||||||
return true;
|
return true;
|
||||||
case R.id.storage_free:
|
case R.id.storage_free:
|
||||||
final Intent deletion_helper_intent =
|
final Intent deletion_helper_intent =
|
||||||
new Intent(Settings.ACTION_DELETION_HELPER_SETTINGS);
|
new Intent(StorageManager.ACTION_MANAGE_STORAGE);
|
||||||
startActivity(deletion_helper_intent);
|
startActivity(deletion_helper_intent);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user