docs: Fixed syntax error in "Content URI patterns" code sample am: 0355128699

am: 94267b18e7

Change-Id: I34b94c7cd6316b61795849635d1b9d9252bb1a2e
This commit is contained in:
Kevin Hufnagle
2016-09-26 23:56:33 +00:00
committed by android-build-merger

View File

@@ -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: