xiaomi: Drop megvii stubs
They do not work properly on all devices (such as breaking face detection). Since we already ship face unlock and aren't bound by the Lineage Charter, drop them. Change-Id: If46ca4ed656ca87a5ff9f9d917d64481aacf7507
This commit is contained in:
parent
40728c3a73
commit
76ed4f4cee
@ -1,23 +0,0 @@
|
||||
//
|
||||
// Copyright (C) 2022 The LineageOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
cc_defaults {
|
||||
name: "libMegviiFacepp_defaults",
|
||||
vendor: true,
|
||||
srcs: [
|
||||
"megvii.c",
|
||||
],
|
||||
}
|
||||
|
||||
cc_library_shared {
|
||||
name: "libMegviiFacepp-0.5.2",
|
||||
defaults: ["libMegviiFacepp_defaults"],
|
||||
}
|
||||
|
||||
cc_library_shared {
|
||||
name: "libmegface",
|
||||
vendor: true,
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2022 The LineageOS Project
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
static int stub_fail() {
|
||||
return -1;
|
||||
}
|
||||
|
||||
static char *stub_fail_str() {
|
||||
return "stub";
|
||||
}
|
||||
|
||||
void *mg_facepp[] = {
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail_str,
|
||||
&stub_fail_str,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
&stub_fail,
|
||||
};
|
Loading…
Reference in New Issue
Block a user