diff --git a/uni_modules/uts-nativepage/utssdk/app-android/index.uts b/uni_modules/uts-nativepage/utssdk/app-android/index.uts index 59faeb93d6c9f3b7bb64b8db96bdaf9b1bc6e022..e9ffd1967464774d417b71ddb3bb47c25f158422 100644 --- a/uni_modules/uts-nativepage/utssdk/app-android/index.uts +++ b/uni_modules/uts-nativepage/utssdk/app-android/index.uts @@ -27,6 +27,8 @@ import LayoutInflater from 'android.view.LayoutInflater'; import LinearLayoutManager from 'androidx.recyclerview.widget.LinearLayoutManager'; export {DoAppWidget} from "./DoAppWidget.uts" import Application from 'android.app.Application'; +import Log from 'android.util.Log'; + import File from 'java.io.File'; import Uri from 'android.net.Uri'; export * from './CustomAccessibilityService.uts' @@ -34,10 +36,10 @@ export * from './CustomAccessibilityService.uts' export class AppHookProxy implements UTSAndroidHookProxy { override onCreate(application: Application) { //当前应用是否 取得用户同意隐私协议 - android.util.Log.d("AppHookProxy", "AppHookProxy--onCreate---") + Log.d("AppHookProxy", "AppHookProxy--onCreate---") if(UTSAndroid.isPrivacyAgree()) { //onCreate 初始化三方SDK - android.util.Log.d("AppHookProxy", "AppHookProxy--onCreate---isPrivacyAgree") + Log.d("AppHookProxy", "AppHookProxy--onCreate---isPrivacyAgree") } } }