Does Android Content Provider authority definition break the DRY rule?
问题 Android's Content Provider must have: At least one authority must be specified. So for example in Google's samples android-BasicSyncAdapter AndroidManifest.xml there is <provider android:name=".provider.FeedProvider" android:authorities="com.example.android.basicsyncadapter" android:exported="false" /> Then to implement this CP one need to define the same String inside the CP like in android-BasicSyncAdapter FeedProvider.java CONTENT_AUTHORITY public static final String CONTENT_AUTHORITY =