Merge "Fix the problem that the ToggleSubscriptionDialogActivity appears twice when switch changed." into sc-dev am: 09134b237c
am: 0d75503084
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15093552 Change-Id: Ia8d9f1395c0289261db1c1b8716205cd07062183
This commit is contained in:
@@ -59,8 +59,8 @@ public class SettingsMainSwitchPreferenceTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void updateStatus_isRestricted_restrictIconShouldDisplay() {
|
||||
mPreference.updateStatus(true);
|
||||
public void onBindViewHolder_isRestricted_restrictIconShouldDisplay() {
|
||||
mPreference.onBindViewHolder(mHolder);
|
||||
|
||||
final SettingsMainSwitchBar switchBar = mPreference.getSwitchBar();
|
||||
final ImageView restrictedIcon = switchBar.findViewById(
|
||||
|
Reference in New Issue
Block a user