Revert "Set the log callback earlier for showing system property set denials"
This reverts commit 8c224faa24039853028c3d9c0e1eadc5ef7bd935.
Reason for revert: 235312897
Change-Id: I80684c80bb6f97853449d429bbf948c07d4cb651
diff --git a/init/init.cpp b/init/init.cpp
index 3882513..a7325ca 100644
--- a/init/init.cpp
+++ b/init/init.cpp
@@ -784,7 +784,6 @@
UmountDebugRamdisk();
}
- SelinuxSetupKernelLogging();
PropertyInit();
// Umount second stage resources after property service has read the .prop files.
@@ -799,6 +798,7 @@
MountExtraFilesystems();
// Now set up SELinux for second stage.
+ SelinuxSetupKernelLogging();
SelabelInitialize();
SelinuxRestoreContext();