uses-feature checks in lint

30 views
Skip to first unread message

Tom Billiet

unread,
Apr 7, 2014, 10:30:43 AM4/7/14
to adt...@googlegroups.com
I recently got bitten by the fact that I forgot to declare uses-feature lines in my android manifest for permissions that I use. The play store adds them automatically and puts required to true. My code was able to handle the fact that the feature was not there, but I just did not notice it until it got deployed in the playstore.

So hence my question:
Wouldn't it be a good idea to add a lint check for missing uses-feature lines if you need them for certain permissions?

Thanks,
Tom

Tor Norbye

unread,
Apr 11, 2014, 12:30:51 PM4/11/14
to adt...@googlegroups.com
That's a good idea. Would you mind filing a request on b.android.com along with some details, e.g. the specific permissions you used and the missing feature?

-- Tor


--
You received this message because you are subscribed to the Google Groups "adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adt-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tom Billiet

unread,
Apr 14, 2014, 9:56:46 AM4/14/14
to adt...@googlegroups.com
Sorry if I posted this request wrongly here.

Tom


--
You received this message because you are subscribed to a topic in the Google Groups "adt-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adt-dev/HRrHq_KomZk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adt-dev+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages