Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da204de8 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Make HostSubGen less verbose

Fix: 430082895

Flag: TEST_ONLY
Test: presubmit
Change-Id: I51e8e3fe82da4d44594bcd6befa881d62eb43c49
parent 7effddaa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ class SanitizationFilter(
    override fun getRedirectionClass(className: String): String? {
        return super.getRedirectionClass(className)?.also { clazz ->
            if (classes.findClass(clazz) == null) {
                log.w("Redirection class $clazz not found. Class must be available at runtime.")
                log.v("Redirection class $clazz not found. Class must be available at runtime.")
            } else if (outermostFilter.getPolicyForClass(clazz).policy != FilterPolicy.KeepClass) {
                // If the class exists, it must have a KeepClass policy.
                errors.onErrorFound("Redirection class $clazz must have @KeepWholeClass.")