Do not hardcode "/sdcard/" to make lint happy
Add missing @Override annotations
Remove unnecessary qualifiers to this
Refactoring: simplify if statement
Refactoring: remove redundant variables
Refactoring: use contains() where appropriate
Refactoring: remove unnecessary unboxing
Do not create an intermediate empty array when copying