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

Bug: 31624162
Change-Id: Id1720c3ebb6eff22384a48d8c1a4ed56abde00f4
This commit is contained in:
Kevin Hufnagle
2016-09-21 19:51:32 -07:00
parent 8ba2549592
commit 0355128699

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: