Loading packages/SystemUI/src/com/android/systemui/volume/VolumeDialogImpl.java +4 −10 Original line number Diff line number Diff line Loading @@ -301,16 +301,9 @@ public class VolumeDialogImpl implements VolumeDialog { if (D.BUG) Slog.d(TAG, "Adding row for stream " + stream); VolumeRow row = new VolumeRow(); initRow(row, stream, iconRes, iconMuteRes, important, defaultStream); if (dynamic && mRows.size() > 2) { // Dynamic Streams should be the first in the list, so they're shown to start of // everything except a11y mDialogRowsView.addView(row.view, 1); mRows.add(1, row); } else { mDialogRowsView.addView(row.view); mRows.add(row); } } private void addExistingRows() { int N = mRows.size(); Loading Loading @@ -603,7 +596,8 @@ public class VolumeDialogImpl implements VolumeDialog { return activeRow.stream == STREAM_RING || activeRow.stream == STREAM_ALARM || activeRow.stream == STREAM_VOICE_CALL || activeRow.stream == STREAM_ACCESSIBILITY; || activeRow.stream == STREAM_ACCESSIBILITY || mDynamic.get(activeRow.stream); } return false; Loading Loading
packages/SystemUI/src/com/android/systemui/volume/VolumeDialogImpl.java +4 −10 Original line number Diff line number Diff line Loading @@ -301,16 +301,9 @@ public class VolumeDialogImpl implements VolumeDialog { if (D.BUG) Slog.d(TAG, "Adding row for stream " + stream); VolumeRow row = new VolumeRow(); initRow(row, stream, iconRes, iconMuteRes, important, defaultStream); if (dynamic && mRows.size() > 2) { // Dynamic Streams should be the first in the list, so they're shown to start of // everything except a11y mDialogRowsView.addView(row.view, 1); mRows.add(1, row); } else { mDialogRowsView.addView(row.view); mRows.add(row); } } private void addExistingRows() { int N = mRows.size(); Loading Loading @@ -603,7 +596,8 @@ public class VolumeDialogImpl implements VolumeDialog { return activeRow.stream == STREAM_RING || activeRow.stream == STREAM_ALARM || activeRow.stream == STREAM_VOICE_CALL || activeRow.stream == STREAM_ACCESSIBILITY; || activeRow.stream == STREAM_ACCESSIBILITY || mDynamic.get(activeRow.stream); } return false; Loading