Merge "docs: Fixed syntax error in "Content URI patterns" code sample am: 0355128699 am: fb61922063" into nyc-mr1-dev-plus-aosp

This commit is contained in:
Android Build Merger (Role)
2016-09-26 23:57:59 +00:00
committed by Android (Google) Code Review

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.
* Then, append the value to the WHERE clause for the query
*/
selection = selection + "_ID = " uri.getLastPathSegment();
selection = selection + "_ID = " + uri.getLastPathSegment();
break;
default: