(Android) Decrease state_device_ids by size