diff options
author | Gilles Debunne <debunne@google.com> | 2011-06-28 14:01:50 -0700 |
---|---|---|
committer | Gilles Debunne <debunne@google.com> | 2011-06-28 18:17:30 -0700 |
commit | 4346cda76c6faa69d7341eb5e4e5bf21c2210e7f (patch) | |
tree | 4bb9cfb79cfd0128c12cc9c69ca5a168f5aac9db /src/com/android/settings/ProgressCategory.java | |
parent | d1a22ec0a29573903dae347f4dcf5af711c414eb (diff) | |
download | packages_apps_settings-4346cda76c6faa69d7341eb5e4e5bf21c2210e7f.zip packages_apps_settings-4346cda76c6faa69d7341eb5e4e5bf21c2210e7f.tar.gz packages_apps_settings-4346cda76c6faa69d7341eb5e4e5bf21c2210e7f.tar.bz2 |
Double list in Bluetooth Settings
Paired devices are listed first (from cache), followed by unpaired ones.
A scan is only started on user request or when there is no paired device
(should it be when there is no paired *connected* device?).
Wrench icon only displayed for paired devices.
Wrench click listener no longer uses mDeviceSettings which is unreliable
with ListView view recycling.
Fixed blinking ProgressCategory when the category was first in the list.
Change-Id: Ie749883426c12bd354da64733bd04b00304bc1f5
Diffstat (limited to 'src/com/android/settings/ProgressCategory.java')
-rw-r--r-- | src/com/android/settings/ProgressCategory.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/com/android/settings/ProgressCategory.java b/src/com/android/settings/ProgressCategory.java index c5b68b6..bedcc98 100644 --- a/src/com/android/settings/ProgressCategory.java +++ b/src/com/android/settings/ProgressCategory.java @@ -23,7 +23,6 @@ import android.view.View; public class ProgressCategory extends ProgressCategoryBase { private boolean mProgress = false; - private View oldView = null; public ProgressCategory(Context context, AttributeSet attrs) { super(context, attrs); @@ -39,13 +38,6 @@ public class ProgressCategory extends ProgressCategoryBase { final int visibility = mProgress ? View.VISIBLE : View.INVISIBLE; textView.setVisibility(visibility); progressBar.setVisibility(visibility); - - if (oldView != null) { - oldView.findViewById(R.id.scanning_progress).setVisibility(View.GONE); - oldView.findViewById(R.id.scanning_text).setVisibility(View.GONE); - oldView.setVisibility(View.GONE); - } - oldView = view; } @Override |