Revert "bpfloader: Android V requires kernel 4.19+"
This reverts commit 6002cbedb1
.
Reason for revert: culprit for b/291299507 verified with go/abtd:
https://android-build.googleplex.com/builds/abtd/run/L80200000961962770
Change-Id: I6de87b59ad1d90fd7449ea78a8beafe48ac8d738
This commit is contained in:
parent
6002cbedb1
commit
2733d97683
1 changed files with 0 additions and 5 deletions
|
@ -251,11 +251,6 @@ int main(int argc, char** argv) {
|
||||||
(void)argc;
|
(void)argc;
|
||||||
android::base::InitLogging(argv, &android::base::KernelLogger);
|
android::base::InitLogging(argv, &android::base::KernelLogger);
|
||||||
|
|
||||||
if (!android::bpf::isAtLeastKernelVersion(4, 19, 0)) {
|
|
||||||
ALOGE("Android V requires kernel 4.19.");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Ensure we can determine the Android build type.
|
// Ensure we can determine the Android build type.
|
||||||
if (!android::bpf::isEng() && !android::bpf::isUser() && !android::bpf::isUserdebug()) {
|
if (!android::bpf::isEng() && !android::bpf::isUser() && !android::bpf::isUserdebug()) {
|
||||||
ALOGE("Failed to determine the build type: got %s, want 'eng', 'user', or 'userdebug'",
|
ALOGE("Failed to determine the build type: got %s, want 'eng', 'user', or 'userdebug'",
|
||||||
|
|
Loading…
Reference in a new issue