Skip to content

Commit bca520a

Browse files
dsandlerAndroid (Google) Code Review
authored andcommitted
Merge "Use platform assets for brightness scrubber." into ics-mr1
2 parents 08b3ffe + e989b32 commit bca520a

File tree

10 files changed

+6
-3
lines changed

10 files changed

+6
-3
lines changed
Binary file not shown.
-1.6 KB
Binary file not shown.
-250 Bytes
Binary file not shown.
Binary file not shown.
-1.37 KB
Binary file not shown.
-157 Bytes
Binary file not shown.
Binary file not shown.
-6.64 KB
Binary file not shown.
-571 Bytes
Binary file not shown.

packages/SystemUI/src/com/android/systemui/statusbar/policy/ToggleSlider.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,13 @@ public void onCheckedChanged(CompoundButton toggle, boolean checked) {
8080
Drawable slider;
8181
final Resources res = getContext().getResources();
8282
if (checked) {
83-
thumb = res.getDrawable(R.drawable.scrubber_control_disabled_holo);
84-
slider = res.getDrawable(R.drawable.status_bar_settings_slider_disabled);
83+
thumb = res.getDrawable(
84+
com.android.internal.R.drawable.scrubber_control_disabled_holo);
85+
slider = res.getDrawable(
86+
R.drawable.status_bar_settings_slider_disabled);
8587
} else {
86-
thumb = res.getDrawable(R.drawable.scrubber_control_holo);
88+
thumb = res.getDrawable(
89+
com.android.internal.R.drawable.scrubber_control_selector_holo);
8790
slider = res.getDrawable(
8891
com.android.internal.R.drawable.scrubber_progress_horizontal_holo_dark);
8992
}

0 commit comments

Comments
 (0)