Loading core/java/android/app/assist/AssistStructure.java +5 −6 Original line number Diff line number Diff line Loading @@ -421,18 +421,17 @@ public class AssistStructure implements Parcelable { ViewNodeBuilder builder = new ViewNodeBuilder(assist, mRoot, false, 0); if ((root.getWindowFlags() & WindowManager.LayoutParams.FLAG_SECURE) != 0) { // This is a secure window, so it doesn't want a screenshot, and that // means we should also not copy out its view hierarchy. if (forAutoFill) { // NOTE: flags are currently not supported, hence 0 view.onProvideAutoFillStructure(builder, 0); } else { // This is a secure window, so it doesn't want a screenshot, and that // means we should also not copy out its view hierarchy for Assist view.onProvideStructure(builder); } builder.setAssistBlocked(true); return; } } if (forAutoFill) { // NOTE: flags are currently not supported, hence 0 view.dispatchProvideAutoFillStructure(builder, 0); Loading Loading
core/java/android/app/assist/AssistStructure.java +5 −6 Original line number Diff line number Diff line Loading @@ -421,18 +421,17 @@ public class AssistStructure implements Parcelable { ViewNodeBuilder builder = new ViewNodeBuilder(assist, mRoot, false, 0); if ((root.getWindowFlags() & WindowManager.LayoutParams.FLAG_SECURE) != 0) { // This is a secure window, so it doesn't want a screenshot, and that // means we should also not copy out its view hierarchy. if (forAutoFill) { // NOTE: flags are currently not supported, hence 0 view.onProvideAutoFillStructure(builder, 0); } else { // This is a secure window, so it doesn't want a screenshot, and that // means we should also not copy out its view hierarchy for Assist view.onProvideStructure(builder); } builder.setAssistBlocked(true); return; } } if (forAutoFill) { // NOTE: flags are currently not supported, hence 0 view.dispatchProvideAutoFillStructure(builder, 0); Loading