Removing more code with API 21 dependencies.

Change-Id: I16c914334ce0694b84626269ae4bb5e83082c739
diff --git a/src/com/android/launcher3/LauncherStateTransitionAnimation.java b/src/com/android/launcher3/LauncherStateTransitionAnimation.java
index 4a0aaf3..eacf341 100644
--- a/src/com/android/launcher3/LauncherStateTransitionAnimation.java
+++ b/src/com/android/launcher3/LauncherStateTransitionAnimation.java
@@ -186,7 +186,8 @@
                     View allAppsButtonView) {
                 // Hide the real page background, and swap in the fake one
                 ((AppsCustomizePagedView) contentView).setPageBackgroundsVisible(false);
-                revealView.setBackground(mLauncher.getDrawable(R.drawable.quantum_panel_dark));
+                revealView.setBackground(
+                        mLauncher.getResources().getDrawable(R.drawable.quantum_panel_dark));
             }
             @Override
             public void onAnimationComplete(View revealView, View contentView, View allAppsButtonView) {
@@ -508,7 +509,8 @@
                 // Hide the real page background, and swap in the fake one
                 pagedView.stopScrolling();
                 pagedView.setPageBackgroundsVisible(false);
-                revealView.setBackground(mLauncher.getDrawable(R.drawable.quantum_panel_dark));
+                revealView.setBackground(
+                        mLauncher.getResources().getDrawable(R.drawable.quantum_panel_dark));
 
                 // Hide the side pages of the Widget tray to avoid some ugly edge cases
                 final View currentPage = pagedView.getPageAt(pagedView.getNextPage());