summaryrefslogtreecommitdiff
path: root/packages/EasterEgg
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2017-04-05 10:00:01 -0400
committerAlan Viverette <alanv@google.com>2017-04-14 11:15:50 -0400
commit51efddbd3bb304de2dd47fa8cd1114ac555958bb (patch)
tree0c9fe7e2f2263b7757ec8e96084d1f2701119c47 /packages/EasterEgg
parent5879aa4b03f17753eca3419a13db0ecbf2075e62 (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 'packages/EasterEgg')
-rw-r--r--packages/EasterEgg/src/com/android/egg/neko/NekoLand.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/EasterEgg/src/com/android/egg/neko/NekoLand.java b/packages/EasterEgg/src/com/android/egg/neko/NekoLand.java
index f59f0d97d24b..689e38142988 100644
--- a/packages/EasterEgg/src/com/android/egg/neko/NekoLand.java
+++ b/packages/EasterEgg/src/com/android/egg/neko/NekoLand.java
@@ -82,7 +82,7 @@ public class NekoLand extends Activity implements PrefsListener {
mPrefs = new PrefState(this);
mPrefs.setListener(this);
- final RecyclerView recyclerView = (RecyclerView) findViewById(R.id.holder);
+ final RecyclerView recyclerView = findViewById(R.id.holder);
mAdapter = new CatAdapter();
recyclerView.setAdapter(mAdapter);
recyclerView.setLayoutManager(new GridLayoutManager(this, 3));