0

当尝试使用 TextInputLayout 启动 Activity 时,它会抛出 SecurityException。
我检查我是否删除了所有 TextInputLayout 它工作得很好。
我到处寻找有关 AutoFill 框架的提示,但我找不到任何解决方案。
错误日志:

java.lang.SecurityException: Permission Denial: null asks to run as user 3 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL or android.permission.INTERACT_ACROSS_USERS
    at android.os.Parcel.readException(Parcel.java:2005)
    at android.os.Parcel.readException(Parcel.java:1951)
    at android.view.autofill.IAutoFillManager$Stub$Proxy.addClient(IAutoFillManager.java:358)
    at android.view.autofill.AutofillManager.ensureServiceClientAddedIfNeededLocked(AutofillManager.java:1113)
    at android.view.autofill.AutofillManager.notifyViewExited(AutofillManager.java:633)
    at android.view.View.notifyEnterOrExitForAutoFillIfNeeded(View.java:6994)
    at android.view.View.dispatchAttachedToWindow(View.java:17522)
    at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3344)
    at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3344)
    at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3344)
    at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3344)
    at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3344)
    at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3344)
    at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3344)
    at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3344)
    at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3344)
    at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3344)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1672)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1396)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6773)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:974)
    at android.view.Choreographer.doCallbacks(Choreographer.java:786)
    at android.view.Choreographer.doFrame(Choreographer.java:721)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:960)
    at android.os.Handler.handleCallback(Handler.java:790)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:164)
    at android.app.ActivityThread.main(ActivityThread.java:6501)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
4

0 回答 0