Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf8f8968 authored by Daniel Nishi's avatar Daniel Nishi
Browse files

Update the deletion helper intent string.

Bug: 28675265
Change-Id: Ic56e1617d0cf66e347c3a9b31592de4737b19bb3
parent aad643ca
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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;
        }