tiann / FreeReflection

A library that lets you use reflection without any restriction above Android P
MIT License
2.88k stars 533 forks source link

fix(library): print wrong value when logging hidden api policy #3

Closed simpleton closed 6 years ago

simpleton commented 6 years ago

Log中的hidden api policy打印的不对。

Test Plan: 运行Sample,日志中的hidden api policy被修改为 EnforcementPolicy::kNoChecks

hidden api policy before : 2
06-12 00:49:46.829 13394-13394/me.weishu.freereflection.app I/FreeReflect: hidden api policy after: 0