am e72f3d53: Fixing wronk rowID check.

* commit 'e72f3d53f8c35b94aece6fafa6fd12cce9d09fe5':
  Fixing wronk rowID check.
This commit is contained in:
Sunny Goyal authored and Android Git Automerger committed 2015-03-02 22:43:52 +00:00
commit f30e99b2dc
1 file changed
+1 -1
@@ -151,7 +151,7 @@ public class LauncherProvider extends ContentProvider {
SQLiteDatabase db = mOpenHelper.getWritableDatabase();
addModifiedTime(initialValues);
final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues);
if (rowId <= 0) return null;
if (rowId < 0) return null;
uri = ContentUris.withAppendedId(uri, rowId);
sendNotify(uri);