Merge "Hide app info button from app notification settings header"

This commit is contained in:
TreeHugger Robot
2017-06-16 22:26:08 +00:00
committed by Android (Google) Code Review
2 changed files with 64 additions and 1 deletions

View File

@@ -137,7 +137,7 @@ public class AppNotificationSettings extends NotificationSettingsBase {
.setLabel(mAppRow.label)
.setPackageName(mAppRow.pkg)
.setUid(mAppRow.uid)
.setButtonActions(EntityHeaderController.ActionType.ACTION_APP_INFO,
.setButtonActions(EntityHeaderController.ActionType.ACTION_NONE,
EntityHeaderController.ActionType.ACTION_NOTIF_PREFERENCE)
.done(activity, getPrefContext());
pref.setKey(KEY_HEADER);