From 3079e587bd519ba78cb34b1bd0b869e2879458ab Mon Sep 17 00:00:00 2001 From: Sangkyu Lee Date: Fri, 15 Feb 2013 21:11:18 +0900 Subject: Fix typo in AlertController.java If whichButtons is BIT_BUTTON_NEGATIVE, the negative button should be centered. Change-Id: Ia34daf8c80704204a4f1cf71c642114005559d5d Signed-off-by: Sangkyu Lee --- core/java/com/android/internal/app/AlertController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/java/com') diff --git a/core/java/com/android/internal/app/AlertController.java b/core/java/com/android/internal/app/AlertController.java index 43a02cf..fe532b0 100644 --- a/core/java/com/android/internal/app/AlertController.java +++ b/core/java/com/android/internal/app/AlertController.java @@ -572,7 +572,7 @@ public class AlertController { if (whichButtons == BIT_BUTTON_POSITIVE) { centerButton(mButtonPositive); } else if (whichButtons == BIT_BUTTON_NEGATIVE) { - centerButton(mButtonNeutral); + centerButton(mButtonNegative); } else if (whichButtons == BIT_BUTTON_NEUTRAL) { centerButton(mButtonNeutral); } -- cgit v1.1