Merge "Hide app info button from app notification settings header" into oc-dr1-dev

am: 9b4bb95e82

Change-Id: Ie9d8419b88c3bb97eca24e6037c8e46ab8fc8489
This commit is contained in:
Fan Zhang
2017-06-17 00:50:49 +00:00
committed by android-build-merger
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);