Search code examples
androidandroid-manifestgoogle-playuses-feature

Removing <uses-feature> doesn't remove it from for Google Play


I am developing an app for Android, and, after uploading it to Google Play, I realised that I was not depending on a <uses-feature> anymore, so I removed it. To be more specific, I was coding a Camera Activity, so I needed these features:

android.hardware.CAMERA
android.hardware.camera.AUTOFOCUS

However, after that, I decided to go for the Camera Intent. That's why I removed them.

My surprise comes when I see that the APK Information modal shows that it is still using those features, even if they aren't in my Manifest.

My question is, does that mean that I will "need" those features, even if I removed them? Maybe because they are depending on the Camera Intent?


Solution

  • I "figured it out". When you add a android:required="false" to the <uses-feature>, it becomes unnecessary and is removed from the APK information.