docs: Fixed syntax error in "Content URI patterns" code sample
Bug: 31624162 Change-Id: Id1720c3ebb6eff22384a48d8c1a4ed56abde00f4
This commit is contained in:
@@ -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