This commit is contained in:
wangcongtao
2020-04-01 19:06:55 +08:00
parent e89629a3d3
commit b32663da91
11 changed files with 47 additions and 45 deletions

View File

@@ -18,13 +18,14 @@ open abstract class MogoAuthorizeManagerImpl : IMogoAuthorizeInvoke {
private val baseController: IMogoAuthorizeController by lazy { IMogoAuthorizeController() }
override fun needAuthorize(tag: String): Boolean {
return if (isDeviceOfD()) {
Logger.d(TAG, "needAuthorize update agreement in background")
baseController.updateAgreementVersion(tag.toAuthorizeType())
needAuthorization(tag.toAuthorizeType())
} else {
false
}
// return if (isDeviceOfD()) {
// Logger.d(TAG, "needAuthorize update agreement in background")
// baseController.updateAgreementVersion(tag.toAuthorizeType())
// needAuthorization(tag.toAuthorizeType())
// } else {
// false
// }
return false
}
override fun invokeAuthorizeContent(tag: String) {