adapted to new AndroidUtils update