summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Nishi <dhnishi@google.com>2017-06-21 21:26:32 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-06-21 21:26:32 +0000
commitb28be1da5ae45370f9b6e3282f7e12bdc3ba3133 (patch)
treec8b8532beafba18b69626e6a8441f3563a2824e7 /src
parentb83fbaee5dc23687c974d80a88efb8685c7946ea (diff)
parentba04dbb340fd2263997903ed3430fbb5c21e69bc (diff)
downloadStorageManager-b28be1da5ae45370f9b6e3282f7e12bdc3ba3133.tar.gz
Merge "Storage manager notification -> Storage Settings." into oc-dr1-dev
Diffstat (limited to 'src')
-rw-r--r--src/com/android/storagemanager/automatic/NotificationController.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/com/android/storagemanager/automatic/NotificationController.java b/src/com/android/storagemanager/automatic/NotificationController.java
index 99c5b32..58c99d8 100644
--- a/src/com/android/storagemanager/automatic/NotificationController.java
+++ b/src/com/android/storagemanager/automatic/NotificationController.java
@@ -69,11 +69,9 @@ public class NotificationController extends BroadcastReceiver {
private static final String INTENT_ACTION_DEBUG_NOTIFICATION =
"com.android.storagemanager.automatic.DEBUG_SHOW_NOTIFICATION";
- /**
- * Intent action for if the user taps on the notification.
- */
- private static final String INTENT_ACTION_TAP =
- "com.android.storagemanager.automatic.SHOW_SETTINGS";
+ /** Intent action for if the user taps on the notification. */
+ @VisibleForTesting
+ static final String INTENT_ACTION_TAP = "com.android.storagemanager.automatic.SHOW_SETTINGS";
/**
* Intent extra for the notification id.
@@ -122,7 +120,7 @@ public class NotificationController extends BroadcastReceiver {
showNotification(context);
return;
case INTENT_ACTION_TAP:
- Intent storageIntent = new Intent(Settings.ACTION_STORAGE_MANAGER_SETTINGS);
+ Intent storageIntent = new Intent(Settings.ACTION_INTERNAL_STORAGE_SETTINGS);
storageIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(storageIntent);
break;