Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Swap names for clock delegates so they are correct
Browse files Browse the repository at this point in the history
Change-Id: Ic11affae802f0afe4746f65f0b96979a7c5a9c0a
  • Loading branch information
alanv committed Oct 23, 2014
1 parent b1df48e commit daf33ed
Show file tree
Hide file tree
Showing 3 changed files with 1,444 additions and 1,444 deletions.
4 changes: 2 additions & 2 deletions core/java/android/widget/TimePicker.java
Expand Up @@ -86,12 +86,12 @@ public TimePicker(Context context, AttributeSet attrs, int defStyleAttr, int def

switch (mode) {
case MODE_CLOCK:
mDelegate = new TimePickerSpinnerDelegate(
mDelegate = new TimePickerClockDelegate(
this, context, attrs, defStyleAttr, defStyleRes);
break;
case MODE_SPINNER:
default:
mDelegate = new TimePickerClockDelegate(
mDelegate = new TimePickerSpinnerDelegate(
this, context, attrs, defStyleAttr, defStyleRes);
break;
}
Expand Down

0 comments on commit daf33ed

Please sign in to comment.