release the note code of authorize
This commit is contained in:
@@ -18,14 +18,13 @@ 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 false
|
||||
return if (isDeviceOfD()) {
|
||||
Logger.d(TAG, "needAuthorize update agreement in background")
|
||||
baseController.updateAgreementVersion(tag.toAuthorizeType())
|
||||
needAuthorization(tag.toAuthorizeType())
|
||||
} else {
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
override fun invokeAuthorizeContent(tag: String) {
|
||||
|
||||
Reference in New Issue
Block a user