Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0525c09b authored by kmccormick's avatar kmccormick Committed by Android Git Automerger
Browse files

am 138ad7ba: am a80a7164: am 859a4301: am 4e259b2c: am 0e6691be: Merge "Doc...

am 138ad7ba: am a80a7164: am 859a4301: am 4e259b2c: am 0e6691be: Merge "Doc update: typos in code snippets." into jb-mr1.1-docs

* commit '138ad7ba':
  Doc update: typos in code snippets.
parents da58f7f1 138ad7ba
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -284,7 +284,7 @@ immune to SQL injection.</p>
// Define 'where' part of query.
String selection = FeedReaderContract.FeedEntry.COLUMN_NAME_ENTRY_ID + &quot; LIKE ?&quot;;
// Specify arguments in placeholder order.
String[] selelectionArgs = { String.valueOf(rowId) };
String[] selectionArgs = { String.valueOf(rowId) };
// Issue SQL statement.
db.delete(table_name, selection, selectionArgs);
</pre>
@@ -309,7 +309,7 @@ values.put(FeedReaderContract.FeedEntry.COLUMN_NAME_TITLE, title);

// Which row to update, based on the ID
String selection = FeedReaderContract.FeedEntry.COLUMN_NAME_ENTRY_ID + &quot; LIKE ?&quot;;
String[] selelectionArgs = { String.valueOf(rowId) };
String[] selectionArgs = { String.valueOf(rowId) };

int count = db.update(
    FeedReaderDbHelper.FeedEntry.TABLE_NAME,