Recently I've seen appeared a lint error in my code:
Should pass resolved color instead of resource id here: getResources().getColor(R.color.maps_list_background_color)
MyClass.java /myapp/android/maps line 107 Android Lint Problem
I know how to resolve it the answer is in the error, the thing is I don't get why they have added this error in the linter.