commit | a0ec24cb624e2c6e22b696f0b38fbb442dbdb076 | [log] [tgz] |
---|---|---|
author | Todd Kennedy <toddke@google.com> | Wed Apr 04 15:00:00 2018 -0700 |
committer | Todd Kennedy <toddke@google.com> | Wed Apr 04 15:00:00 2018 -0700 |
tree | 16a68a316f8d47ad81a4fafbf8ca2fb5bc86b3f5 | |
parent | 3275d9a004a45f4a2a9e30bbe7c662955ebdb9ff [diff] |
Completely fill in permission info During the refactor, an optimization was made to generatePermissionInfo() to avoid creating duplicate PermissionInfo objects. However, the logic was flawed and if a permission's protection level was ever adjusted, we wouldn't return a properly filled out PermissionInfo object. Change-Id: I70b3eda199008807182f75a413651d7cb4f4b7fd Fixes: 74556457 Test: Manual; run app com.kakao.taxi and it doesn't crash