summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/notification
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2015-05-06 16:00:25 -0400
committerJason Monk <jmonk@google.com>2015-05-06 16:00:25 -0400
commit20f464eddec2ffa64a385a1e9f51b9b8766ecf50 (patch)
tree0e1f8e4c3667f7e081a33f528d64794d81d959d0 /src/com/android/settings/notification
parent0d2a8d204bb7d62834d51393a1d4a6ddaa7753f8 (diff)
downloadpackages_apps_Settings-20f464eddec2ffa64a385a1e9f51b9b8766ecf50.zip
packages_apps_Settings-20f464eddec2ffa64a385a1e9f51b9b8766ecf50.tar.gz
packages_apps_Settings-20f464eddec2ffa64a385a1e9f51b9b8766ecf50.tar.bz2
Fix app headers in settings
Use SettingsPreferenceFragment's method for pinned headers where possible, and add a frame within the fragment for them to live in otherwise so that this view doesn't end up on the activity. Bug: 20886475 Change-Id: I985eb1497744ea50bfabed862e5088eb89df5b61
Diffstat (limited to 'src/com/android/settings/notification')
-rw-r--r--src/com/android/settings/notification/AppNotificationSettings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/notification/AppNotificationSettings.java b/src/com/android/settings/notification/AppNotificationSettings.java
index 883975a..28245c8 100644
--- a/src/com/android/settings/notification/AppNotificationSettings.java
+++ b/src/com/android/settings/notification/AppNotificationSettings.java
@@ -84,7 +84,7 @@ public class AppNotificationSettings extends SettingsPreferenceFragment {
}
mCreated = true;
if (mAppRow == null) return;
- AppHeader.createAppHeader(getActivity(), mAppRow.icon, mAppRow.label,
+ AppHeader.createAppHeader(this, mAppRow.icon, mAppRow.label,
mAppRow.settingsIntent);
}