void function ( final long arg0 ) { mLastStatusRefresh = new Date ( ) . getTime ( ) ; mLastKnownElapsed = arg0 * DateUtils . SECOND_IN_MILLIS ; mRemoteControlClient . setPlaybackState ( mPlaybackState , mLastKnownElapsed , 1.0f ) ; }
only update the refresh date and elapsed time if it is the first start to make sure we have initial data , but updatestatus and trackchanged will take care of that afterwards . concode_field_sep long mLastKnownElapsed concode_elem_sep long mLastStatusRefresh concode_elem_sep String TAG concode_elem_sep RemoteControlClient mRemoteControlClient concode_elem_sep int mPlaybackState concode_field_sep void setPlaybackState concode_elem_sep long onGetPlaybackPosition concode_elem_sep void stop concode_elem_sep void onPlaybackPositionUpdate concode_elem_sep void start concode_elem_sep void trackPositionChanged