title: Update doesn't work when using ContentResolver to update Contact Groups
body: <p>I have this code for update:</p>
  
  <pre><code>public Boolean update() {
    try {
     data.put(ContactsContract.Groups.SHOULD_SYNC, true);
  
     ContentResolver cr = ctx.getContentResolver();
     Uri uri = ContentUris.withAppendedId(ContactsContract.Groups.CONTENT_URI, Long.parseLong(getId()));
     int mid = cr.update(uri, data,_ID+"="+getId(), null);
  
     // notify registered observers that a row was updated
     ctx.getContentResolver().notifyChange(
       ContactsContract.Groups.CONTENT_URI, null);
  
     if (-1 == mid)
      return false;
  
     return true;
    } catch (Exception e) {
     Log.v(TAG(), e.getMessage(), e);
     return false;
    }
   }
  </code></pre>
  
  <p>I have values in <code>data</code>, I double checked, and for some reason the values are nut pushed out. I also ran a <code>cur.requery();</code> and I am having</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.WRITE_CONTACTS"&gt;&lt;/uses-permission&gt;
  </code></pre>
  
  <p><strong>EDIT 1</strong>
  One thing to mention, that I need to use:</p>
  
  <pre><code>data.put(ContactsContract.Groups.SHOULD_SYNC, 1);
  </code></pre>
  
  <p>as the <code>true</code> value there is not accepted, although that is returned when you check the ContentValues.</p>