summaryrefslogtreecommitdiffstats
path: root/policy/src
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2014-06-03 17:16:43 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-06-03 17:16:43 +0000
commit19212f4a862a2b3fd7699b7bd5981e62de48e640 (patch)
tree1dc7b884b979e07486ff69e261211529e17f18a0 /policy/src
parentf573765bf1a70d3af7d6149fb01dbe0f74f95834 (diff)
parentad3c4a136e862cc838dbd3b9f24c8cecdfc4b934 (diff)
downloadframeworks_base-19212f4a862a2b3fd7699b7bd5981e62de48e640.zip
frameworks_base-19212f4a862a2b3fd7699b7bd5981e62de48e640.tar.gz
frameworks_base-19212f4a862a2b3fd7699b7bd5981e62de48e640.tar.bz2
am 23416c06: Fix build
* commit '23416c06c4cb2dba437c4ef749857e085bc76d18': Fix build
Diffstat (limited to 'policy/src')
-rw-r--r--policy/src/com/android/internal/policy/impl/PhoneWindow.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindow.java b/policy/src/com/android/internal/policy/impl/PhoneWindow.java
index 5dc9e58..2eee853 100644
--- a/policy/src/com/android/internal/policy/impl/PhoneWindow.java
+++ b/policy/src/com/android/internal/policy/impl/PhoneWindow.java
@@ -3419,9 +3419,8 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
private Drawable loadImageURI(Uri uri) {
try {
- final Context context = getContext();
- return Drawable.createFromStreamThemed(
- context.getContentResolver().openInputStream(uri), null, context.getTheme());
+ return Drawable.createFromStream(
+ getContext().getContentResolver().openInputStream(uri), null);
} catch (Exception e) {
Log.w(TAG, "Unable to open content: " + uri);
}