commit | c11bd1b0ac01d0bd3497d1e47e70e53792036e5a | [log] [tgz] |
---|---|---|
author | Andrew Lee <anwlee@google.com> | Mon Nov 24 15:42:47 2014 -0800 |
committer | Andrew Lee <anwlee@google.com> | Mon Nov 24 16:49:35 2014 -0800 |
tree | d3ad247afb0d9a245d2a1761fd2c5eb0bdfa3425 | |
parent | 0830cf646293665e2e28ae1159b7c1ac2a286396 [diff] |
Use string SharedPreferences key for update ringtone. Instead of using the preference, deal directly with the key. I changed the logic so that it will return null/silent as the ringtone uri if the key is null. Because, technically, one could call the function with a "type" expecting a valid return type, but not provide a key. Bug: 18232725 Change-Id: Ifb3d517ef8b0a5ddba388f2e0d471874f7b4b235