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

Commit eddb1db0 authored by David Liu's avatar David Liu
Browse files

[Expressive] Make textview clickable in ActionButtonPreference

Bug: 396510323
Bug: 400610413
Test: presubmit + run cts -m CtsStorageHostTestCases -t android.appsecurity.cts.StorageHostTest#testFullDisk
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled

Change-Id: I7055807421449d68cf9730ef3dd125c6a5f4a1e0
parent ed62dbf6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -550,7 +550,9 @@ public class ActionButtonsPreference extends Preference implements GroupSectionD
                }
                mButton.setEnabled(mIsEnabled);
                mButton.setOnClickListener(mListener);
                mTextView.setOnClickListener(mListener);
                mActionLayout.setEnabled(mIsEnabled);
                mActionLayout.setOnClickListener(mListener);
                mActionLayout.setContentDescription(mText);
            } else {
                mButton.setText(mText);