Merge "docs: Fixed syntax error in "Content URI patterns" code sample" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f2017e60ac
@@ -460,7 +460,7 @@ public class ExampleProvider extends ContentProvider {
|
|||||||
* present. Get the last path segment from the URI; this is the _ID value.
|
* present. Get the last path segment from the URI; this is the _ID value.
|
||||||
* Then, append the value to the WHERE clause for the query
|
* Then, append the value to the WHERE clause for the query
|
||||||
*/
|
*/
|
||||||
selection = selection + "_ID = " uri.getLastPathSegment();
|
selection = selection + "_ID = " + uri.getLastPathSegment();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user