> Another alternative would be to set up a pair of boolean resources > (bools.xml). One, is_jelly_bean, would be set to true in -v16 and > false in the default set. The other, is_not_jelly_bean, would be set > to false in -v16 and true in the default set. Then, have two <service> > elements in the manifest. One would have your > android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE" and > android:enabled="@bool/is_jelly_bean". The other <service> would not > have your android:permission attribute and would have > android:enabled="@bool/is_not_jelly_bean"
Great tip Mark, thanks. Expect it will be useful in the future too. Pent -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

