commit | 51efddbd3bb304de2dd47fa8cd1114ac555958bb | [log] [tgz] |
---|---|---|
author | Alan Viverette <alanv@google.com> | Wed Apr 05 10:00:01 2017 -0400 |
committer | Alan Viverette <alanv@google.com> | Fri Apr 14 11:15:50 2017 -0400 |
tree | 0c9fe7e2f2263b7757ec8e96084d1f2701119c47 | |
parent | 5879aa4b03f17753eca3419a13db0ecbf2075e62 [diff] [blame] |
Remove unnecessary casts on calls to findViewById Just frameworks/ this time. More paths to come. Bug: 24137209 Test: make -j32 Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSDetailItems.java b/packages/SystemUI/src/com/android/systemui/qs/QSDetailItems.java index efc0668..f91aa9a 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/QSDetailItems.java +++ b/packages/SystemUI/src/com/android/systemui/qs/QSDetailItems.java
@@ -76,7 +76,7 @@ @Override protected void onFinishInflate() { super.onFinishInflate(); - mItemList = (AutoSizingList) findViewById(android.R.id.list); + mItemList = findViewById(android.R.id.list); mItemList.setVisibility(GONE); mItemList.setAdapter(mAdapter); mEmpty = findViewById(android.R.id.empty);