commit | 0ed54c7feea1c4cca6ff51e56aa00d50a882ebf6 | [log] [tgz] |
---|---|---|
author | Ugo Yu <ugoyu@google.com> | Wed Jan 30 20:54:27 2019 +0800 |
committer | Ugo Yu <ugoyu@google.com> | Thu Jan 31 17:54:29 2019 +0800 |
tree | 69a24f9257ba0b32e8e07bffb2766468ecfe2c7f | |
parent | bd6b6a62849cf9036e892cd79c62dee2dd032391 [diff] |
Fix NPE when get metadata without set any * The metadata embedded database entity was set to null by the DAO implementation if all metadata are null. * Add NonNull to the publicMetadata. * Add unit test to cover this kind of situation. Bug: 123575407 Test: Manual, runtest bluetooth Change-Id: I5f2c2bd73f131e3dbd392381a10a7d1c2124e04c