make keyguard related code being independent of framework/base

N/A

Change-Id: I07024724ce11839a141f50e74f03017fd98f18dc
Signed-off-by: mochangming <mochangming@xiaomi.com>
fix IllegalAccessError

N/A

Change-Id: I15b063a61a9eac5f726a2fb073e5a244989b6e7a
Signed-off-by: mochangming <mochangming@xiaomi.com>