Merge "Remove dynamic summaries for "On the lockscreen"" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-05-12 02:04:37 +00:00
committed by Android (Google) Code Review
3 changed files with 4 additions and 3 deletions

View File

@@ -36,7 +36,7 @@
<com.android.settings.notification.RestrictedDropDownPreference
android:key="lock_screen_notifications"
android:title="@string/lock_screen_notifications_title"
android:summary="%s"/>
android:summary="@string/summary_placeholder"/>
<SwitchPreference
android:key="gesture_swipe_down_fingerprint"
@@ -50,7 +50,7 @@
<com.android.settings.notification.RestrictedDropDownPreference
android:key="lock_screen_notifications_profile"
android:title="@string/lock_screen_notifications_title"
android:summary="%s"/>
android:summary="@string/summary_placeholder"/>
</PreferenceCategory>

View File

@@ -21,7 +21,7 @@
<com.android.settings.notification.RestrictedDropDownPreference
android:key="lock_screen_notifications"
android:title="@string/lock_screen_notifications_title"
android:summary="%s"/>
android:summary="@string/summary_placeholder"/>
<com.android.settingslib.RestrictedSwitchPreference
android:key="add_users_when_locked"

View File

@@ -281,6 +281,7 @@ public class LockScreenNotificationPreferenceController extends PreferenceContro
return;
}
mLockscreenSelectedValue = getSummaryResource();
mLockscreen.setSummary("%s");
mLockscreen.setValue(Integer.toString(mLockscreenSelectedValue));
}