Skip to content
Commit 46e7560b authored by Takamasa Kuramitsu's avatar Takamasa Kuramitsu Committed by Felipe Leme
Browse files

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)
parent 163eaee6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment