question: void updateTabState ( int newState ) { long now = System . currentTimeMillis ( ) ; recordTabStateTransition ( mLastTabState , newState , now - mLastTabStateChangeMillis ) ; mLastTabStateChangeMillis = now ; mLastTabState = newState ; }
target:  Updates saved TabState and its timestamp. Records the state transition into the histogram.