also override 64b keymaster3device

This commit is contained in:
Pierre-Hugues Husson 2019-09-12 20:57:07 +02:00
parent 27df9cf112
commit 0fff673bd3

View File

@ -31,7 +31,7 @@ fixSPL() {
/system/lib64/vndk/libsoftkeymasterdevice.so /system/lib/vndk/libsoftkeymasterdevice.so \
/system/lib/vndk-26/libsoftkeymasterdevice.so \
/system/lib/vndk-27/libsoftkeymasterdevice.so /system/lib64/vndk-27/libsoftkeymasterdevice.so \
/vendor/lib/libkeymaster3device.so ; do
/vendor/lib/libkeymaster3device.so /vendor/lib64/libkeymaster3device.so ; do
[ ! -f "$f" ] && continue
# shellcheck disable=SC2010
ctxt="$(ls -lZ "$f" | grep -oE 'u:object_r:[^:]*:s0')"