use correct LongSparseArray for minimum api level

New pull request without the translation lint fixes (as requested in #447).