@ SuppressWarnings ( { "unused" , "SameParameterValue" } ) public static TimePickerDialog newInstance ( OnTimeSetListener callback , boolean is24HourMode ) { Calendar now = Calendar . getInstance ( ) ; return TimePickerDialog . newInstance ( callback , now . get ( Calendar . HOUR_OF_DAY ) , now . get ( Calendar . MINUTE ) , is24HourMode ) ; }
Create a new TimePickerDialog instance initialized to the current system time