I have an authorization string defined as such:
public final static String AUTHORITY = "dsndata.sds2mobile.jobprovider";
According to the editors of UriMatcher:
uriMatcher.addURI(JobMetaData.AUTHORITY, "/JobNames/*",
JOBNAME_SINGLE_URI);
Uri, which is passed to the switch:
content://dsndata.sds2mobile.jobprovider/JobNames/test
This happens through the switch and removes the default value (which throws an IllegalArgumentException).
Am I missing something? I searched and cannot find anything that could explain the discrepancy.
source
share