guard against certain pager NPEs

Guard against cursor controller or cursor being null.
Touch events can trigger ViewPager to read the conversation
cursor count. This can happen after the pager controller is
torn down, although I'm not really sure when this happens in
reality.

Bug: 6565804
Change-Id: I9062417ab675e13bc8100782cec14a86493d6e71
1 file changed