@@ -129,9 +129,6 @@ class PointerChoreographerTest : public testing::Test {
129129 mInjectedInitialWindowInfos };
130130
131131 void SetUp () override {
132- // flag overrides
133- input_flags::hide_pointer_indicators_for_secure_windows (true );
134-
135132 ON_CALL (mMockPolicy , createPointerController).WillByDefault ([this ](ControllerType type) {
136133 std::shared_ptr<FakePointerController> pc = std::make_shared<FakePointerController>();
137134 EXPECT_FALSE (pc->isPointerShown ());
@@ -2109,10 +2106,7 @@ TEST_P(SkipPointerScreenshotForPrivacySensitiveDisplaysTestFixture,
21092106 pc->assertSkipScreenshotFlagNotChanged ();
21102107}
21112108
2112- TEST_F_WITH_FLAGS (
2113- PointerChoreographerTest, HidesPointerScreenshotForExistingPrivacySensitiveWindows,
2114- REQUIRES_FLAGS_ENABLED (ACONFIG_FLAG(com::android::input::flags,
2115- hide_pointer_indicators_for_secure_windows))) {
2109+ TEST_F (PointerChoreographerTest, HidesPointerScreenshotForExistingPrivacySensitiveWindows) {
21162110 mChoreographer .setDisplayViewports (createViewports ({DISPLAY_ID}));
21172111
21182112 // Add a first mouse device
@@ -3169,11 +3163,8 @@ TEST_F(PointerChoreographerDisplayTopologyDefaultMouseDisplayTests,
31693163
31703164class PointerChoreographerWindowInfoListenerTest : public testing ::Test {};
31713165
3172- TEST_F_WITH_FLAGS (
3173- PointerChoreographerWindowInfoListenerTest,
3174- doesNotCrashIfListenerCalledAfterPointerChoreographerDestroyed,
3175- REQUIRES_FLAGS_ENABLED (ACONFIG_FLAG(com::android::input::flags,
3176- hide_pointer_indicators_for_secure_windows))) {
3166+ TEST_F (PointerChoreographerWindowInfoListenerTest,
3167+ doesNotCrashIfListenerCalledAfterPointerChoreographerDestroyed) {
31773168 sp<android::gui::WindowInfosListener> registeredListener;
31783169 sp<android::gui::WindowInfosListener> localListenerCopy;
31793170 {
0 commit comments