fix bug
This commit is contained in:
@@ -28,13 +28,13 @@ class VoiceForbiddenWhenGuide {
|
||||
|
||||
@Before("authorizeTrackPoint()")
|
||||
fun trackVoiceWhenAuthorize(joinPoint: ProceedingJoinPoint) {
|
||||
Logger.d(TAG, "trackVoiceWhenAuthorize")
|
||||
val msg = joinPoint.args[0] as String
|
||||
if (SharedPreferenceUtil.hasGuide()) {
|
||||
Logger.d(TAG, "proceed,no interception")
|
||||
joinPoint.proceed()
|
||||
} else {
|
||||
return
|
||||
}
|
||||
// Logger.d(TAG, "trackVoiceWhenAuthorize")
|
||||
// val msg = joinPoint.args[0] as String
|
||||
// if (SharedPreferenceUtil.hasGuide()) {
|
||||
// Logger.d(TAG, "proceed,no interception")
|
||||
// joinPoint.proceed()
|
||||
// } else {
|
||||
// return
|
||||
// }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user