diff options
author | Christian Mehlmauer <FireFart@gmail.com> | 2010-05-17 21:16:20 +0200 |
---|---|---|
committer | Christian Mehlmauer <FireFart@gmail.com> | 2010-05-17 21:16:20 +0200 |
commit | 746a95ab7145a1c7583d1f2d6004a508cd7a31dc (patch) | |
tree | 067e8da2b4c6ecdd5d4f6327ee0aa36387285490 /core/java/android/preference | |
parent | 1152df7e82f1501e72aee1641d028bd7201f6d0b (diff) | |
download | frameworks_base-746a95ab7145a1c7583d1f2d6004a508cd7a31dc.zip frameworks_base-746a95ab7145a1c7583d1f2d6004a508cd7a31dc.tar.gz frameworks_base-746a95ab7145a1c7583d1f2d6004a508cd7a31dc.tar.bz2 |
Removed Calls to deprecated APIs
Change-Id: I3f9b6a8d3c8a050156a6cc7ea0eb9de33b82f79a
Diffstat (limited to 'core/java/android/preference')
-rw-r--r-- | core/java/android/preference/DialogPreference.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/java/android/preference/DialogPreference.java b/core/java/android/preference/DialogPreference.java index cc48aeb..bbad2b6 100644 --- a/core/java/android/preference/DialogPreference.java +++ b/core/java/android/preference/DialogPreference.java @@ -33,7 +33,6 @@ import android.view.LayoutInflater; import android.view.View; import android.view.Window; import android.view.WindowManager; -import android.view.inputmethod.InputMethodManager; import android.widget.TextView; /** @@ -275,7 +274,7 @@ public abstract class DialogPreference extends Preference implements protected void showDialog(Bundle state) { Context context = getContext(); - mWhichButtonClicked = DialogInterface.BUTTON2; + mWhichButtonClicked = DialogInterface.BUTTON_NEGATIVE; mBuilder = new AlertDialog.Builder(context) .setTitle(mDialogTitle) |