diff options
Diffstat (limited to 'src/com/android/settings/ProgressCategory.java')
-rw-r--r-- | src/com/android/settings/ProgressCategory.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/com/android/settings/ProgressCategory.java b/src/com/android/settings/ProgressCategory.java index c1b25d8..625aa59 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) { |