commit | 5afbc6276daf9c4b1730b62a5fd5a85bcb7eac20 | [log] [tgz] |
---|---|---|
author | Paul Crowley <paulcrowley@google.com> | Mon Nov 27 09:42:17 2017 -0800 |
committer | Paul Crowley <paulcrowley@google.com> | Mon Dec 04 14:42:10 2017 -0800 |
tree | 33e9b55ce5c3e98cd21e5a37831d444cfa35ee76 | |
parent | 130a994f4f5fee84f1321409518893186acb71b8 [diff] |
No double encryption on FDE+FBE SD cards On FBE systems, adoptable storage uses both file-based encryption (for per-user protection) and full disk encryption (for metadata protection). For performance/battery reasons, we don't want to encrypt the same data twice; to that end, ensure that the allow_encrypt_override flag is sent to dm_crypt. Bug: 25861755 Test: see ag/3247969 Change-Id: Ib0c5891ab2d2ee9007e27a50254d29fc867d7bc5