diff options
author | Alan Viverette <alanv@google.com> | 2017-04-05 10:00:01 -0400 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2017-04-14 11:15:50 -0400 |
commit | 51efddbd3bb304de2dd47fa8cd1114ac555958bb (patch) | |
tree | 0c9fe7e2f2263b7757ec8e96084d1f2701119c47 /tests/BiDiTests | |
parent | 5879aa4b03f17753eca3419a13db0ecbf2075e62 (diff) |
Remove unnecessary casts on calls to findViewById
Just frameworks/ this time. More paths to come.
Bug: 24137209
Test: make -j32
Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
Diffstat (limited to 'tests/BiDiTests')
-rw-r--r-- | tests/BiDiTests/src/com/android/bidi/BiDiTestActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/BiDiTests/src/com/android/bidi/BiDiTestActivity.java b/tests/BiDiTests/src/com/android/bidi/BiDiTestActivity.java index b88a885efa43..f85e82deb0d6 100644 --- a/tests/BiDiTests/src/com/android/bidi/BiDiTestActivity.java +++ b/tests/BiDiTests/src/com/android/bidi/BiDiTestActivity.java @@ -75,7 +75,7 @@ public class BiDiTestActivity extends Activity { setContentView(R.layout.main); - mList = (ListView) findViewById(R.id.testlist); + mList = findViewById(R.id.testlist); mList.setChoiceMode(ListView.CHOICE_MODE_SINGLE); mList.setFocusableInTouchMode(true); |