title: When does Android's SharedPreferences commit() return false?
body: <p>In my app, I'm storing some data in <code>SharedPreferences</code> - it works as needed.
  Now I want to create log messages for some incorrect situations.</p>
  
  <p>I successfully handle situations where the preferences are empty or they throw some exception while loading.
  The only error that can show up while saving values is <code>commit()</code> returning <code>false</code> - I don't know why this could happen and what I should do in that case.</p>
  
  <p>So my question is:
  When does the <code>commit()</code> method return <code>false</code>?
  And what should I do in that case?
  Could a possible solution be to call <code>commit()</code> again and again (something like <code>while (!editor.commit()) {}</code>)?</p>