public List < ReleaseItem > getChangeLog ( boolean full ) { SparseArray < ReleaseItem > masterChangelog = getMasterChangeLog ( full ) ; SparseArray < ReleaseItem > changelog = getLocalizedChangeLog ( full ) ; List < ReleaseItem > mergedChangeLog = new ArrayList < ReleaseItem > ( masterChangelog . size ( ) ) ; for ( int i = 0 , len = masterChangelog . size ( ) ; i < len ; i ++ ) { int key = masterChangelog . keyAt ( i ) ; // Use release information from localized change log and fall back to the master file // if necessary. ReleaseItem release = changelog . get ( key , masterChangelog . get ( key ) ) ; mergedChangeLog . add ( release ) ; } Collections . sort ( mergedChangeLog , getChangeLogComparator ( ) ) ; return mergedChangeLog ; }
Returns the merged change log .