Messaging: We don't need to check for verbose logging everywhere
We can just do this in the actual method Change-Id: I80e89b0ab97926749851628b1bd34e8cd9dc82f2
This commit is contained in:
@@ -901,11 +901,9 @@ public class ConversationFragment extends Fragment implements ConversationDataLi
|
||||
// Are we coming from a widget click where we're told to scroll to a particular item?
|
||||
final int scrollToPos = getScrollToMessagePosition();
|
||||
if (scrollToPos >= 0) {
|
||||
if (LogUtil.isLoggable(LogUtil.BUGLE_TAG, LogUtil.VERBOSE)) {
|
||||
LogUtil.v(LogUtil.BUGLE_TAG, "onConversationMessagesCursorUpdated " +
|
||||
" scrollToPos: " + scrollToPos +
|
||||
" cursorCount: " + cursor.getCount());
|
||||
}
|
||||
LogUtil.v(LogUtil.BUGLE_TAG, "onConversationMessagesCursorUpdated " +
|
||||
" scrollToPos: " + scrollToPos +
|
||||
" cursorCount: " + cursor.getCount());
|
||||
scrollToPosition(scrollToPos, true /*smoothScroll*/);
|
||||
clearScrollToMessagePosition();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user