ExtensionEncryption: handle encrypted external sd while formatting 11/149611/4
authorLukasz Pawelczyk <l.pawelczyk@samsung.com>
Tue, 12 Sep 2017 12:13:55 +0000 (14:13 +0200)
committerLukasz Pawelczyk <l.pawelczyk@samsung.com>
Fri, 15 Sep 2017 13:52:42 +0000 (15:52 +0200)
commit395ef5fa8c3420d8f974b4c87799f89df252b113
tree2cffe65c4dcf3890243a6b053cf60654c1588e1d
parentde2b5be4579e536a77499a7efad4c2c7f90a0fad
ExtensionEncryption: handle encrypted external sd while formatting

There will be two different things mounted as /opt/media/SDCardA1
while external sd card is encrypted and mounted. Handle this case.

TODO for the findKillAndUmount() usage is still valid, this is just an
immediate workaround for the issue.

Change-Id: If0209165401e9fb88895c417b127aad2fcb75828
server/extension-encryption.cpp