From ae0dcabf435532a062f956b4f7f2031ab98770c7 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Wed, 3 Jun 2020 03:11:10 -0700 Subject: [PATCH] Fix typo in sepolicy.cpp --- native/jni/magiskpolicy/sepolicy.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/native/jni/magiskpolicy/sepolicy.cpp b/native/jni/magiskpolicy/sepolicy.cpp index 370fe71f4..352ac34fa 100644 --- a/native/jni/magiskpolicy/sepolicy.cpp +++ b/native/jni/magiskpolicy/sepolicy.cpp @@ -657,11 +657,11 @@ bool sepolicy::type_member(const char *s, const char *t, const char *c, const ch bool sepolicy::type_transition(const char *s, const char *t, const char *c, const char *d, const char *o) { if (o) { - dprint(__FUNCTION__, s, t, c, d); - return impl->add_type_rule(s, t, c, d, AVTAB_TRANSITION); - } else { dprint(__FUNCTION__, s, t, c, d, o); return impl->add_filename_trans(s, t, c, d, o); + } else { + dprint(__FUNCTION__, s, t, c, d); + return impl->add_type_rule(s, t, c, d, AVTAB_TRANSITION); } }