commit | 449c6ceb78279b8a2eecba31e1731d4df45345bc | [log] [tgz] |
---|---|---|
author | Alan Newberger <alann@google.com> | Fri Oct 03 17:34:09 2014 -0700 |
committer | Alan Newberger <alann@google.com> | Sat Oct 04 01:02:39 2014 +0000 |
tree | 79cbaaf6672adbb4c844f64399d954fa24cf201e | |
parent | e1eb82bcd8050608ec3bda7ddcb7c0de961d93bd [diff] |
Avoid porting null keys when copying preferences into new system Testing on Fishlake shows certain preferences are of 'null' type in shared preferences. Avoid an NPE on porting a null. From testing, this can happen with focus mode, best to just skip porting the key and let the app use a default. Bug: 17829562 Change-Id: I483cb5beb160d3fb7fc8a42aa5085531e3fccb63 (cherry picked from commit d560aabf7baef81a14e78341af81994efc1d4f17)