diff options
| author | 2018-02-13 09:54:04 -0500 | |
|---|---|---|
| committer | 2018-02-15 09:59:58 -0500 | |
| commit | f5c04871a25c0b28074ccf6292067c1684c04aa4 (patch) | |
| tree | 8bdad155a6a5506263b6d7ac19dc678d03112c28 | |
| parent | ee3a2ba97204f7d23c733504991d930aefd9fe7b (diff) | |
Link to app info from inline settings
Test: runtest systemui
Change-Id: I2d221e644becb01b6c0e4a700cd8192495142222
Fixes: 72764587
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/NotificationGutsManager.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGutsManager.java b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGutsManager.java index 1aaa3b2593d2..f730601ac919 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGutsManager.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGutsManager.java @@ -24,6 +24,7 @@ import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.content.res.Resources; +import android.net.Uri; import android.os.RemoteException; import android.os.ServiceManager; import android.os.UserHandle; @@ -131,12 +132,13 @@ public class NotificationGutsManager implements Dumpable { } /** - * Sends an intent to open the notification settings for a particular package and optional + * Sends an intent to open the app settings for a particular package and optional * channel. */ private void startAppNotificationSettingsActivity(String packageName, final int appUid, final NotificationChannel channel, ExpandableNotificationRow row) { - final Intent intent = new Intent(Settings.ACTION_APP_NOTIFICATION_SETTINGS); + final Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS); + intent.setData(Uri.fromParts("package", packageName, null)); intent.putExtra(Settings.EXTRA_APP_PACKAGE, packageName); intent.putExtra(Settings.EXTRA_APP_UID, appUid); if (channel != null) { |