Adapted to support Android 4.1 (2/2)