Swap buttons in call forward settings dialog
Swap the "Turn on" and "Cancel" buttons around so that the positive
button is in the right place.
Change-Id: I2ff033f497b54f65570e0a09f3a5604a53330f95
Fixes: 64623320
Test: visual inspection
diff --git a/src/com/android/phone/EditPhoneNumberPreference.java b/src/com/android/phone/EditPhoneNumberPreference.java
index 78e8439..98d9ce9 100644
--- a/src/com/android/phone/EditPhoneNumberPreference.java
+++ b/src/com/android/phone/EditPhoneNumberPreference.java
@@ -258,8 +258,8 @@
builder.setPositiveButton(mChangeNumberText, this);
builder.setNeutralButton(mDisableText, this);
} else {
- builder.setPositiveButton(null, null);
- builder.setNeutralButton(mEnableText, this);
+ builder.setPositiveButton(mEnableText, this);
+ builder.setNeutralButton(null, null);
}
}
// set the call icon on the title.