onMove in CachedCursor shouldn't call the underlying cursor's method

Bug: 5472277
Change-Id: Ida5a840d2d27941bb8b548a4d2d985b1082e93b6
This commit is contained in:
Marc Blank 2011-10-19 12:33:52 -07:00
parent 3285fb3cfd
commit a91f33b44b

View File

@ -396,7 +396,7 @@ public final class ContentCache {
@Override
public boolean onMove(int oldPosition, int newPosition) {
return ((CrossProcessCursor)mCursor).onMove(oldPosition, newPosition);
return true;
}
}