diff --git a/res/layout/preference_progress_category.xml b/res/layout/preference_progress_category.xml index 0a860af8777..ad782f24e3d 100644 --- a/res/layout/preference_progress_category.xml +++ b/res/layout/preference_progress_category.xml @@ -21,7 +21,7 @@ android:orientation="horizontal" > - + - - Pairing\u2026 Unnamed Bluetooth device - - Searching - - Touch to pair No nearby Bluetooth devices were found. diff --git a/src/com/android/settings/ProgressCategory.java b/src/com/android/settings/ProgressCategory.java index c1b25d83b2e..625aa5905a1 100644 --- a/src/com/android/settings/ProgressCategory.java +++ b/src/com/android/settings/ProgressCategory.java @@ -36,13 +36,10 @@ public class ProgressCategory extends ProgressCategoryBase { @Override public void onBindView(View view) { super.onBindView(view); - final TextView scanning = (TextView) view.findViewById(R.id.scanning_text); final View progressBar = view.findViewById(R.id.scanning_progress); - scanning.setText(mProgress ? R.string.progress_scanning : R.string.progress_tap_to_pair); boolean noDeviceFound = (getPreferenceCount() == 0 || (getPreferenceCount() == 1 && getPreference(0) == mNoDeviceFoundPreference)); - scanning.setVisibility(noDeviceFound ? View.GONE : View.VISIBLE); progressBar.setVisibility(mProgress ? View.VISIBLE : View.GONE); if (mProgress || !noDeviceFound) {