OSDN Git Service

Try to encrypt /data/media/obb but ignore failures
authorPaul Crowley <paulcrowley@google.com>
Thu, 10 Aug 2017 22:24:52 +0000 (15:24 -0700)
committerPaul Crowley <paulcrowley@google.com>
Fri, 18 Aug 2017 21:06:04 +0000 (21:06 +0000)
commit4bebc6a04656ba1798b27d88e508b7b01c39f662
treef4f78f63252840ad87c704123ea45330e19f1761
parentcc0ba53a9f974ccb33ece1b3b85fe57b95da9cca
Try to encrypt /data/media/obb but ignore failures

Bug: 64566063
Test: We test whether it's encrypted by trying to move a file from
/data/unencrypted into it. Used this test to make sure directory was
encrypted before change. Left file in directory, rebooted with change,
tested that it was still unencrypted. Deleted all files in directory,
rebooted again, tested that unencrypted files could no longer be moved
into directory.

Change-Id: I50df4949fb495ca8996c8a54e238af56a71f5df9
ext4_utils/ext4_crypt_init_extensions.cpp