commit | 46e7560bca117bc850ce7af8e85cfbf5f95372e3 | [log] [tgz] |
---|---|---|
author | Takamasa Kuramitsu <takamasa.kuramitsu@sony.com> | Fri Apr 06 13:47:34 2018 +0900 |
committer | Felipe Leme <felipeal@google.com> | Fri Apr 06 08:20:41 2018 -0700 |
tree | 872090788d55e94988e3168068363d0c1a5e1b4c | |
parent | 163eaee6dad4c77bde463d3bfb5d13a7586cc538 [diff] |
Exclude non-permission entries from getAllPermissions() ScopedAccessLocalPreferences#getAllPermissions() could return null entries if there's rootViewMode entry in the preference file - com.android.documentsui_preferences.xml. This CL excludes the non-permission entries from the result of getAllPermissions(). Test: Manual Bug: 77658075 Change-Id: Ife059da4956f76bd1af28b8dff9630470c3ba353 (cherry picked from commit a30ab91bd2f8a2ec121deb62b5ac18d810371a6c)