Loading services/autofill/java/com/android/server/autofill/Session.java +2 −1 Original line number Diff line number Diff line Loading @@ -271,7 +271,8 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState // Sanitize structure before it's sent to service. final ComponentName componentNameFromApp = structure.getActivityComponent(); if (!mComponentName.equals(componentNameFromApp)) { if (componentNameFromApp == null || !mComponentName.getPackageName() .equals(componentNameFromApp.getPackageName())) { Slog.w(TAG, "Activity " + mComponentName + " forged different component on " + "AssistStructure: " + componentNameFromApp); structure.setActivityComponent(mComponentName); Loading Loading
services/autofill/java/com/android/server/autofill/Session.java +2 −1 Original line number Diff line number Diff line Loading @@ -271,7 +271,8 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState // Sanitize structure before it's sent to service. final ComponentName componentNameFromApp = structure.getActivityComponent(); if (!mComponentName.equals(componentNameFromApp)) { if (componentNameFromApp == null || !mComponentName.getPackageName() .equals(componentNameFromApp.getPackageName())) { Slog.w(TAG, "Activity " + mComponentName + " forged different component on " + "AssistStructure: " + componentNameFromApp); structure.setActivityComponent(mComponentName); Loading