|
Instead, there might be a way to make the default GateKeeper
implementation fall back on its internal software implementation
on which the goldfish implementation is based as it has the
following code:
hw_device = IGatekeeper::getService();
if (hw_device == nullptr) {
ALOGW("falling back to software GateKeeper");
soft_device.reset(new SoftGateKeeperDevice());
}
The implementation has been imported from the lineage-16.0 branch of
the https://github.com/LineageOS/android_device_generic_goldfish
repository at the following commit:
b05b939 Snap for 5130385 from eabd93d25de5a95d6544822d62af6744176fd5e6 to pi-qpr2-release
Only the module name and device name have been changed by:
* using sed 's#goldfish#i9305#g' -i gatekeeper/*
* using sed 's#gatekeeper.ranchu#gatekeeper.default.so#g' -i gatekeeper/Android.mk
* correcting gatekeeper module name
* changing gatekeeper_module.name and LOG_TAG from goldfish to I9305
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|