Loading packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java +1 −0 Original line number Diff line number Diff line Loading @@ -197,6 +197,7 @@ public class KeyguardSliceView extends LinearLayout implements View.OnClickListe final SliceItem titleItem = rc.getTitleItem(); button.setText(titleItem == null ? null : titleItem.getText()); button.setContentDescription(rc.getContentDescription()); Drawable iconDrawable = null; SliceItem icon = SliceQuery.find(item.getSlice(), Loading packages/SystemUI/src/com/android/systemui/keyguard/KeyguardSliceProvider.java +2 −0 Original line number Diff line number Diff line Loading @@ -151,6 +151,8 @@ public class KeyguardSliceProvider extends SliceProvider implements return; } RowBuilder dndBuilder = new RowBuilder(builder, mDndUri) .setContentDescription(getContext().getResources() .getString(R.string.accessibility_quick_settings_dnd)) .addEndItem(Icon.createWithResource(getContext(), R.drawable.stat_sys_dnd)); builder.addRow(dndBuilder); } Loading Loading
packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java +1 −0 Original line number Diff line number Diff line Loading @@ -197,6 +197,7 @@ public class KeyguardSliceView extends LinearLayout implements View.OnClickListe final SliceItem titleItem = rc.getTitleItem(); button.setText(titleItem == null ? null : titleItem.getText()); button.setContentDescription(rc.getContentDescription()); Drawable iconDrawable = null; SliceItem icon = SliceQuery.find(item.getSlice(), Loading
packages/SystemUI/src/com/android/systemui/keyguard/KeyguardSliceProvider.java +2 −0 Original line number Diff line number Diff line Loading @@ -151,6 +151,8 @@ public class KeyguardSliceProvider extends SliceProvider implements return; } RowBuilder dndBuilder = new RowBuilder(builder, mDndUri) .setContentDescription(getContext().getResources() .getString(R.string.accessibility_quick_settings_dnd)) .addEndItem(Icon.createWithResource(getContext(), R.drawable.stat_sys_dnd)); builder.addRow(dndBuilder); } Loading