commit | 64f20dd1589c10a3da1544344e033ea0c95962ad | [log] [tgz] |
---|---|---|
author | Philip P. Moltmann <moltmann@google.com> | Tue Jun 25 08:41:51 2019 -0700 |
committer | Philip P. Moltmann <moltmann@google.com> | Tue Jun 25 09:59:40 2019 -0700 |
tree | 2202204946b1bc8a0da29fdafa9690cc2ed30165 | |
parent | 927d44d9eb8a9c8b6c01c19d9580857d3a57c07e [diff] |
Set LEGACY_STORAGE only from READ_EXTERNAL_STORAGE Not from WRITE_EXTERNAL_STORAGE. Otherwise it is not clear what happens if one of the permissions is white-listed and one not. This can lead to a loop where we try to set LEGACY_STORAGE to two different values. Fixes: 135763654, 135742960 Bug: 135933014 Test: atest RestrictedPermissionsTest Change-Id: I35883f12525360fd7f760750505a27644342955c