From da66d6eb7056ccc8c4b4026a07686e7b5d9062eb Mon Sep 17 00:00:00 2001 From: Fabio Carballo Date: Fri, 21 Jun 2024 03:19:32 -0700 Subject: [PATCH] Whitelist another Activity so that we can inspect the content Summary: Enabling us to debug GenAI bottom sheet for WWAI. Reviewed By: AlexBalo Differential Revision: D58817360 fbshipit-source-id: a42f0f77b2202888310569783eef415828ca2556 --- .../plugins/uidebugger/descriptors/ApplicationRefDescriptor.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/android/src/main/java/com/facebook/flipper/plugins/uidebugger/descriptors/ApplicationRefDescriptor.kt b/android/src/main/java/com/facebook/flipper/plugins/uidebugger/descriptors/ApplicationRefDescriptor.kt index ededb39477e..b250b20a17b 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/uidebugger/descriptors/ApplicationRefDescriptor.kt +++ b/android/src/main/java/com/facebook/flipper/plugins/uidebugger/descriptors/ApplicationRefDescriptor.kt @@ -62,7 +62,8 @@ object ApplicationRefDescriptor : ChainedDescriptor() { val className = rootViewOrActivity.javaClass.name if (className.contains("mediagallery.ui.MediaGalleryActivity") || - className.contains("ImagineCreationActivity")) { + className.contains("ImagineCreationActivity") || + className.contains("WriteWithAIActivity")) { // this activity doesn't contain the content and its actually in the decor view behind it, so // skip it :/ return false