Show 'on the lockscreen' setting in more contexts.

- For managed profile apps
- When 'auto' importance is on.

Bug: 28405255
Change-Id: Ia4c0bc6010f157cac18a828069bbcf54087fc663
This commit is contained in:
Julia Reynolds
2016-04-27 12:46:43 -04:00
parent 1e5d0e731e
commit 21fd269ea3
3 changed files with 11 additions and 2 deletions

View File

@@ -133,6 +133,7 @@ public class ImportanceSeekBarPreference extends SeekBarPreference implements
mSeekBar.setThumbTintList(sliderTint);
if (mAutoOn) {
setProgress(NotificationListenerService.Ranking.IMPORTANCE_DEFAULT);
mSummary = getProgressSummary(
NotificationListenerService.Ranking.IMPORTANCE_UNSPECIFIED);
}