Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 15428cc8 authored by Ahaan Ugale's avatar Ahaan Ugale
Browse files

Fix sensitive content Toast for multiple windows in same activity

The current logic for onWindowVisible only triggers for the first window
of an Activity. Moving to relayoutWindow makes it trigger reliably.

This behavior is already tested through
ViewSensitiveContentTest#testToastIsShown since that shows a splash
screen when launching the protected Activity. The test is currently
flaky.

Bug: 323580163
Bug: 332206566
Test: manual
Test: atest CtsSensitiveContentProtectionTestCases --iterations
Change-Id: I6170125410d27c8be48c403fc91e0025762ade48
parent 912d7519
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment