How do you add an annotation to an XML document LINT recognizes? On Tuesday, July 10, 2012 9:46:13 AM UTC+8, Nikolay Elenkov wrote: > > On Tue, Jul 10, 2012 at 10:40 AM, Zsolt Vasvari <zvasv...@gmail.com> > wrote: > > Marks latest post ( > > > http://commonsware.com/blog/2012/07/09/dont-advertise-intent-filters-that-are-not-yours.html > > > ) made me think of this question. > > > > Google added a bunch of LINT warnings for not having required > permissions > > for items (activites/services/etc) exported by your app. > > > > What's the intention here? What kind of permission can I request for an > > Appwidget receiver for example? I hate having unresolved LINT warning, > > especially when there is no way of fixing them that I can see. > > > > Then intention is to catch things that are exported by default and make > you > think about if that's what you really wanted (content providers are public > by default, etc.). If you really want them exported, you can add an > annotation, > etc. to mark them as such. >
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en