title: notifyChange with changed uri from contentProvider.update()
body: <p>i have implemented <code>update()</code> of <code>ContentProvider</code> and notifying to observer using <code>getContext().getContentResolver().notifyChange(uri, null);</code></p>
  
  <p>my obvious need is that whenever just one row is effected i want to notify with row specific uri, but could not find way to do so. 
  an additional query like <code>"select id where selectionArgs"</code> can do this but this will be a foolish way. </p>
  
  <p><code>onchange(boolean, uri)</code> get complete uri instead of specific row, easy to understand that this is because <code>ContentProvider.update()</code> is sending the same. </p>
  
  <pre><code>some code for more clarity
  </code></pre>
  
  <p>update()  method of MyContentProvider</p>
  
  <pre><code> @Override
      public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
  
          Log.d("TAG", "update " + uri.getPath());
  
          int count = 0;
          switch (uriMatcher.match(uri)) {
          case BOOKS:
              count = booksDB.update(DATABASE_TABLE, values, selection, selectionArgs);
              break;
          case BOOK_ID:
              count = booksDB.update(DATABASE_TABLE, values,
                      _ID + " = " + uri.getPathSegments().get(1)
                              + (!TextUtils.isEmpty(selection) ? " AND (" + selection + ')' : ""),
                      selectionArgs);
              break;
          default:
              throw new IllegalArgumentException("Unknown URI " + uri);
          }
  
          if (count == 1) {
              Cursor c = query(uri, new String[] { _ID }, selection, selectionArgs, null);
              long rowId = Long.valueOf(c.getString(c.getColumnIndex(_ID)));
              uri = ContentUris.withAppendedId(CONTENT_URI, rowId);
          }
          getContext().getContentResolver().notifyChange(uri, null);
          return count;
  
      }
  </code></pre>
  
  <p><strong>i will update table some how like</strong> </p>
  
  <pre><code>getContentResolver().update(MyContentProvider.CONTENT_URI, values1, MyContentProvider._ID+"&lt;?", new String[]{"3"}));
  </code></pre>
  
  <p>frankly saying, code has barely related to question, just trying to give you some context</p>