question: private boolean addHisoricalRecord ( HistoricalRecord historicalRecord ) { synchronized ( mInstanceLock ) { final boolean added = mHistoricalRecords . add ( historicalRecord ) ; if ( added ) { mHistoricalRecordsChanged = true ; pruneExcessiveHistoricalRecordsLocked ( ) ; persistHistoricalData ( ) ; sortActivities ( ) ; } return added ; } }
target:  Adds a historical record.