[TestPrep4] Add some finals
Change-Id: Ib437a6ad7fd6a897e2bbc65afe881ae8a3b1cbb0
This commit is contained in:
parent
19e05359e6
commit
22acdb540c
1 changed files with 3 additions and 3 deletions
|
@ -222,10 +222,10 @@ public abstract class MainLogBuffer extends FixedLogBuffer {
|
|||
final boolean canIncludePrivateData);
|
||||
|
||||
@Override
|
||||
protected void shiftOutWords(int numWords) {
|
||||
int oldNumActualWords = getNumActualWords();
|
||||
protected void shiftOutWords(final int numWords) {
|
||||
final int oldNumActualWords = getNumActualWords();
|
||||
super.shiftOutWords(numWords);
|
||||
int numWordsShifted = oldNumActualWords - getNumActualWords();
|
||||
final int numWordsShifted = oldNumActualWords - getNumActualWords();
|
||||
mNumWordsUntilSafeToSample -= numWordsShifted;
|
||||
if (DEBUG) {
|
||||
Log.d(TAG, "wordsUntilSafeToSample now at " + mNumWordsUntilSafeToSample);
|
||||
|
|
Loading…
Reference in a new issue