Deactivate touch target for splitscreen button

Remove ripple after touching the splitscreen button
(with id of android:id="@+id/enter_split" defined in pip_menu.xml)
by setting the ImageButton setEnabled to true in PipMenuView.java

Test: atest SystemUITests
Test: manually, reproduced steps in the bug listed
Bug: 239613989
Change-Id: I105966feb22a0ccc5f11b59848c81f9ba682c3eb
This commit is contained in:
Ikram Gabiyev
2022-09-04 08:14:28 +00:00
parent fcc50ef1a4
commit 041c9b9027

View File

@@ -207,6 +207,9 @@ public class PipMenuView extends FrameLayout {
}
});
// this disables the ripples
mEnterSplitButton.setEnabled(false);
findViewById(R.id.resize_handle).setAlpha(0);
mActionsGroup = findViewById(R.id.actions_group);