diff options
Diffstat (limited to 'java/com/android/dialer/contactsfragment/FastScroller.java')
-rw-r--r-- | java/com/android/dialer/contactsfragment/FastScroller.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/com/android/dialer/contactsfragment/FastScroller.java b/java/com/android/dialer/contactsfragment/FastScroller.java index 980032cb5..0223c5f1f 100644 --- a/java/com/android/dialer/contactsfragment/FastScroller.java +++ b/java/com/android/dialer/contactsfragment/FastScroller.java @@ -48,13 +48,14 @@ public class FastScroller extends RelativeLayout { @Override protected void onFinishInflate() { super.onFinishInflate(); - container = (TextView) findViewById(R.id.fast_scroller_container); + container = findViewById(R.id.fast_scroller_container); scrollBar = findViewById(R.id.fast_scroller_scroll_bar); } void setup(ContactsAdapter adapter, LinearLayoutManager layoutManager) { this.adapter = adapter; this.layoutManager = layoutManager; + setVisibility(VISIBLE); } @Override |