Skip to content

Commit

Permalink
Whitelist another Activity so that we can inspect the content
Browse files Browse the repository at this point in the history
Summary: Enabling us to debug GenAI bottom sheet for WWAI.

Reviewed By: AlexBalo

Differential Revision: D58817360

fbshipit-source-id: a42f0f77b2202888310569783eef415828ca2556
  • Loading branch information
Fabio Carballo authored and facebook-github-bot committed Jun 21, 2024
1 parent 042e1f8 commit da66d6e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ object ApplicationRefDescriptor : ChainedDescriptor<ApplicationRef>() {
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
Expand Down

0 comments on commit da66d6e

Please sign in to comment.